diff --git a/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py b/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py index b49ac2e7bed..16e397c1acd 100644 --- a/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py +++ b/msgraph/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/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py b/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py index 6ae9377b0a1..9b36a4d1a56 100644 --- a/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py +++ b/msgraph/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/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py b/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py index 7aa298f949b..ef02ed5c461 100644 --- a/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py +++ b/msgraph/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/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py b/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py index 690d328a9c3..61b3823e78d 100644 --- a/msgraph/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py +++ b/msgraph/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/generated/admin/people/profile_card_properties/count/count_request_builder.py b/msgraph/generated/admin/people/profile_card_properties/count/count_request_builder.py index 5cd520f9f90..3781c75ca66 100644 --- a/msgraph/generated/admin/people/profile_card_properties/count/count_request_builder.py +++ b/msgraph/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/generated/admin/service_announcement/health_overviews/count/count_request_builder.py b/msgraph/generated/admin/service_announcement/health_overviews/count/count_request_builder.py index 0ce70eab37a..ff67192f115 100644 --- a/msgraph/generated/admin/service_announcement/health_overviews/count/count_request_builder.py +++ b/msgraph/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/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py b/msgraph/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py index 6c69dc740c7..4e80c910dd2 100644 --- a/msgraph/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py +++ b/msgraph/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/generated/admin/service_announcement/issues/count/count_request_builder.py b/msgraph/generated/admin/service_announcement/issues/count/count_request_builder.py index fc4f8b0624a..3508c0d7661 100644 --- a/msgraph/generated/admin/service_announcement/issues/count/count_request_builder.py +++ b/msgraph/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/generated/admin/service_announcement/messages/count/count_request_builder.py b/msgraph/generated/admin/service_announcement/messages/count/count_request_builder.py index 87d743c804d..7b3da9b6015 100644 --- a/msgraph/generated/admin/service_announcement/messages/count/count_request_builder.py +++ b/msgraph/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/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py b/msgraph/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py index 0a352cb2e25..fb89cd2f9ea 100644 --- a/msgraph/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/agreements/item/acceptances/count/count_request_builder.py b/msgraph/generated/agreements/item/acceptances/count/count_request_builder.py index bc21198f949..9bc610698ae 100644 --- a/msgraph/generated/agreements/item/acceptances/count/count_request_builder.py +++ b/msgraph/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/generated/agreements/item/file/localizations/count/count_request_builder.py b/msgraph/generated/agreements/item/file/localizations/count/count_request_builder.py index f00c3e01a53..748d3f9a1ab 100644 --- a/msgraph/generated/agreements/item/file/localizations/count/count_request_builder.py +++ b/msgraph/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/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py b/msgraph/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py index acde136a1cf..ae9bc5c3075 100644 --- a/msgraph/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/agreements/item/files/count/count_request_builder.py b/msgraph/generated/agreements/item/files/count/count_request_builder.py index 18caa2c44ce..640d4755ba9 100644 --- a/msgraph/generated/agreements/item/files/count/count_request_builder.py +++ b/msgraph/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/generated/agreements/item/files/item/versions/count/count_request_builder.py b/msgraph/generated/agreements/item/files/item/versions/count/count_request_builder.py index 39c62cb0485..6bba0085d3b 100644 --- a/msgraph/generated/agreements/item/files/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/app_catalogs/teams_apps/count/count_request_builder.py b/msgraph/generated/app_catalogs/teams_apps/count/count_request_builder.py index c98d568ee9f..eb75bfe2497 100644 --- a/msgraph/generated/app_catalogs/teams_apps/count/count_request_builder.py +++ b/msgraph/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/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py b/msgraph/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py index 96f5106ac60..d16f47a9b43 100644 --- a/msgraph/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/application_templates/count/count_request_builder.py b/msgraph/generated/application_templates/count/count_request_builder.py index 8500967e619..70e5a29167a 100644 --- a/msgraph/generated/application_templates/count/count_request_builder.py +++ b/msgraph/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/generated/application_templates/item/instantiate/instantiate_post_request_body.py b/msgraph/generated/application_templates/item/instantiate/instantiate_post_request_body.py index dd12323970b..92f1368239e 100644 --- a/msgraph/generated/application_templates/item/instantiate/instantiate_post_request_body.py +++ b/msgraph/generated/application_templates/item/instantiate/instantiate_post_request_body.py @@ -13,6 +13,8 @@ class InstantiatePostRequestBody(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The displayName property display_name: Optional[str] = None + # The serviceManagementReference property + service_management_reference: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> InstantiatePostRequestBody: @@ -32,6 +34,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ fields: Dict[str, Callable[[Any], None]] = { "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "serviceManagementReference": lambda n : setattr(self, 'service_management_reference', n.get_str_value()), } return fields @@ -44,6 +47,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_str_value("displayName", self.display_name) + writer.write_str_value("serviceManagementReference", self.service_management_reference) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/application_templates/item/instantiate/instantiate_request_builder.py b/msgraph/generated/application_templates/item/instantiate/instantiate_request_builder.py index 23cf6fdd91a..7dc9b9facd0 100644 --- a/msgraph/generated/application_templates/item/instantiate/instantiate_request_builder.py +++ b/msgraph/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/generated/applications/count/count_request_builder.py b/msgraph/generated/applications/count/count_request_builder.py index c14ea774207..e7cf76154fb 100644 --- a/msgraph/generated/applications/count/count_request_builder.py +++ b/msgraph/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/generated/applications/delta/delta_get_response.py b/msgraph/generated/applications/delta/delta_get_response.py index 1e4264638a1..4855f16bd61 100644 --- a/msgraph/generated/applications/delta/delta_get_response.py +++ b/msgraph/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/generated/applications/delta/delta_request_builder.py b/msgraph/generated/applications/delta/delta_request_builder.py index b65053ae649..566e730cd1c 100644 --- a/msgraph/generated/applications/delta/delta_request_builder.py +++ b/msgraph/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 performing a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted applications 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/application-delta?view=graph-rest-1.0 @@ -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 performing a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted applications 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 applications without performing a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted applications 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/generated/applications/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/applications/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/applications/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/applications/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/applications/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/applications/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/applications/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/applications/item/add_key/add_key_post_request_body.py b/msgraph/generated/applications/item/add_key/add_key_post_request_body.py index 31135fa4058..8e090f05906 100644 --- a/msgraph/generated/applications/item/add_key/add_key_post_request_body.py +++ b/msgraph/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/generated/applications/item/add_password/add_password_post_request_body.py b/msgraph/generated/applications/item/add_password/add_password_post_request_body.py index 3b83892ef80..17813675d07 100644 --- a/msgraph/generated/applications/item/add_password/add_password_post_request_body.py +++ b/msgraph/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/generated/applications/item/app_management_policies/count/count_request_builder.py b/msgraph/generated/applications/item/app_management_policies/count/count_request_builder.py index 7dc031782df..f26fca6e6d2 100644 --- a/msgraph/generated/applications/item/app_management_policies/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/applications/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/applications/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/applications/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/applications/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/applications/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/applications/item/extension_properties/count/count_request_builder.py b/msgraph/generated/applications/item/extension_properties/count/count_request_builder.py index 61f8ed9a04b..aca5abf6689 100644 --- a/msgraph/generated/applications/item/extension_properties/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/federated_identity_credentials/count/count_request_builder.py b/msgraph/generated/applications/item/federated_identity_credentials/count/count_request_builder.py index 99888205570..b12ebda1065 100644 --- a/msgraph/generated/applications/item/federated_identity_credentials/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/applications/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/applications/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/applications/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/applications/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/applications/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py b/msgraph/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py index ac88b0ea0c1..03c3a4a824b 100644 --- a/msgraph/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/owners/count/count_request_builder.py b/msgraph/generated/applications/item/owners/count/count_request_builder.py index fbb3b93c9a0..d28baac828f 100644 --- a/msgraph/generated/applications/item/owners/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/owners/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/applications/item/owners/graph_app_role_assignment/count/count_request_builder.py index f91c126f60e..79cebcdebe7 100644 --- a/msgraph/generated/applications/item/owners/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/applications/item/owners/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py b/msgraph/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py index 5e09ac45b71..99a897f843d 100644 --- a/msgraph/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py index 8b475527729..53c652eb5f8 100644 --- a/msgraph/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/owners/graph_user/count/count_request_builder.py b/msgraph/generated/applications/item/owners/graph_user/count/count_request_builder.py index a279c883a86..b8dddefb0a8 100644 --- a/msgraph/generated/applications/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py b/msgraph/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py index d7cf170dfdd..e4abf15eda1 100644 --- a/msgraph/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/count/count_request_builder.py b/msgraph/generated/applications/item/synchronization/jobs/count/count_request_builder.py index c96d14ec46c..502e86c3930 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py b/msgraph/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py index 2972750d7fa..68bcfb54fd9 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py b/msgraph/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py index 536e2bc3ed4..88cf38e1bb6 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py b/msgraph/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py index 51075fac6a7..bddf01237ae 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py b/msgraph/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py b/msgraph/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py b/msgraph/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py index 131044cb3bf..16622387b04 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py b/msgraph/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py index 06b31625786..ccb685c1e6c 100644 --- a/msgraph/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/secrets/count/count_request_builder.py b/msgraph/generated/applications/item/synchronization/secrets/count/count_request_builder.py index 7be296918eb..2d4ce108ded 100644 --- a/msgraph/generated/applications/item/synchronization/secrets/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/synchronization/secrets/secrets_put_request_body.py b/msgraph/generated/applications/item/synchronization/secrets/secrets_put_request_body.py index e81fe020b4f..5b06a03a70b 100644 --- a/msgraph/generated/applications/item/synchronization/secrets/secrets_put_request_body.py +++ b/msgraph/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/generated/applications/item/synchronization/secrets/secrets_put_response.py b/msgraph/generated/applications/item/synchronization/secrets/secrets_put_response.py index 9090b659780..6d986b75609 100644 --- a/msgraph/generated/applications/item/synchronization/secrets/secrets_put_response.py +++ b/msgraph/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/generated/applications/item/synchronization/templates/count/count_request_builder.py b/msgraph/generated/applications/item/synchronization/templates/count/count_request_builder.py index c9889c9bd4c..3bb640cd516 100644 --- a/msgraph/generated/applications/item/synchronization/templates/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py b/msgraph/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py index 21db57c9a84..17cc0500303 100644 --- a/msgraph/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py b/msgraph/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph/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/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py b/msgraph/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py +++ b/msgraph/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/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph/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/generated/applications/item/token_issuance_policies/count/count_request_builder.py b/msgraph/generated/applications/item/token_issuance_policies/count/count_request_builder.py index fa5eb5c174d..a8b584e2062 100644 --- a/msgraph/generated/applications/item/token_issuance_policies/count/count_request_builder.py +++ b/msgraph/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/generated/applications/item/token_lifetime_policies/count/count_request_builder.py b/msgraph/generated/applications/item/token_lifetime_policies/count/count_request_builder.py index 0658a31bd07..d769659e106 100644 --- a/msgraph/generated/applications/item/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph/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/generated/audit_logs/directory_audits/count/count_request_builder.py b/msgraph/generated/audit_logs/directory_audits/count/count_request_builder.py index e7b0d8e78d4..c12bb781b1b 100644 --- a/msgraph/generated/audit_logs/directory_audits/count/count_request_builder.py +++ b/msgraph/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/generated/audit_logs/provisioning/count/count_request_builder.py b/msgraph/generated/audit_logs/provisioning/count/count_request_builder.py index 6cf66b41297..11043a4ea64 100644 --- a/msgraph/generated/audit_logs/provisioning/count/count_request_builder.py +++ b/msgraph/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/generated/audit_logs/sign_ins/count/count_request_builder.py b/msgraph/generated/audit_logs/sign_ins/count/count_request_builder.py index c6a3b629395..48091bfc955 100644 --- a/msgraph/generated/audit_logs/sign_ins/count/count_request_builder.py +++ b/msgraph/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/generated/authentication_method_configurations/count/count_request_builder.py b/msgraph/generated/authentication_method_configurations/count/count_request_builder.py index 112af06ac3c..ac21c65902c 100644 --- a/msgraph/generated/authentication_method_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py b/msgraph/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py index 2c76d12ed5f..53f48eeffe9 100644 --- a/msgraph/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/base_graph_service_client.py b/msgraph/generated/base_graph_service_client.py index 5e067987014..d4e9f81a001 100644 --- a/msgraph/generated/base_graph_service_client.py +++ b/msgraph/generated/base_graph_service_client.py @@ -89,6 +89,7 @@ from .teamwork.teamwork_request_builder import TeamworkRequestBuilder from .tenant_relationships.tenant_relationships_request_builder import TenantRelationshipsRequestBuilder from .users.users_request_builder import UsersRequestBuilder + from .users_with_user_principal_name.users_with_user_principal_name_request_builder import UsersWithUserPrincipalNameRequestBuilder class BaseGraphServiceClient(BaseRequestBuilder): """ @@ -188,6 +189,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 admin(self) -> AdminRequestBuilder: """ diff --git a/msgraph/generated/certificate_based_auth_configuration/count/count_request_builder.py b/msgraph/generated/certificate_based_auth_configuration/count/count_request_builder.py index 4d8f6b41c80..8553d9ff66c 100644 --- a/msgraph/generated/certificate_based_auth_configuration/count/count_request_builder.py +++ b/msgraph/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/generated/chats/count/count_request_builder.py b/msgraph/generated/chats/count/count_request_builder.py index 2b7018aabdb..483640e7407 100644 --- a/msgraph/generated/chats/count/count_request_builder.py +++ b/msgraph/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/generated/chats/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/chats/get_all_messages/get_all_messages_get_response.py index 64e44ec19bc..0a512faa9ee 100644 --- a/msgraph/generated/chats/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py index 5bb3c536b4a..e0cbe9f4714 100644 --- a/msgraph/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph/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/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py b/msgraph/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py index 56d738b9ab0..32668f18b81 100644 --- a/msgraph/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py +++ b/msgraph/generated/chats/item/hide_for_user/hide_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/generated/chats/item/installed_apps/count/count_request_builder.py b/msgraph/generated/chats/item/installed_apps/count/count_request_builder.py index aff37ede7f2..dfad6d37e6c 100644 --- a/msgraph/generated/chats/item/installed_apps/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 064069f6270..f27e8432230 100644 --- a/msgraph/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph/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/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py b/msgraph/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py index c28285839b4..36e3570c205 100644 --- a/msgraph/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py +++ b/msgraph/generated/chats/item/mark_chat_read_for_user/mark_chat_read_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/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py b/msgraph/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py index 9af989d48c4..d636fccd5a2 100644 --- a/msgraph/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py +++ b/msgraph/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_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.teamwork_user_identity import TeamworkUserIdentity + writer.write_datetime_value("lastMessageReadDateTime", self.last_message_read_date_time) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/chats/item/members/add/add_post_request_body.py b/msgraph/generated/chats/item/members/add/add_post_request_body.py index 5ba4f65c762..08583a9ba36 100644 --- a/msgraph/generated/chats/item/members/add/add_post_request_body.py +++ b/msgraph/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/generated/chats/item/members/add/add_post_response.py b/msgraph/generated/chats/item/members/add/add_post_response.py index d76a61ab920..8bde4d24a21 100644 --- a/msgraph/generated/chats/item/members/add/add_post_response.py +++ b/msgraph/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/generated/chats/item/members/count/count_request_builder.py b/msgraph/generated/chats/item/members/count/count_request_builder.py index b8075d6c44d..f81ebbb5338 100644 --- a/msgraph/generated/chats/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/messages/count/count_request_builder.py b/msgraph/generated/chats/item/messages/count/count_request_builder.py index 63cb4ca0a5b..36a705f0fdb 100644 --- a/msgraph/generated/chats/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/messages/delta/delta_get_response.py b/msgraph/generated/chats/item/messages/delta/delta_get_response.py index 58da5277a90..2eca81a066e 100644 --- a/msgraph/generated/chats/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py index 8f3fc0ff6a9..e1b5573f80d 100644 --- a/msgraph/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/messages/item/replies/count/count_request_builder.py b/msgraph/generated/chats/item/messages/item/replies/count/count_request_builder.py index 481316f160e..4b005aaacfd 100644 --- a/msgraph/generated/chats/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/chats/item/messages/item/replies/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph/generated/chats/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index d1e3c747f37..af9fe936bb3 100644 --- a/msgraph/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/permission_grants/count/count_request_builder.py b/msgraph/generated/chats/item/permission_grants/count/count_request_builder.py index a7e41f7781e..f56f6729521 100644 --- a/msgraph/generated/chats/item/permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/pinned_messages/count/count_request_builder.py b/msgraph/generated/chats/item/pinned_messages/count/count_request_builder.py index 7a96053fde2..88809f0bce9 100644 --- a/msgraph/generated/chats/item/pinned_messages/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py index e6aa19841b1..18d45faa1ab 100644 --- a/msgraph/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph/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/generated/chats/item/tabs/count/count_request_builder.py b/msgraph/generated/chats/item/tabs/count/count_request_builder.py index 262a736e155..1e80389f7e0 100644 --- a/msgraph/generated/chats/item/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py b/msgraph/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py index ebf69470675..a8805db7b35 100644 --- a/msgraph/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py +++ b/msgraph/generated/chats/item/unhide_for_user/unhide_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/generated/communications/call_records/count/count_request_builder.py b/msgraph/generated/communications/call_records/count/count_request_builder.py index 387a1ba11a6..025df922b61 100644 --- a/msgraph/generated/communications/call_records/count/count_request_builder.py +++ b/msgraph/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/generated/communications/call_records/item/participants_v2/count/count_request_builder.py b/msgraph/generated/communications/call_records/item/participants_v2/count/count_request_builder.py index b89aa6c4bd4..2fe471786f3 100644 --- a/msgraph/generated/communications/call_records/item/participants_v2/count/count_request_builder.py +++ b/msgraph/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/generated/communications/call_records/item/sessions/count/count_request_builder.py b/msgraph/generated/communications/call_records/item/sessions/count/count_request_builder.py index dfa0563c624..30d7a901433 100644 --- a/msgraph/generated/communications/call_records/item/sessions/count/count_request_builder.py +++ b/msgraph/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/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py b/msgraph/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py index bc9da8dcef5..694e7ab8238 100644 --- a/msgraph/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/communications/calls/calls_request_builder.py b/msgraph/generated/communications/calls/calls_request_builder.py index 9dbc2c7e6cf..a0840567678 100644 --- a/msgraph/generated/communications/calls/calls_request_builder.py +++ b/msgraph/generated/communications/calls/calls_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CallsReq async def post(self,body: Call, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Call]: """ - Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios: + Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Call] @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Call, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios: + Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/communications/calls/count/count_request_builder.py b/msgraph/generated/communications/calls/count/count_request_builder.py index ddb14282a9e..0b439a8d439 100644 --- a/msgraph/generated/communications/calls/count/count_request_builder.py +++ b/msgraph/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/generated/communications/calls/item/answer/answer_post_request_body.py b/msgraph/generated/communications/calls/item/answer/answer_post_request_body.py index 4c50728a178..8776658ad7e 100644 --- a/msgraph/generated/communications/calls/item/answer/answer_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/answer/answer_request_builder.py b/msgraph/generated/communications/calls/item/answer/answer_request_builder.py index 39ddbbb5b65..b6150362195 100644 --- a/msgraph/generated/communications/calls/item/answer/answer_request_builder.py +++ b/msgraph/generated/communications/calls/item/answer/answer_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AnswerPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: + Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: 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: AnswerPostRequestBody, request_configuration: Optional def to_post_request_information(self,body: AnswerPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: + Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py b/msgraph/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py index b35aaf37b00..13750ac7e47 100644 --- a/msgraph/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py +++ b/msgraph/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/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py b/msgraph/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py index 18051eff7a7..d70369168fa 100644 --- a/msgraph/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py b/msgraph/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py index 7ef0deebfbb..16341502004 100644 --- a/msgraph/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py +++ b/msgraph/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/generated/communications/calls/item/operations/count/count_request_builder.py b/msgraph/generated/communications/calls/item/operations/count/count_request_builder.py index 1af9068564c..b11b24c4e9e 100644 --- a/msgraph/generated/communications/calls/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/communications/calls/item/participants/count/count_request_builder.py b/msgraph/generated/communications/calls/item/participants/count/count_request_builder.py index 73132b38d21..c7a459115c1 100644 --- a/msgraph/generated/communications/calls/item/participants/count/count_request_builder.py +++ b/msgraph/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/generated/communications/calls/item/participants/invite/invite_post_request_body.py b/msgraph/generated/communications/calls/item/participants/invite/invite_post_request_body.py index d993b28cbb4..7d0db7b0eb8 100644 --- a/msgraph/generated/communications/calls/item/participants/invite/invite_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py index 5d2c973916f..dcd5ff3d46a 100644 --- a/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py b/msgraph/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py index 1b0d2d7b64c..5a4c7c8d677 100644 --- a/msgraph/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py b/msgraph/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py index f6aa602dc32..017492e13be 100644 --- a/msgraph/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py +++ b/msgraph/generated/communications/calls/item/play_prompt/play_prompt_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_collection_of_object_values("prompts", self.prompts) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/communications/calls/item/record_response/record_response_post_request_body.py b/msgraph/generated/communications/calls/item/record_response/record_response_post_request_body.py index 381bbc1875b..17ca283f79d 100644 --- a/msgraph/generated/communications/calls/item/record_response/record_response_post_request_body.py +++ b/msgraph/generated/communications/calls/item/record_response/record_response_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.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/generated/communications/calls/item/redirect/redirect_post_request_body.py b/msgraph/generated/communications/calls/item/redirect/redirect_post_request_body.py index 55203f9cc24..ef4e2666f94 100644 --- a/msgraph/generated/communications/calls/item/redirect/redirect_post_request_body.py +++ b/msgraph/generated/communications/calls/item/redirect/redirect_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.invitation_participant_info import InvitationParticipantInfo + writer.write_str_value("callbackUri", self.callback_uri) writer.write_collection_of_object_values("targets", self.targets) writer.write_int_value("timeout", self.timeout) diff --git a/msgraph/generated/communications/calls/item/reject/reject_post_request_body.py b/msgraph/generated/communications/calls/item/reject/reject_post_request_body.py index dd3cbf96c3a..e35284bc5f6 100644 --- a/msgraph/generated/communications/calls/item/reject/reject_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py b/msgraph/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py index c8e5430eb22..8ffeb8b5ab9 100644 --- a/msgraph/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/transfer/transfer_post_request_body.py b/msgraph/generated/communications/calls/item/transfer/transfer_post_request_body.py index 4e83e98763b..d655b345c7b 100644 --- a/msgraph/generated/communications/calls/item/transfer/transfer_post_request_body.py +++ b/msgraph/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/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py b/msgraph/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py index f0363187191..97ee5037a7e 100644 --- a/msgraph/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py +++ b/msgraph/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/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py b/msgraph/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py index 6cdd783c287..74cd053eb3d 100644 --- a/msgraph/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py +++ b/msgraph/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/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py b/msgraph/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py index d7e9d117918..a434a522146 100644 --- a/msgraph/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py +++ b/msgraph/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/generated/communications/online_meetings/count/count_request_builder.py b/msgraph/generated/communications/online_meetings/count/count_request_builder.py index 698a8dd3761..708fbe429fe 100644 --- a/msgraph/generated/communications/online_meetings/count/count_request_builder.py +++ b/msgraph/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/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py b/msgraph/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py index 0cfaaef06c9..ba057caed0e 100644 --- a/msgraph/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py b/msgraph/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py index 04a0765b73a..5f055db009c 100644 --- a/msgraph/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py +++ b/msgraph/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/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 94013634fee..b1919be2306 100644 --- a/msgraph/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph/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/generated/communications/online_meetings/item/recordings/count/count_request_builder.py b/msgraph/generated/communications/online_meetings/item/recordings/count/count_request_builder.py index 76362cb9773..bcdef810c66 100644 --- a/msgraph/generated/communications/online_meetings/item/recordings/count/count_request_builder.py +++ b/msgraph/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/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py b/msgraph/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py index 41018427b53..a6940bb8e77 100644 --- a/msgraph/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py +++ b/msgraph/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/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph/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/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph/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/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index de2723f7556..45cfbd9acd8 100644 --- a/msgraph/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph/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/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py b/msgraph/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py index 4af32659f6c..c2da7f562e1 100644 --- a/msgraph/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py +++ b/msgraph/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/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py b/msgraph/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py index 13de0257a7a..5f32f66c343 100644 --- a/msgraph/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py +++ b/msgraph/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/generated/communications/presences/count/count_request_builder.py b/msgraph/generated/communications/presences/count/count_request_builder.py index 18ca5d0ab65..27e4a390f8e 100644 --- a/msgraph/generated/communications/presences/count/count_request_builder.py +++ b/msgraph/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/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py b/msgraph/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py index 490a6c68d3e..62122d25ab8 100644 --- a/msgraph/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py +++ b/msgraph/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/generated/connections/count/count_request_builder.py b/msgraph/generated/connections/count/count_request_builder.py index 3b3608af997..6333ce5ab0d 100644 --- a/msgraph/generated/connections/count/count_request_builder.py +++ b/msgraph/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/generated/connections/item/groups/count/count_request_builder.py b/msgraph/generated/connections/item/groups/count/count_request_builder.py index 31a7564eb9c..ca258348596 100644 --- a/msgraph/generated/connections/item/groups/count/count_request_builder.py +++ b/msgraph/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/generated/connections/item/groups/item/members/count/count_request_builder.py b/msgraph/generated/connections/item/groups/item/members/count/count_request_builder.py index 3c707955fac..1bcb8e4fad4 100644 --- a/msgraph/generated/connections/item/groups/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/connections/item/items/count/count_request_builder.py b/msgraph/generated/connections/item/items/count/count_request_builder.py index 318388fe3af..490cc86bb02 100644 --- a/msgraph/generated/connections/item/items/count/count_request_builder.py +++ b/msgraph/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/generated/connections/item/items/item/activities/count/count_request_builder.py b/msgraph/generated/connections/item/items/item/activities/count/count_request_builder.py index 4ce55159b32..f8d9b8979fb 100644 --- a/msgraph/generated/connections/item/items/item/activities/count/count_request_builder.py +++ b/msgraph/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/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py b/msgraph/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py index 8069c5dd7df..ea96a9f13bd 100644 --- a/msgraph/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py +++ b/msgraph/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/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py b/msgraph/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py index afa60c7f776..1bed5d1ddc2 100644 --- a/msgraph/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py +++ b/msgraph/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/generated/connections/item/operations/count/count_request_builder.py b/msgraph/generated/connections/item/operations/count/count_request_builder.py index 514f3cbd539..2d82614efc7 100644 --- a/msgraph/generated/connections/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/count/count_request_builder.py b/msgraph/generated/contacts/count/count_request_builder.py index 02e96e35d31..755e5725a08 100644 --- a/msgraph/generated/contacts/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/delta/delta_get_response.py b/msgraph/generated/contacts/delta/delta_get_response.py index 2132d2c7134..1d58dc0f1ff 100644 --- a/msgraph/generated/contacts/delta/delta_get_response.py +++ b/msgraph/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/generated/contacts/delta/delta_request_builder.py b/msgraph/generated/contacts/delta/delta_request_builder.py index a9ab8613a98..0ec5d386409 100644 --- a/msgraph/generated/contacts/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/contacts/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/contacts/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/contacts/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/contacts/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/contacts/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/contacts/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/contacts/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/contacts/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/contacts/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/contacts/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/contacts/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/contacts/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/contacts/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/contacts/item/direct_reports/count/count_request_builder.py b/msgraph/generated/contacts/item/direct_reports/count/count_request_builder.py index b70bb4deaee..908cf861d07 100644 --- a/msgraph/generated/contacts/item/direct_reports/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py b/msgraph/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py index 5f92cc70f15..11af60e8e9d 100644 --- a/msgraph/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py b/msgraph/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py index f186d1905c5..2c1bb08aecd 100644 --- a/msgraph/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/contacts/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/contacts/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/contacts/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/contacts/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/contacts/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/contacts/item/member_of/count/count_request_builder.py b/msgraph/generated/contacts/item/member_of/count/count_request_builder.py index cb73cfe802d..4c8928d3f16 100644 --- a/msgraph/generated/contacts/item/member_of/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py index 04ab1e05067..8bfeaaddc4c 100644 --- a/msgraph/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/member_of/graph_group/count/count_request_builder.py b/msgraph/generated/contacts/item/member_of/graph_group/count/count_request_builder.py index 01362634ca9..7df1d67d108 100644 --- a/msgraph/generated/contacts/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py index 54b504ef24a..1235cc2750f 100644 --- a/msgraph/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/transitive_member_of/count/count_request_builder.py b/msgraph/generated/contacts/item/transitive_member_of/count/count_request_builder.py index 747576cc80f..d1b06674db4 100644 --- a/msgraph/generated/contacts/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 1f3b45f5e81..bfd7fe1aad1 100644 --- a/msgraph/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py index ea77e63dafa..5092c3295da 100644 --- a/msgraph/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/contracts/count/count_request_builder.py b/msgraph/generated/contracts/count/count_request_builder.py index 3cbd34536df..30b85ec7ac6 100644 --- a/msgraph/generated/contracts/count/count_request_builder.py +++ b/msgraph/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/generated/contracts/delta/delta_get_response.py b/msgraph/generated/contracts/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph/generated/contracts/delta/delta_get_response.py +++ b/msgraph/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/generated/contracts/delta/delta_request_builder.py b/msgraph/generated/contracts/delta/delta_request_builder.py index dc4d2f71e96..19d3066407e 100644 --- a/msgraph/generated/contracts/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/contracts/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/contracts/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/contracts/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/contracts/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/contracts/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/contracts/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/contracts/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/contracts/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/contracts/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/contracts/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/contracts/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/contracts/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/contracts/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/contracts/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/contracts/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/contracts/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/contracts/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/contracts/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/contracts/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/data_policy_operations/count/count_request_builder.py b/msgraph/generated/data_policy_operations/count/count_request_builder.py index ba82dacc660..f5386375a85 100644 --- a/msgraph/generated/data_policy_operations/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py b/msgraph/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py index 129eab06403..0fac8120691 100644 --- a/msgraph/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py index 7431e68c157..9611ef4f459 100644 --- a/msgraph/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py index 4825842a8be..ccb6e6684b3 100644 --- a/msgraph/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py b/msgraph/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py index 2b89ba89888..06deebe29bf 100644 --- a/msgraph/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py index ba6105068c6..a2cd8c17ee1 100644 --- a/msgraph/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index 0f29171a8a5..8278722f3a0 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp Read properties and relationships of the deviceAppManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,7 +71,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py b/msgraph/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py index 6ce1ceb440a..21aa41d89a1 100644 --- a/msgraph/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py index 5b5e74d0b1c..a6b1d63c142 100644 --- a/msgraph/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py index e662eb8aec5..e585aa42bc8 100644 --- a/msgraph/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_app_policies/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/count/count_request_builder.py index 8f2990ab66f..d18c61e52e3 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index a863171fbc5..0f10559201c 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]: """ - Read properties and relationships of the managedAppPolicy object. + Read properties and relationships of the managedAppProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppPolicy object. + Read properties and relationships of the managedAppProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppPolicy object. + Read properties and relationships of the managedAppProtection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py index ce2e3cc22b1..6aa95b23777 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py +++ b/msgraph/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/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index bad290a8fcb..47461f9901b 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index c77d148e957..9837cc4c167 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppProtection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/count/count_request_builder.py index 4da7c70aa6c..043112ca528 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py index d84da2b740f..a4cd1d74052 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_post_request_body.py b/msgraph/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/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_post_request_body.py +++ b/msgraph/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/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index 7f5bdccf065..a5240ea67b1 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py index ce8d0459331..a3dbd19e8f0 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_post_request_body.py b/msgraph/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/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_post_request_body.py +++ b/msgraph/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/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index 5325c767f13..8071a277c70 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py index 1bf0911e41e..68cfb5a3c2d 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]: """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the iosManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistration] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the iosManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedAppRegistrationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the iosManagedAppRegistration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py index 50ded61d337..00c0f533ceb 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_app_statuses/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/count/count_request_builder.py index fcb454e7afb..2394646f985 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py index 12e173cf188..3e9d50938be 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatus]: """ - Read properties and relationships of the managedAppStatusRaw object. + Read properties and relationships of the managedAppStatus object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatus] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppStatusRaw object. + Read properties and relationships of the managedAppStatus object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppStatusItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppStatusRaw object. + Read properties and relationships of the managedAppStatus object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py index 61762dfdde5..3e4e8583b0d 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_status_id(self,managed_app_status_id: str) -> ManagedAppStatu async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]: """ - List properties and relationships of the managedAppStatusRaw objects. + List properties and relationships of the managedAppStatus objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatusCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppStatus, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppStatusRaw objects. + List properties and relationships of the managedAppStatus objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedAppStatusesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppStatusRaw objects. + List properties and relationships of the managedAppStatus objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/count/count_request_builder.py index 6e39bff2457..85caf9fdb5f 100644 --- a/msgraph/generated/device_app_management/managed_e_books/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py b/msgraph/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py index ed5b8b1be39..2862e18ada1 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py index 323415b7c28..a86d108db0d 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 0f6236e8f60..e13ccc383fa 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -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: """ - Deletes a iosVppEBookAssignment. + Deletes a managedEBookAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Update the properties of a managedEBookAssignment object. + Update the properties of a iosVppEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: ManagedEBookAssignment, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a iosVppEBookAssignment. + Deletes a managedEBookAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment 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: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a managedEBookAssignment object. + Update the properties of a iosVppEBookAssignment 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 ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py index 7e52600b277..901e693ecc6 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py index 3d7ce736163..827d25fe14c 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/count/count_request_builder.py b/msgraph/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/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py b/msgraph/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py index 7a2a76ebafe..c3aecc950ef 100644 --- a/msgraph/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py index 255a21f7283..95bb47c3a09 100644 --- a/msgraph/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_app_categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_app_categories/count/count_request_builder.py index afdccecf50b..fa4bf8aad1b 100644 --- a/msgraph/generated/device_app_management/mobile_app_categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py index 1aab532047b..d8774cb6a1d 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py index a4f1e12d608..1e433a68f0e 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py index 76b6e5f340b..999a5ff9452 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py index 73790f9a52d..e19896de054 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py index 769ec4a2016..4d17033228d 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfiguration]: """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -210,7 +210,7 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfigur @dataclass class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py index 92d37bd1a78..5fea79c726d 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py index 253d74c6230..516265eec7c 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_managed_device_mobile_app_configuration_id(self,managed_device_mobile_app async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfigurationCollectionResponse]: """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedDeviceMobileAppConfiguration, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileAppConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/count/count_request_builder.py index 6fd7970bac3..e3c4b236a2f 100644 --- a/msgraph/generated/device_app_management/mobile_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py index dff755ea913..3b22a392105 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py index d2a6bf3be47..a8946077abc 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py index 7275941abcf..376d5a6a1e9 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py index a1e9f669026..edfa5e22974 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py index c3430845565..23298fe9174 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py index b0d9d0258df..79a650556fc 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py index ac21f8cfd7a..adb76b17397 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py index 59e614856f7..9a7f4d5cca0 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py index 037aeadfdb6..47e2cdaf7dd 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py index 0ce1cfbfba5..9bbad6d74bc 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py index b9f5b2d1432..6c2f6301473 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py index 1f1843a0930..812fbdc56b5 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py index 2d2ebcf0400..30da9bc63f4 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py index 44b6ca683f8..617265c1cb2 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py index db3d48d5c74..ee91749b662 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py index 4739dcfa52d..2d6d7073e37 100644 --- a/msgraph/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py b/msgraph/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py index 94e53ace40e..80e67c98b21 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py index dff9d5cb3db..ef3b8ed3551 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py index 9c8d8df857f..d12f62741a2 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py index f50704a50db..a4fcfa6052a 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py index 651b3866d7f..fe0cc11ea81 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py index cc6342603f1..5a2a71fc7e8 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py index cc2f198ffda..d238207af04 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py index 4b0be01d3ea..69e7082611c 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py index 5ca9696a12b..b7c3f6aadd6 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py index d9b40e204d1..bcb2e12da22 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py index c8f804b114f..7eb5768d52d 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py index 741d447451d..c519721e607 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py index bea8d8c0ab4..a53e91492d8 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py index a2f7bfe7ca1..63e79b86af0 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py index 5744c32bdb1..fa48dd56c8d 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py index 3628f052846..f8bb344429e 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py index 303f3b8d44c..42dd593ae72 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py index e2cb3890d05..2d8155e01e7 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py index e9342826571..8d8f4654a78 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py index 9d71db14fdc..388c6ff0667 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py index 6a43e93cfe6..c0b022c8c45 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py index 7d90cd29cca..70a441eac83 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py index d3a4faff08b..b48a77294d7 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py index 55c66774a89..aef3a7bd604 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py index 79e50bb1299..bb7d9bf4201 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py index 6f7a2f9dfc7..18cd79447ff 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py index d945225278e..e8937921d85 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/count/count_request_builder.py b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py index 9ba1a25d05d..c3888a46400 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py index e80ca31f043..6b9ecb653f5 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index a618861803d..0602562ac01 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -50,10 +50,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a androidLobApp. + Deletes a microsoftStoreForBusinessApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -69,10 +69,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the iosVppApp object. + Read properties and relationships of the macOSLobApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a androidLobApp. + Deletes a microsoftStoreForBusinessApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosVppApp object. + Read properties and relationships of the macOSLobApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -340,7 +340,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosVppApp object. + Read properties and relationships of the macOSLobApp object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index 9b2cb2a9c06..8dd555accdb 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -64,10 +64,10 @@ def by_mobile_app_id(self,mobile_app_id: str) -> MobileAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppCollectionResponse]: """ - List properties and relationships of the iosLobApp objects. + List properties and relationships of the mobileLobApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-mobilelobapp-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -85,11 +85,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new iosVppApp object. + Create a new microsoftStoreForBusinessApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ async def post(self,body: MobileApp, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosLobApp objects. + List properties and relationships of the mobileLobApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosVppApp object. + Create a new microsoftStoreForBusinessApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -299,7 +299,7 @@ def graph_windows_web_app(self) -> GraphWindowsWebAppRequestBuilder: @dataclass class MobileAppsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosLobApp objects. + List properties and relationships of the mobileLobApp objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py b/msgraph/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py index 17065db0285..444aeebcd0c 100644 --- a/msgraph/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py b/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py index f2809d58c9b..aacc597f801 100644 --- a/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py b/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py index 3375f150517..9c4191b9e4e 100644 --- a/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py index d1bf2cc901b..4c0c900a901 100644 --- a/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py b/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py index 7694c4bd279..a911aa522cb 100644 --- a/msgraph/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py +++ b/msgraph/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/generated/device_app_management/vpp_tokens/count/count_request_builder.py b/msgraph/generated/device_app_management/vpp_tokens/count/count_request_builder.py index c9132f0466d..8ac5723f421 100644 --- a/msgraph/generated/device_app_management/vpp_tokens/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py b/msgraph/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py index 741df47d111..9525adbb98c 100644 --- a/msgraph/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py b/msgraph/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py index 3d85e35448e..825840427cf 100644 --- a/msgraph/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py b/msgraph/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py index 98da56b7eab..ffb2abbdaf9 100644 --- a/msgraph/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py +++ b/msgraph/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/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py b/msgraph/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py index 4c4f539dfde..8b712110f9b 100644 --- a/msgraph/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/audit_events/count/count_request_builder.py b/msgraph/generated/device_management/audit_events/count/count_request_builder.py index 552e13bd1be..8a0caa58ced 100644 --- a/msgraph/generated/device_management/audit_events/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_get_response.py b/msgraph/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/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_get_response.py +++ b/msgraph/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/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py b/msgraph/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py index 3325c9db11e..840bba3fb81 100644 --- a/msgraph/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py +++ b/msgraph/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/generated/device_management/compliance_management_partners/count/count_request_builder.py b/msgraph/generated/device_management/compliance_management_partners/count/count_request_builder.py index a2f960d5c38..f1bc07fa646 100644 --- a/msgraph/generated/device_management/compliance_management_partners/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/detected_apps/count/count_request_builder.py b/msgraph/generated/device_management/detected_apps/count/count_request_builder.py index 4edfc063511..213402e1dcf 100644 --- a/msgraph/generated/device_management/detected_apps/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py b/msgraph/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py index d3147d2df04..46c7abfad59 100644 --- a/msgraph/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_categories/count/count_request_builder.py b/msgraph/generated/device_management/device_categories/count/count_request_builder.py index 609e965be1a..774c08c14ac 100644 --- a/msgraph/generated/device_management/device_categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/count/count_request_builder.py index b00560a054e..5cbc709af5a 100644 --- a/msgraph/generated/device_management/device_compliance_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index c6401829261..4d83cbd544c 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -48,10 +48,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the windows10MobileCompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new iosCompliancePolicy object. + Create a new windows10CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the windows10MobileCompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosCompliancePolicy object. + Create a new windows10CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windows10MobileCompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py b/msgraph/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py index b05cc277aff..232a74c461d 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py b/msgraph/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py index 8c134616711..06279d4b55e 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py index 2461c3c47d6..b40718a34bc 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index b6361142f70..763d6019993 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -40,10 +40,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a iosCompliancePolicy. + Deletes a androidWorkProfileCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Read properties and relationships of the macOSCompliancePolicy object. + Read properties and relationships of the windows10CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +104,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a iosCompliancePolicy. + Deletes a androidWorkProfileCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the macOSCompliancePolicy object. + Read properties and relationships of the windows10CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the macOSCompliancePolicy object. + Read properties and relationships of the windows10CompliancePolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py index a0f39034932..a1905e1f741 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py index 4d9e6932e08..42c0d602826 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_post_request_body.py b/msgraph/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/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_post_request_body.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py index 9aea10d7f74..75099a7ec58 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py b/msgraph/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/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py index fa4f057fee2..abb8271dba0 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py b/msgraph/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py index fa355c52a7c..f0cbaf82300 100644 --- a/msgraph/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/count/count_request_builder.py b/msgraph/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/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_configurations/count/count_request_builder.py b/msgraph/generated/device_management/device_configurations/count/count_request_builder.py index 99144b7efe6..e46dd6484e9 100644 --- a/msgraph/generated/device_management/device_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index 0e0742a2c0f..a84b07a409b 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the androidCustomConfiguration objects. + List properties and relationships of the macOSGeneralDeviceConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new windowsUpdateForBusinessConfiguration object. + Create a new windows10EndpointProtectionConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the androidCustomConfiguration objects. + List properties and relationships of the macOSGeneralDeviceConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windowsUpdateForBusinessConfiguration object. + Create a new windows10EndpointProtectionConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidCustomConfiguration objects. + List properties and relationships of the macOSGeneralDeviceConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/assign/assign_post_request_body.py b/msgraph/generated/device_management/device_configurations/item/assign/assign_post_request_body.py index 43b42b5b149..4a8d6a2b23f 100644 --- a/msgraph/generated/device_management/device_configurations/item/assign/assign_post_request_body.py +++ b/msgraph/generated/device_management/device_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.device_configuration_assignment import DeviceConfigurationAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/device_management/device_configurations/item/assign/assign_post_response.py b/msgraph/generated/device_management/device_configurations/item/assign/assign_post_response.py index 404af78a258..6ab6e9bfb1c 100644 --- a/msgraph/generated/device_management/device_configurations/item/assign/assign_post_response.py +++ b/msgraph/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/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py b/msgraph/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py index 9f162c6092b..7698f9d2441 100644 --- a/msgraph/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index 7051d64baf4..5fe3deffe0e 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -39,10 +39,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windows10GeneralConfiguration. + Deletes a androidWorkProfileGeneralDeviceConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the iosUpdateConfiguration object. + Read properties and relationships of the windowsUpdateForBusinessConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdateconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a windows10TeamGeneralConfiguration object. + Update the properties of a iosCustomConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windows10GeneralConfiguration. + Deletes a androidWorkProfileGeneralDeviceConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosUpdateConfiguration object. + Read properties and relationships of the windowsUpdateForBusinessConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windows10TeamGeneralConfiguration object. + Update the properties of a iosCustomConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosUpdateConfiguration object. + Read properties and relationships of the windowsUpdateForBusinessConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py index d6dd152ac10..42402b5f4e9 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py index 04a0439376f..074caf4adf6 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py b/msgraph/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py index 7519d1f0a15..97183300bdb 100644 --- a/msgraph/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_enrollment_configurations/count/count_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/count/count_request_builder.py index 7ac94db479f..7b4a293e285 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index 67ea4605bc3..73d73070de6 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_enrollment_configuration_id(self,device_enrollment_configuration_i async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]: """ - List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + List properties and relationships of the deviceEnrollmentConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + List properties and relationships of the deviceEnrollmentConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + List properties and relationships of the deviceEnrollmentConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py b/msgraph/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py index 5b7340d9327..39441e9bd1e 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py index cb679ac9f25..58f19281cd7 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index cd0ca0ada6c..0c38214f0d9 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Read properties and relationships of the deviceEnrollmentConfiguration object. + Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the deviceEnrollmentConfiguration object. + Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -180,7 +180,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration( @dataclass class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceEnrollmentConfiguration object. + Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_management_partners/count/count_request_builder.py b/msgraph/generated/device_management/device_management_partners/count/count_request_builder.py index 9c76fee1b66..5176dad2e30 100644 --- a/msgraph/generated/device_management/device_management_partners/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 61452f9ea40..ad527eedb3b 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -95,7 +95,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-policyset-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -129,7 +129,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/exchange_connectors/count/count_request_builder.py b/msgraph/generated/device_management/exchange_connectors/count/count_request_builder.py index f02bf13d8b9..6d554205a2e 100644 --- a/msgraph/generated/device_management/exchange_connectors/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py b/msgraph/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py index 38f359d31c2..223ca40cdd2 100644 --- a/msgraph/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py +++ b/msgraph/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/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py b/msgraph/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py index 4a3335d33b5..41514c03cf6 100644 --- a/msgraph/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py +++ b/msgraph/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/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py b/msgraph/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py index 3e13cbcbd85..3b44336dc7e 100644 --- a/msgraph/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py b/msgraph/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py index d8bd8a8eff9..5824d5a2f7d 100644 --- a/msgraph/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py +++ b/msgraph/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/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py b/msgraph/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py index d0c8e897f7c..bb5918f9153 100644 --- a/msgraph/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py +++ b/msgraph/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/generated/device_management/ios_update_statuses/count/count_request_builder.py b/msgraph/generated/device_management/ios_update_statuses/count/count_request_builder.py index 8e0b323bbf4..49ed4bae8b4 100644 --- a/msgraph/generated/device_management/ios_update_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/managed_devices/count/count_request_builder.py b/msgraph/generated/device_management/managed_devices/count/count_request_builder.py index e1a99caabae..912c0001c40 100644 --- a/msgraph/generated/device_management/managed_devices/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py b/msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py index ed86fb5bbf3..77e375f1c08 100644 --- a/msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py +++ b/msgraph/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/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py b/msgraph/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py index 697f7dec354..2c8a822140a 100644 --- a/msgraph/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py b/msgraph/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py index 0d6cce3d1d1..379ee6c924d 100644 --- a/msgraph/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py b/msgraph/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py index 9875b747890..4139bb171cf 100644 --- a/msgraph/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py b/msgraph/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py index 71c6b2c1bb7..998061396b4 100644 --- a/msgraph/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py +++ b/msgraph/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/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py b/msgraph/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py index b17db82af1e..4bc309165bb 100644 --- a/msgraph/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py b/msgraph/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py index 462c22603da..36e29c6f96c 100644 --- a/msgraph/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py b/msgraph/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py index fa9f9da6bea..489665d5ca0 100644 --- a/msgraph/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py b/msgraph/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py index a1f06b62770..16cfe020042 100644 --- a/msgraph/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/notification_message_templates/count/count_request_builder.py b/msgraph/generated/device_management/notification_message_templates/count/count_request_builder.py index 9aae5e7a41b..0ee12e5b793 100644 --- a/msgraph/generated/device_management/notification_message_templates/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py b/msgraph/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py index 427ca1507f2..946a9524a8a 100644 --- a/msgraph/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/remote_assistance_partners/count/count_request_builder.py b/msgraph/generated/device_management/remote_assistance_partners/count/count_request_builder.py index 15a4d347a3d..6849d516ef4 100644 --- a/msgraph/generated/device_management/remote_assistance_partners/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/reports/export_jobs/count/count_request_builder.py b/msgraph/generated/device_management/reports/export_jobs/count/count_request_builder.py index af07918f719..3d0ba735535 100644 --- a/msgraph/generated/device_management/reports/export_jobs/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/reports/reports_request_builder.py b/msgraph/generated/device_management/reports/reports_request_builder.py index 326d18e84ba..f23b8389ca2 100644 --- a/msgraph/generated/device_management/reports/reports_request_builder.py +++ b/msgraph/generated/device_management/reports/reports_request_builder.py @@ -34,6 +34,7 @@ from .get_policy_non_compliance_summary_report.get_policy_non_compliance_summary_report_request_builder import GetPolicyNonComplianceSummaryReportRequestBuilder from .get_report_filters.get_report_filters_request_builder import GetReportFiltersRequestBuilder from .get_setting_non_compliance_report.get_setting_non_compliance_report_request_builder import GetSettingNonComplianceReportRequestBuilder + from .retrieve_device_app_installation_status_report.retrieve_device_app_installation_status_report_request_builder import RetrieveDeviceAppInstallationStatusReportRequestBuilder class ReportsRequestBuilder(BaseRequestBuilder): """ @@ -329,6 +330,15 @@ def get_setting_non_compliance_report(self) -> GetSettingNonComplianceReportRequ return GetSettingNonComplianceReportRequestBuilder(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) + @dataclass class ReportsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_post_request_body.py b/msgraph/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/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/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_request_builder.py b/msgraph/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_request_builder.py new file mode 100644 index 00000000000..10e3144f4f9 --- /dev/null +++ b/msgraph/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_request_builder.py @@ -0,0 +1,85 @@ +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 .retrieve_device_app_installation_status_report_post_request_body import RetrieveDeviceAppInstallationStatusReportPostRequestBody + +class RetrieveDeviceAppInstallationStatusReportRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveDeviceAppInstallationStatusReport method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + 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/reports/retrieveDeviceAppInstallationStatusReport", path_parameters) + + async def post(self,body: RetrieveDeviceAppInstallationStatusReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: + """ + Invoke action retrieveDeviceAppInstallationStatusReport + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: bytes + """ + 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_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: RetrieveDeviceAppInstallationStatusReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + 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 + """ + 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/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) -> 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: RetrieveDeviceAppInstallationStatusReportRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RetrieveDeviceAppInstallationStatusReportRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/device_management/resource_operations/count/count_request_builder.py b/msgraph/generated/device_management/resource_operations/count/count_request_builder.py index 9f16e5f2fb9..288e155b9b3 100644 --- a/msgraph/generated/device_management/resource_operations/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/role_assignments/count/count_request_builder.py b/msgraph/generated/device_management/role_assignments/count/count_request_builder.py index 3d124ab5250..e8c7e1eecea 100644 --- a/msgraph/generated/device_management/role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/role_definitions/count/count_request_builder.py b/msgraph/generated/device_management/role_definitions/count/count_request_builder.py index 05f97400d7d..53ceb787d70 100644 --- a/msgraph/generated/device_management/role_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py index de3f265b8ef..4c8d56df64e 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index a5dc2e4463e..d66582f727c 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a roleDefinition. + Deletes a deviceAndAppManagementRoleDefinition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: RoleDefinition, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a roleDefinition. + Deletes a deviceAndAppManagementRoleDefinition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py index 3d8189289fe..e060ffa0f1b 100644 --- a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -48,10 +48,10 @@ def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemReq async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinitionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: RoleDefinition, request_configuration: Optional[Reques def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py b/msgraph/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py index 0f6e1b1a9c3..56d6b8f862c 100644 --- a/msgraph/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/terms_and_conditions/count/count_request_builder.py b/msgraph/generated/device_management/terms_and_conditions/count/count_request_builder.py index 2a0d6b41e51..bb7cc01e73f 100644 --- a/msgraph/generated/device_management/terms_and_conditions/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py b/msgraph/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py index ba2ce32cd6f..d78bfa8d909 100644 --- a/msgraph/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py b/msgraph/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py index 75e1f1240be..90bf630f976 100644 --- a/msgraph/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/troubleshooting_events/count/count_request_builder.py b/msgraph/generated/device_management/troubleshooting_events/count/count_request_builder.py index 2fef83ce5a4..15473a8b93c 100644 --- a/msgraph/generated/device_management/troubleshooting_events/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py index 6f41d1fc207..12338bec81c 100644 --- a/msgraph/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/count/count_request_builder.py b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/count/count_request_builder.py b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/count/count_request_builder.py b/msgraph/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/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py index 986039c73d1..ebe36d19b7a 100644 --- a/msgraph/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py index 87c7525d84d..8eed7e43842 100644 --- a/msgraph/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py index ad76cb69d9e..f120d1fa8cb 100644 --- a/msgraph/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py index aa7b353f16a..1a5f2e3e787 100644 --- a/msgraph/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py index dd466e27a39..f45d05bb63c 100644 --- a/msgraph/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py index bf42a0db075..16fe0820121 100644 --- a/msgraph/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py index 7212ec59c08..cb197312438 100644 --- a/msgraph/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py index 542cf22d265..05f9e1347b3 100644 --- a/msgraph/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py index b0c1c414395..980226d4b54 100644 --- a/msgraph/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py index 245e59ebefa..7859c68062a 100644 --- a/msgraph/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py index dc0924ba7e2..44c42d2d354 100644 --- a/msgraph/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py index b7be28d664c..75a6aa281b1 100644 --- a/msgraph/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py index f482bc81c2a..8faa21c7604 100644 --- a/msgraph/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py index 5d25da2b996..42a40bc4ea9 100644 --- a/msgraph/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py index 1f978f816e6..2ceaf9aec2f 100644 --- a/msgraph/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py index 7a1cd46318a..59a22da8190 100644 --- a/msgraph/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py index 52c9d3f2906..2ee20297f0e 100644 --- a/msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py index 38720729f0f..931a75f32d6 100644 --- a/msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py b/msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py index 3c71a364bc2..83d26ac4f05 100644 --- a/msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py index a1c3f5b70f2..691c9a9ea34 100644 --- a/msgraph/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py b/msgraph/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py index dcc7cf17820..5405780ff1f 100644 --- a/msgraph/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py index 96fc56b7692..f4716f0eab9 100644 --- a/msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py index 5048f8ec472..b7ab289a10b 100644 --- a/msgraph/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py b/msgraph/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py index 32fe6c6b72f..22b0adc61e2 100644 --- a/msgraph/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py index 2b17459f7a3..ff473a86451 100644 --- a/msgraph/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py index 84c7b509792..3718155e1d4 100644 --- a/msgraph/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py index fe8b7c607ee..61e83282200 100644 --- a/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py b/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py index 7369efda905..3dea5d095b1 100644 --- a/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py index 311a1f4bce9..35110b0109e 100644 --- a/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py index 67e5778ab56..d08c9ce6038 100644 --- a/msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/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/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..bf49cc5fdaf --- /dev/null +++ b/msgraph/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. 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. 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. 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/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py b/msgraph/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/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py index 7966e6fafed..7c1f387ce2c 100644 --- a/msgraph/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py b/msgraph/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py index f5500c53842..7e4e72d6570 100644 --- a/msgraph/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py +++ b/msgraph/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/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py b/msgraph/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py index f1e7fa7ad40..0804057cd48 100644 --- a/msgraph/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py b/msgraph/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py index a3e96ad6f69..22918ba34e3 100644 --- a/msgraph/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py b/msgraph/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py index 6e37a24459f..cd8c3059bba 100644 --- a/msgraph/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py b/msgraph/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py index ba1c8f0864a..dab75326d7b 100644 --- a/msgraph/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/windows_malware_information/count/count_request_builder.py b/msgraph/generated/device_management/windows_malware_information/count/count_request_builder.py index f6b1ccd0015..8cf00874200 100644 --- a/msgraph/generated/device_management/windows_malware_information/count/count_request_builder.py +++ b/msgraph/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/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py b/msgraph/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py index fda9f6c038d..18fdaf00176 100644 --- a/msgraph/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py +++ b/msgraph/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/generated/devices/count/count_request_builder.py b/msgraph/generated/devices/count/count_request_builder.py index 58689a2aec3..9110cdb7f09 100644 --- a/msgraph/generated/devices/count/count_request_builder.py +++ b/msgraph/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/generated/devices/delta/delta_get_response.py b/msgraph/generated/devices/delta/delta_get_response.py index c79ec7cf8c2..5df1421bd36 100644 --- a/msgraph/generated/devices/delta/delta_get_response.py +++ b/msgraph/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/generated/devices/delta/delta_request_builder.py b/msgraph/generated/devices/delta/delta_request_builder.py index 3bf4e3c83c9..de87ed4dc7e 100644 --- a/msgraph/generated/devices/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/devices/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/devices/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/devices/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/devices/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/devices/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/devices/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/devices/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/devices/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/devices/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/devices/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/devices/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/devices/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/devices/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/devices/item/extensions/count/count_request_builder.py b/msgraph/generated/devices/item/extensions/count/count_request_builder.py index 049e7fd9c6e..a180a36a8e9 100644 --- a/msgraph/generated/devices/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/devices/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/devices/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/devices/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/devices/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/devices/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/devices/item/member_of/count/count_request_builder.py b/msgraph/generated/devices/item/member_of/count/count_request_builder.py index 6bf3a76cbf3..08ea32a14e3 100644 --- a/msgraph/generated/devices/item/member_of/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py index e01d7f04626..53167adfd7a 100644 --- a/msgraph/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/member_of/graph_group/count/count_request_builder.py b/msgraph/generated/devices/item/member_of/graph_group/count/count_request_builder.py index fc5a7419d14..136c6e4a11c 100644 --- a/msgraph/generated/devices/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_owners/count/count_request_builder.py b/msgraph/generated/devices/item/registered_owners/count/count_request_builder.py index cf24522cb9a..4622f0fe6e6 100644 --- a/msgraph/generated/devices/item/registered_owners/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_owners/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/devices/item/registered_owners/graph_app_role_assignment/count/count_request_builder.py index 28be53b84d3..e987a44d18a 100644 --- a/msgraph/generated/devices/item/registered_owners/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/devices/item/registered_owners/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py b/msgraph/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py index 6b932b7d4f8..0f689512815 100644 --- a/msgraph/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py b/msgraph/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py index b0537275991..b5e18415538 100644 --- a/msgraph/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py b/msgraph/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py index d4976f2e9a4..84cbc7be90a 100644 --- a/msgraph/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_users/count/count_request_builder.py b/msgraph/generated/devices/item/registered_users/count/count_request_builder.py index fa5502b21e6..cc007a2e772 100644 --- a/msgraph/generated/devices/item/registered_users/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_users/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/devices/item/registered_users/graph_app_role_assignment/count/count_request_builder.py index 5bb0f964ffb..ab64633614d 100644 --- a/msgraph/generated/devices/item/registered_users/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/devices/item/registered_users/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py b/msgraph/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py index d990208a3b7..ae51309648f 100644 --- a/msgraph/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py b/msgraph/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py index 64bb996bc74..66b65cff975 100644 --- a/msgraph/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/registered_users/graph_user/count/count_request_builder.py b/msgraph/generated/devices/item/registered_users/graph_user/count/count_request_builder.py index 89dec4fbfa3..a23e0cdf9e5 100644 --- a/msgraph/generated/devices/item/registered_users/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/transitive_member_of/count/count_request_builder.py b/msgraph/generated/devices/item/transitive_member_of/count/count_request_builder.py index 231e906a336..a0c99fb0341 100644 --- a/msgraph/generated/devices/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index a4d9d78737e..713d0248693 100644 --- a/msgraph/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py index 77874226247..c9afe63533a 100644 --- a/msgraph/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/administrative_units_request_builder.py b/msgraph/generated/directory/administrative_units/administrative_units_request_builder.py index a800c3fe8af..a52dad52b4e 100644 --- a/msgraph/generated/directory/administrative_units/administrative_units_request_builder.py +++ b/msgraph/generated/directory/administrative_units/administrative_units_request_builder.py @@ -70,7 +70,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] @@ -105,7 +105,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/generated/directory/administrative_units/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/count/count_request_builder.py index e2e5eddaab7..23334f335d9 100644 --- a/msgraph/generated/directory/administrative_units/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/delta/delta_get_response.py b/msgraph/generated/directory/administrative_units/delta/delta_get_response.py index ba17ca1e0d8..cefe8d36125 100644 --- a/msgraph/generated/directory/administrative_units/delta/delta_get_response.py +++ b/msgraph/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/generated/directory/administrative_units/item/extensions/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/extensions/count/count_request_builder.py index 96782dd0853..17187c4c0cf 100644 --- a/msgraph/generated/directory/administrative_units/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/count/count_request_builder.py index e6214d0a497..c0a3de40fdf 100644 --- a/msgraph/generated/directory/administrative_units/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py index dc36e655ff4..a9e9650997c 100644 --- a/msgraph/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py index 7106b08a47b..0234b42afab 100644 --- a/msgraph/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py index a6bb09adf00..2da9bf92380 100644 --- a/msgraph/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py index 02960c10c84..042608539ab 100644 --- a/msgraph/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py index 9798fb40c0f..822e061e513 100644 --- a/msgraph/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py index 5d67d745079..878d13a78f8 100644 --- a/msgraph/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py b/msgraph/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py index 4f887b60d3a..97238ee7439 100644 --- a/msgraph/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py +++ b/msgraph/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/generated/directory/attribute_sets/count/count_request_builder.py b/msgraph/generated/directory/attribute_sets/count/count_request_builder.py index a365ecbf301..474ee3b57d2 100644 --- a/msgraph/generated/directory/attribute_sets/count/count_request_builder.py +++ b/msgraph/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/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py b/msgraph/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py index 97e668a628b..e991bed64ad 100644 --- a/msgraph/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py b/msgraph/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py index be390bc89b2..85761a5d52e 100644 --- a/msgraph/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/count/count_request_builder.py index 7b7c7b648f0..0b17bcb2da8 100644 --- a/msgraph/generated/directory/deleted_items/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_post_response.py index 99f2ea93650..d2417c97dbd 100644 --- a/msgraph/generated/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py index 6bc28723aee..4cde1cd139e 100644 --- a/msgraph/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py index 3d72365fe99..106427c2b69 100644 --- a/msgraph/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/graph_application/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/graph_application/count/count_request_builder.py index b1967ecd741..cccbba8130c 100644 --- a/msgraph/generated/directory/deleted_items/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/graph_device/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/graph_device/count/count_request_builder.py index 68b763d7ef4..a9c674a6f31 100644 --- a/msgraph/generated/directory/deleted_items/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/graph_group/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/graph_group/count/count_request_builder.py index 586d4aa3fb8..9be8fa8fae3 100644 --- a/msgraph/generated/directory/deleted_items/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py index 8e0fb4b5905..5d3411bcb2f 100644 --- a/msgraph/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/graph_user/count/count_request_builder.py b/msgraph/generated/directory/deleted_items/graph_user/count/count_request_builder.py index 876c6b2bc84..b1b869a2c6d 100644 --- a/msgraph/generated/directory/deleted_items/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py index 3d871626521..2d0264a6720 100644 --- a/msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py index 1257ad37d72..9ce3d122bbb 100644 --- a/msgraph/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py index bb4e852e6fd..1ae4c83e831 100644 --- a/msgraph/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py index 5cd63f592d9..7f32bd5d5ee 100644 --- a/msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/directory/device_local_credentials/count/count_request_builder.py b/msgraph/generated/directory/device_local_credentials/count/count_request_builder.py index 6e352428355..83fb4bb2fcd 100644 --- a/msgraph/generated/directory/device_local_credentials/count/count_request_builder.py +++ b/msgraph/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/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py b/msgraph/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py index 9a1ce4cf6e6..db11a9e783e 100644 --- a/msgraph/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py +++ b/msgraph/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/generated/directory/federation_configurations/count/count_request_builder.py b/msgraph/generated/directory/federation_configurations/count/count_request_builder.py index f90fd7d70bb..c10bc6f1f7d 100644 --- a/msgraph/generated/directory/federation_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/directory/on_premises_synchronization/count/count_request_builder.py b/msgraph/generated/directory/on_premises_synchronization/count/count_request_builder.py index 9f8c6898b07..7e27d47f2b4 100644 --- a/msgraph/generated/directory/on_premises_synchronization/count/count_request_builder.py +++ b/msgraph/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/generated/directory/subscriptions/count/count_request_builder.py b/msgraph/generated/directory/subscriptions/count/count_request_builder.py index 7e5bf38d22a..8a0af8fc5b2 100644 --- a/msgraph/generated/directory/subscriptions/count/count_request_builder.py +++ b/msgraph/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/generated/directory_objects/count/count_request_builder.py b/msgraph/generated/directory_objects/count/count_request_builder.py index 72144bbf919..04ab0e653ec 100644 --- a/msgraph/generated/directory_objects/count/count_request_builder.py +++ b/msgraph/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/generated/directory_objects/delta/delta_get_response.py b/msgraph/generated/directory_objects/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph/generated/directory_objects/delta/delta_get_response.py +++ b/msgraph/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/generated/directory_objects/delta/delta_request_builder.py b/msgraph/generated/directory_objects/delta/delta_request_builder.py index 9baaee9f009..c4f7d15b260 100644 --- a/msgraph/generated/directory_objects/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/directory_objects/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/directory_objects/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/directory_objects/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/directory_objects/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/directory_objects/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/directory_objects/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/directory_objects/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/directory_role_templates/count/count_request_builder.py b/msgraph/generated/directory_role_templates/count/count_request_builder.py index 320be1b1ad4..a100b7cb6a4 100644 --- a/msgraph/generated/directory_role_templates/count/count_request_builder.py +++ b/msgraph/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/generated/directory_role_templates/delta/delta_get_response.py b/msgraph/generated/directory_role_templates/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph/generated/directory_role_templates/delta/delta_get_response.py +++ b/msgraph/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/generated/directory_role_templates/delta/delta_request_builder.py b/msgraph/generated/directory_role_templates/delta/delta_request_builder.py index c11c0de791b..c6e0b723641 100644 --- a/msgraph/generated/directory_role_templates/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/directory_role_templates/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/directory_role_templates/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/directory_role_templates/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/directory_role_templates/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/directory_roles/count/count_request_builder.py b/msgraph/generated/directory_roles/count/count_request_builder.py index dfee8c71f3c..f420616c678 100644 --- a/msgraph/generated/directory_roles/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/delta/delta_get_response.py b/msgraph/generated/directory_roles/delta/delta_get_response.py index 0822ce012e1..8c8801d9021 100644 --- a/msgraph/generated/directory_roles/delta/delta_get_response.py +++ b/msgraph/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/generated/directory_roles/delta/delta_request_builder.py b/msgraph/generated/directory_roles/delta/delta_request_builder.py index b75ff896be3..fedd8110ebe 100644 --- a/msgraph/generated/directory_roles/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/directory_roles/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/directory_roles/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/directory_roles/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/directory_roles/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/directory_roles/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/directory_roles/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/directory_roles/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/directory_roles/item/members/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/count/count_request_builder.py index 025a1c1b144..d8756e92b26 100644 --- a/msgraph/generated/directory_roles/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/members/graph_application/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/graph_application/count/count_request_builder.py index ecf893a3c8e..116962da623 100644 --- a/msgraph/generated/directory_roles/item/members/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/members/graph_device/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/graph_device/count/count_request_builder.py index 92bba0b35bb..15226b417aa 100644 --- a/msgraph/generated/directory_roles/item/members/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/members/graph_group/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/graph_group/count/count_request_builder.py index 0737184f363..3b1743680fd 100644 --- a/msgraph/generated/directory_roles/item/members/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py index 554f42d21d8..bea5d2d9106 100644 --- a/msgraph/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py index 9d259e6fa06..7dbed3b1e56 100644 --- a/msgraph/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/members/graph_user/count/count_request_builder.py b/msgraph/generated/directory_roles/item/members/graph_user/count/count_request_builder.py index 41d229872a7..045ece6265d 100644 --- a/msgraph/generated/directory_roles/item/members/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/directory_roles/item/scoped_members/count/count_request_builder.py b/msgraph/generated/directory_roles/item/scoped_members/count/count_request_builder.py index e91f149dcdd..43edb97deb8 100644 --- a/msgraph/generated/directory_roles/item/scoped_members/count/count_request_builder.py +++ b/msgraph/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/generated/domain_dns_records/count/count_request_builder.py b/msgraph/generated/domain_dns_records/count/count_request_builder.py index b8dc32ed3a7..a4f16b8beba 100644 --- a/msgraph/generated/domain_dns_records/count/count_request_builder.py +++ b/msgraph/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/generated/domains/count/count_request_builder.py b/msgraph/generated/domains/count/count_request_builder.py index 53ca0563e26..af30860c496 100644 --- a/msgraph/generated/domains/count/count_request_builder.py +++ b/msgraph/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/generated/domains/item/domain_name_references/count/count_request_builder.py b/msgraph/generated/domains/item/domain_name_references/count/count_request_builder.py index 11cce0f77e6..bc1544571ed 100644 --- a/msgraph/generated/domains/item/domain_name_references/count/count_request_builder.py +++ b/msgraph/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/generated/domains/item/federation_configuration/count/count_request_builder.py b/msgraph/generated/domains/item/federation_configuration/count/count_request_builder.py index 11cf6403819..434eb7b7da1 100644 --- a/msgraph/generated/domains/item/federation_configuration/count/count_request_builder.py +++ b/msgraph/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/generated/domains/item/service_configuration_records/count/count_request_builder.py b/msgraph/generated/domains/item/service_configuration_records/count/count_request_builder.py index 631ec27eb92..8ff117d529b 100644 --- a/msgraph/generated/domains/item/service_configuration_records/count/count_request_builder.py +++ b/msgraph/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/generated/domains/item/verification_dns_records/count/count_request_builder.py b/msgraph/generated/domains/item/verification_dns_records/count/count_request_builder.py index ce71a6924a2..7a2cb39b06a 100644 --- a/msgraph/generated/domains/item/verification_dns_records/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/bundles/count/count_request_builder.py b/msgraph/generated/drives/item/bundles/count/count_request_builder.py index 363ba4edbff..288eb39105c 100644 --- a/msgraph/generated/drives/item/bundles/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 628282ffb52..dff8dc6a290 100644 --- a/msgraph/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/following/count/count_request_builder.py b/msgraph/generated/drives/item/following/count/count_request_builder.py index 8d6f86c1b62..a1f2a34f9a0 100644 --- a/msgraph/generated/drives/item/following/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/count/count_request_builder.py b/msgraph/generated/drives/item/items/count/count_request_builder.py index 00cc7044361..ab69ed8054c 100644 --- a/msgraph/generated/drives/item/items/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py index 425b89840f8..8a492440cf9 100644 --- a/msgraph/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py index 70ec63621c2..1f259f943f4 100644 --- a/msgraph/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py b/msgraph/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py index df7af5b7e22..f91b068db3e 100644 --- a/msgraph/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/children/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/children/count/count_request_builder.py index 7cf31d617ed..12a61e4fd12 100644 --- a/msgraph/generated/drives/item/items/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/copy/copy_post_request_body.py b/msgraph/generated/drives/item/items/item/copy/copy_post_request_body.py index 46cb5b8c015..2b5c6fbdec3 100644 --- a/msgraph/generated/drives/item/items/item/copy/copy_post_request_body.py +++ b/msgraph/generated/drives/item/items/item/copy/copy_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/generated/drives/item/items/item/create_link/create_link_post_request_body.py b/msgraph/generated/drives/item/items/item/create_link/create_link_post_request_body.py index 8bc35b6a387..c9d5ebb0dd0 100644 --- a/msgraph/generated/drives/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py index b7ffe0a3462..ceab219e8d9 100644 --- a/msgraph/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 840e1324edb..09cf48eecd0 100644 --- a/msgraph/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/delta/delta_get_response.py b/msgraph/generated/drives/item/items/item/delta/delta_get_response.py index 946da8b05a8..ac146816fa3 100644 --- a/msgraph/generated/drives/item/items/item/delta/delta_get_response.py +++ b/msgraph/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/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py b/msgraph/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py index f8cf1c13cd0..d60a2b787d7 100644 --- a/msgraph/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py +++ b/msgraph/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/generated/drives/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/drives/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py index 476681fe7b6..d0ca17d525a 100644 --- a/msgraph/generated/drives/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/drives/item/items/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/generated/drives/item/items/item/invite/invite_post_request_body.py b/msgraph/generated/drives/item/items/item/invite/invite_post_request_body.py index 00fef19a657..2c7662c1dbd 100644 --- a/msgraph/generated/drives/item/items/item/invite/invite_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/invite/invite_post_response.py b/msgraph/generated/drives/item/items/item/invite/invite_post_response.py index ae48bfa3333..36d8db01d41 100644 --- a/msgraph/generated/drives/item/items/item/invite/invite_post_response.py +++ b/msgraph/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/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index c2806231164..6a5d5405fa9 100644 --- a/msgraph/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/permissions/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/permissions/count/count_request_builder.py index 378b3d85d1a..d90c97b93e5 100644 --- a/msgraph/generated/drives/item/items/item/permissions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py b/msgraph/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py b/msgraph/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py +++ b/msgraph/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/generated/drives/item/items/item/restore/restore_post_request_body.py b/msgraph/generated/drives/item/items/item/restore/restore_post_request_body.py index 55af12a7116..8357cfac1d6 100644 --- a/msgraph/generated/drives/item/items/item/restore/restore_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py b/msgraph/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py index 48f46248fff..08decb856a1 100644 --- a/msgraph/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py +++ b/msgraph/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/generated/drives/item/items/item/subscriptions/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/subscriptions/count/count_request_builder.py index 37dd2e1c3c2..a388e0c93c5 100644 --- a/msgraph/generated/drives/item/items/item/subscriptions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/thumbnails/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/thumbnails/count/count_request_builder.py index 2d69050bc07..0a843f42f40 100644 --- a/msgraph/generated/drives/item/items/item/thumbnails/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/versions/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/versions/count/count_request_builder.py index 2647a25905f..badfdb13b93 100644 --- a/msgraph/generated/drives/item/items/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py index 474816fbe25..3f19245addd 100644 --- a/msgraph/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py index 9f03c624660..4ba1b5d749e 100644 --- a/msgraph/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/names/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/names/count/count_request_builder.py index 4898cfeb8d5..4bb24d20243 100644 --- a/msgraph/generated/drives/item/items/item/workbook/names/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index a31c07d3e33..fe2e0f79115 100644 --- a/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py @@ -125,10 +125,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -224,7 +224,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py index fcd8c23976f..c38aa124bb7 100644 --- a/msgraph/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py b/msgraph/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py index f86c44af5e5..c38ae00e6e4 100644 --- a/msgraph/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py b/msgraph/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/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py b/msgraph/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py index 19b356e9ee1..524ab6265f1 100644 --- a/msgraph/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py index 46528bdc2f2..a55a8dfaaef 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py index e672cf4b535..fc67b186512 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index c5a93505f8d..1c9281fe3c9 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py @@ -125,10 +125,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -224,7 +224,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py index 5737948c3a6..5d448069074 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py index bea06bfc2e9..fee429939af 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py +++ b/msgraph/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/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_post_request_body.py b/msgraph/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/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_post_request_body.py +++ b/msgraph/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/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/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/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/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/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py index 62c73952c1f..ed039d407fa 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py +++ b/msgraph/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/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index d2f4e23d16f..47537b0f025 100644 --- a/msgraph/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/columns/count/count_request_builder.py b/msgraph/generated/drives/item/list_/columns/count/count_request_builder.py index b3536f5bece..700c3dd11e0 100644 --- a/msgraph/generated/drives/item/list_/columns/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/content_types/count/count_request_builder.py b/msgraph/generated/drives/item/list_/content_types/count/count_request_builder.py index 5f9301c437a..02015f7e97d 100644 --- a/msgraph/generated/drives/item/list_/content_types/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph/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/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph/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/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py b/msgraph/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py index 8ac4976cde9..4e3f6f03b5f 100644 --- a/msgraph/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py b/msgraph/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py index bd9a831f929..eb1e429ad1b 100644 --- a/msgraph/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py b/msgraph/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py index 99d12065b6e..01aa7f6dee8 100644 --- a/msgraph/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py b/msgraph/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py index 35eb23667b7..71d019c38f1 100644 --- a/msgraph/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph/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/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph/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/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py index 3e6c984ee60..f45a6d332fb 100644 --- a/msgraph/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/items/count/count_request_builder.py b/msgraph/generated/drives/item/list_/items/count/count_request_builder.py index d7726354001..536aff071c3 100644 --- a/msgraph/generated/drives/item/list_/items/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/items/delta/delta_get_response.py b/msgraph/generated/drives/item/list_/items/delta/delta_get_response.py index bff6d827310..4789074b417 100644 --- a/msgraph/generated/drives/item/list_/items/delta/delta_get_response.py +++ b/msgraph/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/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py b/msgraph/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py index 04ee963a42d..24189c75f17 100644 --- a/msgraph/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph/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/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py b/msgraph/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py index 890bc5f54f0..ff3f5fb3f28 100644 --- a/msgraph/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py +++ b/msgraph/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/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 0537749b847..4e803b5ad63 100644 --- a/msgraph/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py b/msgraph/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py index b2d90cd2e4a..6c3cb7ecd0d 100644 --- a/msgraph/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/drives/item/list_/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py index 021a9aa493b..ca7b96b6470 100644 --- a/msgraph/generated/drives/item/list_/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/drives/item/list_/items/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 647157fc24b..f3efb35b667 100644 --- a/msgraph/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/items/item/versions/count/count_request_builder.py b/msgraph/generated/drives/item/list_/items/item/versions/count/count_request_builder.py index b1275526eb1..438398ecc42 100644 --- a/msgraph/generated/drives/item/list_/items/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index e9c415ecc05..667ad1ea1c6 100644 --- a/msgraph/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/operations/count/count_request_builder.py b/msgraph/generated/drives/item/list_/operations/count/count_request_builder.py index c22fe53b4e3..b0ba972287d 100644 --- a/msgraph/generated/drives/item/list_/operations/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/list_/subscriptions/count/count_request_builder.py b/msgraph/generated/drives/item/list_/subscriptions/count/count_request_builder.py index ca34b107226..959c74d1416 100644 --- a/msgraph/generated/drives/item/list_/subscriptions/count/count_request_builder.py +++ b/msgraph/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/generated/drives/item/recent/recent_get_response.py b/msgraph/generated/drives/item/recent/recent_get_response.py index 45f7b6c8316..d50b272b7cc 100644 --- a/msgraph/generated/drives/item/recent/recent_get_response.py +++ b/msgraph/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/generated/drives/item/search_with_q/search_with_q_get_response.py b/msgraph/generated/drives/item/search_with_q/search_with_q_get_response.py index c0dab3528cd..0b4c56f1ae7 100644 --- a/msgraph/generated/drives/item/search_with_q/search_with_q_get_response.py +++ b/msgraph/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/generated/drives/item/shared_with_me/shared_with_me_get_response.py b/msgraph/generated/drives/item/shared_with_me/shared_with_me_get_response.py index a17437742e2..acf9607fa72 100644 --- a/msgraph/generated/drives/item/shared_with_me/shared_with_me_get_response.py +++ b/msgraph/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/generated/drives/item/special/count/count_request_builder.py b/msgraph/generated/drives/item/special/count/count_request_builder.py index c561abaee04..1ab6402137c 100644 --- a/msgraph/generated/drives/item/special/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/count/count_request_builder.py b/msgraph/generated/education/classes/count/count_request_builder.py index 6d1e9f7e8e6..b7e6dd7049e 100644 --- a/msgraph/generated/education/classes/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/delta/delta_get_response.py b/msgraph/generated/education/classes/delta/delta_get_response.py index 2dc597ffdd8..0ea8325ad61 100644 --- a/msgraph/generated/education/classes/delta/delta_get_response.py +++ b/msgraph/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/generated/education/classes/item/assignment_categories/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignment_categories/count/count_request_builder.py index 208e1922347..2222ebe8c86 100644 --- a/msgraph/generated/education/classes/item/assignment_categories/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignment_categories/delta/delta_get_response.py b/msgraph/generated/education/classes/item/assignment_categories/delta/delta_get_response.py index 25c21b95a96..2a336394663 100644 --- a/msgraph/generated/education/classes/item/assignment_categories/delta/delta_get_response.py +++ b/msgraph/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/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py index e767ee0be7f..9f2fc9431e0 100644 --- a/msgraph/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/count/count_request_builder.py index ed6ea6976cf..5cb36ada38e 100644 --- a/msgraph/generated/education/classes/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/delta/delta_get_response.py b/msgraph/generated/education/classes/item/assignments/delta/delta_get_response.py index ec9f5194fc4..78d77c4320b 100644 --- a/msgraph/generated/education/classes/item/assignments/delta/delta_get_response.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py index 76cc5707416..c7ca93f95c0 100644 --- a/msgraph/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py b/msgraph/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py index 098872a3707..04552a3d0e5 100644 --- a/msgraph/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py index e5254077543..c2c3e21a478 100644 --- a/msgraph/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py index d845559e3dc..6d11bcee5df 100644 --- a/msgraph/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py index 67555fb3c84..341f90e2c17 100644 --- a/msgraph/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py index 32daaf2c229..aa8f83d2b04 100644 --- a/msgraph/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py index cf5b8c2d6ba..aee339941ae 100644 --- a/msgraph/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py index 1a8bbb2af9b..46e0845ccd9 100644 --- a/msgraph/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py index e297384e4fc..e6aa922bd3f 100644 --- a/msgraph/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/members/count/count_request_builder.py b/msgraph/generated/education/classes/item/members/count/count_request_builder.py index fd52aba342f..6602692ce67 100644 --- a/msgraph/generated/education/classes/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/modules/count/count_request_builder.py b/msgraph/generated/education/classes/item/modules/count/count_request_builder.py index 5e69902bd01..ed2751a91df 100644 --- a/msgraph/generated/education/classes/item/modules/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/modules/item/resources/count/count_request_builder.py b/msgraph/generated/education/classes/item/modules/item/resources/count/count_request_builder.py index 9b01a3faea3..a09d5b2dea3 100644 --- a/msgraph/generated/education/classes/item/modules/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/schools/count/count_request_builder.py b/msgraph/generated/education/classes/item/schools/count/count_request_builder.py index a014a97b898..306f85eb938 100644 --- a/msgraph/generated/education/classes/item/schools/count/count_request_builder.py +++ b/msgraph/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/generated/education/classes/item/teachers/count/count_request_builder.py b/msgraph/generated/education/classes/item/teachers/count/count_request_builder.py index 492a0b9e4b3..6276724b1a6 100644 --- a/msgraph/generated/education/classes/item/teachers/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/count/count_request_builder.py b/msgraph/generated/education/me/assignments/count/count_request_builder.py index e5774751842..0e96c41de90 100644 --- a/msgraph/generated/education/me/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/delta/delta_get_response.py b/msgraph/generated/education/me/assignments/delta/delta_get_response.py index 84e329062bf..10492251076 100644 --- a/msgraph/generated/education/me/assignments/delta/delta_get_response.py +++ b/msgraph/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/generated/education/me/assignments/item/categories/count/count_request_builder.py b/msgraph/generated/education/me/assignments/item/categories/count/count_request_builder.py index 6c77119c96f..0fb228b16e3 100644 --- a/msgraph/generated/education/me/assignments/item/categories/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/item/categories/delta/delta_get_response.py b/msgraph/generated/education/me/assignments/item/categories/delta/delta_get_response.py index 26ec23fb26f..75d690b5cc1 100644 --- a/msgraph/generated/education/me/assignments/item/categories/delta/delta_get_response.py +++ b/msgraph/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/generated/education/me/assignments/item/resources/count/count_request_builder.py b/msgraph/generated/education/me/assignments/item/resources/count/count_request_builder.py index 43d6579117b..01c573f744b 100644 --- a/msgraph/generated/education/me/assignments/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py b/msgraph/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py index ff8522c101e..556ea215acb 100644 --- a/msgraph/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/item/submissions/count/count_request_builder.py b/msgraph/generated/education/me/assignments/item/submissions/count/count_request_builder.py index 209859d3892..908de60e3f2 100644 --- a/msgraph/generated/education/me/assignments/item/submissions/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py b/msgraph/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py index 3b17af6a67b..206cb87d83b 100644 --- a/msgraph/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py b/msgraph/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py index e191f882d1d..f1668bd44ee 100644 --- a/msgraph/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py b/msgraph/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py index 131c4464afd..6359852a155 100644 --- a/msgraph/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/classes/count/count_request_builder.py b/msgraph/generated/education/me/classes/count/count_request_builder.py index 40fc93ad315..b7ecb81600c 100644 --- a/msgraph/generated/education/me/classes/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/rubrics/count/count_request_builder.py b/msgraph/generated/education/me/rubrics/count/count_request_builder.py index 11252816e17..00058744020 100644 --- a/msgraph/generated/education/me/rubrics/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/schools/count/count_request_builder.py b/msgraph/generated/education/me/schools/count/count_request_builder.py index 2df239e82f5..b47c9b7d185 100644 --- a/msgraph/generated/education/me/schools/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/taught_classes/count/count_request_builder.py b/msgraph/generated/education/me/taught_classes/count/count_request_builder.py index 7cb0c772514..b065b154edd 100644 --- a/msgraph/generated/education/me/taught_classes/count/count_request_builder.py +++ b/msgraph/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/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py index 4ac78ce73b1..a6f665aa95e 100644 --- a/msgraph/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/education/schools/count/count_request_builder.py b/msgraph/generated/education/schools/count/count_request_builder.py index 0404ed3f32c..1feb93acfe7 100644 --- a/msgraph/generated/education/schools/count/count_request_builder.py +++ b/msgraph/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/generated/education/schools/delta/delta_get_response.py b/msgraph/generated/education/schools/delta/delta_get_response.py index 204492215cf..413682cd965 100644 --- a/msgraph/generated/education/schools/delta/delta_get_response.py +++ b/msgraph/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/generated/education/schools/item/classes/count/count_request_builder.py b/msgraph/generated/education/schools/item/classes/count/count_request_builder.py index 0018e74b341..3d3a43d4688 100644 --- a/msgraph/generated/education/schools/item/classes/count/count_request_builder.py +++ b/msgraph/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/generated/education/schools/item/users/count/count_request_builder.py b/msgraph/generated/education/schools/item/users/count/count_request_builder.py index 7c631eb7cff..7148e8c2c40 100644 --- a/msgraph/generated/education/schools/item/users/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/count/count_request_builder.py b/msgraph/generated/education/users/count/count_request_builder.py index ff1c0cc872f..e877b548cc6 100644 --- a/msgraph/generated/education/users/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/delta/delta_get_response.py b/msgraph/generated/education/users/delta/delta_get_response.py index fc14e6a297b..32ed4c38141 100644 --- a/msgraph/generated/education/users/delta/delta_get_response.py +++ b/msgraph/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/generated/education/users/item/assignments/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/count/count_request_builder.py index f207b6e7752..cf0ec11b810 100644 --- a/msgraph/generated/education/users/item/assignments/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/delta/delta_get_response.py b/msgraph/generated/education/users/item/assignments/delta/delta_get_response.py index ec9f5194fc4..78d77c4320b 100644 --- a/msgraph/generated/education/users/item/assignments/delta/delta_get_response.py +++ b/msgraph/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/generated/education/users/item/assignments/item/categories/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/item/categories/count/count_request_builder.py index 6e220f0c91a..df7fcd31b3e 100644 --- a/msgraph/generated/education/users/item/assignments/item/categories/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py b/msgraph/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py index 098872a3707..04552a3d0e5 100644 --- a/msgraph/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py +++ b/msgraph/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/generated/education/users/item/assignments/item/resources/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/item/resources/count/count_request_builder.py index 0a27826548f..3a1ade65765 100644 --- a/msgraph/generated/education/users/item/assignments/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py b/msgraph/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py index 94a91136fab..e45895c6c1c 100644 --- a/msgraph/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py index fdb0712d459..1b02d3276fa 100644 --- a/msgraph/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py index b19d646bb5e..95a22968a5e 100644 --- a/msgraph/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py index 2a8b67e7412..7bd13d8238a 100644 --- a/msgraph/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py b/msgraph/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py index f6c81d588c7..183b9a1ca4b 100644 --- a/msgraph/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/classes/count/count_request_builder.py b/msgraph/generated/education/users/item/classes/count/count_request_builder.py index 05b0f7825dd..dd2f87a972c 100644 --- a/msgraph/generated/education/users/item/classes/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/rubrics/count/count_request_builder.py b/msgraph/generated/education/users/item/rubrics/count/count_request_builder.py index 639f11ed1bc..e9832a300a7 100644 --- a/msgraph/generated/education/users/item/rubrics/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/schools/count/count_request_builder.py b/msgraph/generated/education/users/item/schools/count/count_request_builder.py index f2581c05984..e1c5cc2a901 100644 --- a/msgraph/generated/education/users/item/schools/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/taught_classes/count/count_request_builder.py b/msgraph/generated/education/users/item/taught_classes/count/count_request_builder.py index 047f6507829..cddf8730693 100644 --- a/msgraph/generated/education/users/item/taught_classes/count/count_request_builder.py +++ b/msgraph/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/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py index 0ed005906f2..baf5973c146 100644 --- a/msgraph/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/communities/count/count_request_builder.py b/msgraph/generated/employee_experience/communities/count/count_request_builder.py index 64a9b26142b..118bad841cf 100644 --- a/msgraph/generated/employee_experience/communities/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/communities/item/community_item_request_builder.py b/msgraph/generated/employee_experience/communities/item/community_item_request_builder.py index ee77da15d79..46f8f40807c 100644 --- a/msgraph/generated/employee_experience/communities/item/community_item_request_builder.py +++ b/msgraph/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/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py index a984818a8f3..916b170d507 100644 --- a/msgraph/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/communities/item/owners/count/count_request_builder.py b/msgraph/generated/employee_experience/communities/item/owners/count/count_request_builder.py index 77c8694a525..fa36aa554fd 100644 --- a/msgraph/generated/employee_experience/communities/item/owners/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py index f656322f6d6..41dcfcb501b 100644 --- a/msgraph/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/communities/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py b/msgraph/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/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/generated/employee_experience/engagement_async_operations/count/count_request_builder.py b/msgraph/generated/employee_experience/engagement_async_operations/count/count_request_builder.py index 5d2e8217c5f..4cf387e6673 100644 --- a/msgraph/generated/employee_experience/engagement_async_operations/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/learning_course_activities/count/count_request_builder.py b/msgraph/generated/employee_experience/learning_course_activities/count/count_request_builder.py index 29ef149c17a..062430b3aef 100644 --- a/msgraph/generated/employee_experience/learning_course_activities/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/learning_providers/count/count_request_builder.py b/msgraph/generated/employee_experience/learning_providers/count/count_request_builder.py index 27304da5ea5..3e19f795a07 100644 --- a/msgraph/generated/employee_experience/learning_providers/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py b/msgraph/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py index 73651e3cef3..33be15e2b4f 100644 --- a/msgraph/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py +++ b/msgraph/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/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py b/msgraph/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py index 72ccba6e132..0977b616a10 100644 --- a/msgraph/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py +++ b/msgraph/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/generated/external/connections/count/count_request_builder.py b/msgraph/generated/external/connections/count/count_request_builder.py index e31c0b68405..b3402a38a42 100644 --- a/msgraph/generated/external/connections/count/count_request_builder.py +++ b/msgraph/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/generated/external/connections/item/groups/count/count_request_builder.py b/msgraph/generated/external/connections/item/groups/count/count_request_builder.py index 9376ecfa1b5..7d859148a5f 100644 --- a/msgraph/generated/external/connections/item/groups/count/count_request_builder.py +++ b/msgraph/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/generated/external/connections/item/groups/item/members/count/count_request_builder.py b/msgraph/generated/external/connections/item/groups/item/members/count/count_request_builder.py index 02007140d74..120cfe451ea 100644 --- a/msgraph/generated/external/connections/item/groups/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/external/connections/item/items/count/count_request_builder.py b/msgraph/generated/external/connections/item/items/count/count_request_builder.py index 59776e849b5..049fdcd8c21 100644 --- a/msgraph/generated/external/connections/item/items/count/count_request_builder.py +++ b/msgraph/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/generated/external/connections/item/items/item/activities/count/count_request_builder.py b/msgraph/generated/external/connections/item/items/item/activities/count/count_request_builder.py index ae3c1959c79..6d4f0ab0e7f 100644 --- a/msgraph/generated/external/connections/item/items/item/activities/count/count_request_builder.py +++ b/msgraph/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/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py index 92f9711406b..5c2a2db235e 100644 --- a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -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 object. + Update the properties of an externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new externalItem object. + Update the properties of an externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py b/msgraph/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py index ccecad545d1..eff6c245911 100644 --- a/msgraph/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py +++ b/msgraph/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/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py b/msgraph/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py index 36d8759a433..fea00ebe9d6 100644 --- a/msgraph/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py +++ b/msgraph/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/generated/external/connections/item/operations/count/count_request_builder.py b/msgraph/generated/external/connections/item/operations/count/count_request_builder.py index fa441d22307..01a81600500 100644 --- a/msgraph/generated/external/connections/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/filter_operators/count/count_request_builder.py b/msgraph/generated/filter_operators/count/count_request_builder.py index 74116f4578e..c41b5e604d2 100644 --- a/msgraph/generated/filter_operators/count/count_request_builder.py +++ b/msgraph/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/generated/functions/count/count_request_builder.py b/msgraph/generated/functions/count/count_request_builder.py index 3b02dd8cc8b..080f69ad8da 100644 --- a/msgraph/generated/functions/count/count_request_builder.py +++ b/msgraph/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/generated/group_lifecycle_policies/count/count_request_builder.py b/msgraph/generated/group_lifecycle_policies/count/count_request_builder.py index 8b5d886ce0d..3dc95db2728 100644 --- a/msgraph/generated/group_lifecycle_policies/count/count_request_builder.py +++ b/msgraph/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/generated/group_setting_templates/count/count_request_builder.py b/msgraph/generated/group_setting_templates/count/count_request_builder.py index a6106cd273c..e983ad315e4 100644 --- a/msgraph/generated/group_setting_templates/count/count_request_builder.py +++ b/msgraph/generated/group_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/generated/group_setting_templates/delta/delta_get_response.py b/msgraph/generated/group_setting_templates/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph/generated/group_setting_templates/delta/delta_get_response.py +++ b/msgraph/generated/group_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/generated/group_setting_templates/delta/delta_request_builder.py b/msgraph/generated/group_setting_templates/delta/delta_request_builder.py index 37cf086f366..209e6e36cdf 100644 --- a/msgraph/generated/group_setting_templates/delta/delta_request_builder.py +++ b/msgraph/generated/group_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-1.0 @@ -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/generated/group_setting_templates/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/group_setting_templates/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/group_setting_templates/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/group_setting_templates/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/group_setting_templates/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/group_setting_templates/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/group_setting_templates/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/generated/group_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/generated/group_setting_templates/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/generated/group_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/generated/group_setting_templates/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/group_setting_templates/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/group_setting_templates/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/generated/group_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/generated/group_setting_templates/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/group_setting_templates/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/group_setting_templates/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/generated/group_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/generated/group_setting_templates/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/generated/group_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/generated/group_settings/count/count_request_builder.py b/msgraph/generated/group_settings/count/count_request_builder.py index 6c1a850f2a3..39908255769 100644 --- a/msgraph/generated/group_settings/count/count_request_builder.py +++ b/msgraph/generated/group_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/generated/groups/count/count_request_builder.py b/msgraph/generated/groups/count/count_request_builder.py index 809630e5764..324b5db05c2 100644 --- a/msgraph/generated/groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/delta/delta_get_response.py b/msgraph/generated/groups/delta/delta_get_response.py index 1e236fcdde1..831301cb7f8 100644 --- a/msgraph/generated/groups/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/delta/delta_request_builder.py b/msgraph/generated/groups/delta/delta_request_builder.py index 9df2f59ef7b..fdc6d264b2b 100644 --- a/msgraph/generated/groups/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/groups/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/groups/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/groups/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/groups/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/groups/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/groups/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/groups/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/groups/groups_request_builder.py b/msgraph/generated/groups/groups_request_builder.py index cca06138efa..46d3e872db3 100644 --- a/msgraph/generated/groups/groups_request_builder.py +++ b/msgraph/generated/groups/groups_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupsRe async def post(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]: """ - Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/accepted_senders/count/count_request_builder.py b/msgraph/generated/groups/item/accepted_senders/count/count_request_builder.py index 0fec6b44052..af6359515ed 100644 --- a/msgraph/generated/groups/item/accepted_senders/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/app_role_assignments/count/count_request_builder.py b/msgraph/generated/groups/item/app_role_assignments/count/count_request_builder.py index 76d7fe28bdb..64b275a4b20 100644 --- a/msgraph/generated/groups/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/assign_license/assign_license_post_request_body.py b/msgraph/generated/groups/item/assign_license/assign_license_post_request_body.py index d274e0741b7..62c9bcac901 100644 --- a/msgraph/generated/groups/item/assign_license/assign_license_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph/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/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py index ba981f435f9..125aabd767c 100644 --- a/msgraph/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_view/count/count_request_builder.py index 80037da2360..5f06b864305 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py b/msgraph/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py index a5e2ca7bc27..ff8c025fdde 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py index fb2afbd21b4..d97af8c7e39 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py index 1e53bb2c423..cb010c43004 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 5a0e5749c52..6467bc58f04 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py index 73e796713e3..7f8cb9acd78 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/events/count/count_request_builder.py index e06366d0d58..94aef8fa8aa 100644 --- a/msgraph/generated/groups/item/calendar/events/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/events/delta/delta_get_response.py b/msgraph/generated/groups/item/calendar/events/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph/generated/groups/item/calendar/events/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py index fd9e40789d0..5f19d63c4c8 100644 --- a/msgraph/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py index 091caca5376..8f8cb777e5a 100644 --- a/msgraph/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py index f0dd236b971..75961a368a3 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py b/msgraph/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py index aa18a056eee..e1c37a2e99d 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py index d8ee810d083..d253d081d4d 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py b/msgraph/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py index a6c1c3389a8..959478db3b8 100644 --- a/msgraph/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py b/msgraph/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py index df00ee48e7d..41c1e11f113 100644 --- a/msgraph/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py +++ b/msgraph/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/generated/groups/item/calendar_view/count/count_request_builder.py b/msgraph/generated/groups/item/calendar_view/count/count_request_builder.py index 1a5e34caa25..03308980e43 100644 --- a/msgraph/generated/groups/item/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar_view/delta/delta_get_response.py b/msgraph/generated/groups/item/calendar_view/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph/generated/groups/item/calendar_view/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py index 1cdc4153c76..a3ef70b236b 100644 --- a/msgraph/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py index d1bab36e850..3c91bdd1104 100644 --- a/msgraph/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py index e5155a107c8..ad2689d3cca 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index ce238eb098e..7233e133a17 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index fd36fcee937..a08e3b360cb 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py b/msgraph/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py index 9b7082fab6c..c50583af02a 100644 --- a/msgraph/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py +++ b/msgraph/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/generated/groups/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/groups/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/groups/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/groups/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/groups/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/groups/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/groups/item/conversations/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/count/count_request_builder.py index 55857839459..90f30f2a849 100644 --- a/msgraph/generated/groups/item/conversations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index 66757ccee7b..f44d21b683b 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -83,7 +83,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of conversation object. + The group's conversations. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/conversations/item/threads/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/count/count_request_builder.py index 195a00038e8..9730efb4ef3 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py index bd7974851a2..4b915bc55d0 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py index 9f92bd3f243..6039706c4e6 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py index 07aeeafe556..1476d114387 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py index adc699aa276..5421f436dcd 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py index 6f76902e238..c3e40887393 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py index 59e5f06fec8..418ac79e4bf 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py b/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py index 840cd07d8e9..88b44b673d3 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py index 00cf3b7ca4f..68764ceb003 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/groups/item/drives/count/count_request_builder.py b/msgraph/generated/groups/item/drives/count/count_request_builder.py index 07d65c21bd5..f169241ac5c 100644 --- a/msgraph/generated/groups/item/drives/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/count/count_request_builder.py b/msgraph/generated/groups/item/events/count/count_request_builder.py index 5a1de37ef94..c8a9b91af6a 100644 --- a/msgraph/generated/groups/item/events/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/delta/delta_get_response.py b/msgraph/generated/groups/item/events/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph/generated/groups/item/events/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/events/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/events/item/attachments/count/count_request_builder.py index a3107d2cf5e..6cee1df27a4 100644 --- a/msgraph/generated/groups/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/events/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph/generated/groups/item/events/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/events/item/extensions/count/count_request_builder.py index 7c3bb2a0903..d84fe6cb8ba 100644 --- a/msgraph/generated/groups/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/events/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph/generated/groups/item/events/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/instances/count/count_request_builder.py b/msgraph/generated/groups/item/events/item/instances/count/count_request_builder.py index b4c9439c6f8..69e128d9ba7 100644 --- a/msgraph/generated/groups/item/events/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/item/instances/delta/delta_get_response.py b/msgraph/generated/groups/item/events/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph/generated/groups/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py index 26a8b9b6289..16e2dc47f24 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py index 912b9d028ba..8da666e6a03 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/groups/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/extensions/count/count_request_builder.py index 4b4b4d1c7ee..594a97b2af7 100644 --- a/msgraph/generated/groups/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/groups/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/groups/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/groups/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/groups/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/groups/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py b/msgraph/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py index 83815caca6c..83ff1f42d2f 100644 --- a/msgraph/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/member_of/count/count_request_builder.py b/msgraph/generated/groups/item/member_of/count/count_request_builder.py index d3a9d3ab559..849b3eb2c61 100644 --- a/msgraph/generated/groups/item/member_of/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py index dfaec6883ca..dd8a085b050 100644 --- a/msgraph/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/member_of/graph_group/count/count_request_builder.py b/msgraph/generated/groups/item/member_of/graph_group/count/count_request_builder.py index 4e038dccbab..9059f7e7fa1 100644 --- a/msgraph/generated/groups/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/count/count_request_builder.py b/msgraph/generated/groups/item/members/count/count_request_builder.py index b7dc6e37d96..b832eba2297 100644 --- a/msgraph/generated/groups/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/graph_application/count/count_request_builder.py b/msgraph/generated/groups/item/members/graph_application/count/count_request_builder.py index 2ab562e627b..10a55d122a3 100644 --- a/msgraph/generated/groups/item/members/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/graph_device/count/count_request_builder.py b/msgraph/generated/groups/item/members/graph_device/count/count_request_builder.py index b3ad7ecf5b8..1067819d6fd 100644 --- a/msgraph/generated/groups/item/members/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/graph_group/count/count_request_builder.py b/msgraph/generated/groups/item/members/graph_group/count/count_request_builder.py index b0416b0eccc..63381ce3d4c 100644 --- a/msgraph/generated/groups/item/members/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/graph_org_contact/count/count_request_builder.py b/msgraph/generated/groups/item/members/graph_org_contact/count/count_request_builder.py index ac8ab773c57..99775bd3804 100644 --- a/msgraph/generated/groups/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/graph_service_principal/count/count_request_builder.py b/msgraph/generated/groups/item/members/graph_service_principal/count/count_request_builder.py index 06bc40204f5..e35d95ac769 100644 --- a/msgraph/generated/groups/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members/graph_user/count/count_request_builder.py b/msgraph/generated/groups/item/members/graph_user/count/count_request_builder.py index ca04843ace4..4ab2bd0aa35 100644 --- a/msgraph/generated/groups/item/members/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/count/count_request_builder.py index 2573509261a..47920324595 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py index a904d065122..0c809bbdd78 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py index 9ea7dd75648..8e6c65fd8b6 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py index b8b79064a82..7fa601fa2b6 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py index f2096eb9a36..cf5563df60f 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py index a7b2cf0905b..0ccd98b9c3c 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py b/msgraph/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py index b0066e72c6c..9e210d47b17 100644 --- a/msgraph/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/count/count_request_builder.py index 7597e152a39..20c570f957f 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph/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/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index 6bf72657d47..8c1fb7a37f8 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index b9671b65b2a..06bf3139498 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index 453c7fc4ae3..4577057db55 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index aef68ee53d0..bcba30c3e00 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py index f673063c288..321760c1ed2 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index b5b13a675dd..e2a27535676 100644 --- a/msgraph/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/onenote/operations/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/operations/count/count_request_builder.py index c2bcf22c9d9..f1b25137ea2 100644 --- a/msgraph/generated/groups/item/onenote/operations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/pages/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/pages/count/count_request_builder.py index 6d5d9c98d2d..cde5c9e4f5e 100644 --- a/msgraph/generated/groups/item/onenote/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 2e2dbeec7bd..86090bbe17a 100644 --- a/msgraph/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/onenote/resources/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/resources/count/count_request_builder.py index c06a74d16b9..bb12eab8e4d 100644 --- a/msgraph/generated/groups/item/onenote/resources/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/section_groups/count/count_request_builder.py index ab011bf8642..8bed6f57169 100644 --- a/msgraph/generated/groups/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index af73ba80ac3..16bd8c4dffc 100644 --- a/msgraph/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py index a5230723d31..3015ef84e71 100644 --- a/msgraph/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index a53197076fb..047be4e1b0f 100644 --- a/msgraph/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/onenote/sections/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/sections/count/count_request_builder.py index 227848d0978..3671bf4224d 100644 --- a/msgraph/generated/groups/item/onenote/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py index cbc0c789694..c2948099aca 100644 --- a/msgraph/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/owners/count/count_request_builder.py b/msgraph/generated/groups/item/owners/count/count_request_builder.py index 27f19a69c78..ccc3f76e4e8 100644 --- a/msgraph/generated/groups/item/owners/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/owners/graph_application/count/count_request_builder.py b/msgraph/generated/groups/item/owners/graph_application/count/count_request_builder.py index db8d761d105..3e04726439d 100644 --- a/msgraph/generated/groups/item/owners/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/owners/graph_device/count/count_request_builder.py b/msgraph/generated/groups/item/owners/graph_device/count/count_request_builder.py index cbd7e55f1df..fdeafabccf0 100644 --- a/msgraph/generated/groups/item/owners/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/owners/graph_group/count/count_request_builder.py b/msgraph/generated/groups/item/owners/graph_group/count/count_request_builder.py index a7f391b26ce..bb4d23e86fb 100644 --- a/msgraph/generated/groups/item/owners/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py b/msgraph/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py index 23af1660163..382fef6c044 100644 --- a/msgraph/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py index c722be53389..aa0500460af 100644 --- a/msgraph/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/owners/graph_user/count/count_request_builder.py b/msgraph/generated/groups/item/owners/graph_user/count/count_request_builder.py index 3eb56a0a3e9..c4c4ea273f4 100644 --- a/msgraph/generated/groups/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/permission_grants/count/count_request_builder.py b/msgraph/generated/groups/item/permission_grants/count/count_request_builder.py index ca0969719a5..8913cfd64a1 100644 --- a/msgraph/generated/groups/item/permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/planner/plans/count/count_request_builder.py b/msgraph/generated/groups/item/planner/plans/count/count_request_builder.py index 317dd23977b..535663b650f 100644 --- a/msgraph/generated/groups/item/planner/plans/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py b/msgraph/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py index 004dffc0c66..500175ec975 100644 --- a/msgraph/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py b/msgraph/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py index 3c33538c121..eaa24743520 100644 --- a/msgraph/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py b/msgraph/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py index 37bf67bb767..f8a7b68b592 100644 --- a/msgraph/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/rejected_senders/count/count_request_builder.py b/msgraph/generated/groups/item/rejected_senders/count/count_request_builder.py index e0a5bb25321..01d651921b7 100644 --- a/msgraph/generated/groups/item/rejected_senders/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/groups/item/service_provisioning_errors/count/count_request_builder.py index 66930afd1d3..fd0389ba05c 100644 --- a/msgraph/generated/groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/settings/count/count_request_builder.py b/msgraph/generated/groups/item/settings/count/count_request_builder.py index 09a26df7659..61a27f67cf1 100644 --- a/msgraph/generated/groups/item/settings/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/add/add_post_request_body.py b/msgraph/generated/groups/item/sites/add/add_post_request_body.py index 55909bc1c21..d5504cf6e16 100644 --- a/msgraph/generated/groups/item/sites/add/add_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/add/add_post_response.py b/msgraph/generated/groups/item/sites/add/add_post_response.py index cccf2fb1a86..60ac780c4b9 100644 --- a/msgraph/generated/groups/item/sites/add/add_post_response.py +++ b/msgraph/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/generated/groups/item/sites/count/count_request_builder.py b/msgraph/generated/groups/item/sites/count/count_request_builder.py index 8c56cc36598..404ba560bd2 100644 --- a/msgraph/generated/groups/item/sites/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/delta/delta_get_response.py b/msgraph/generated/groups/item/sites/delta/delta_get_response.py index 3487cab5ddd..cbfe53796c9 100644 --- a/msgraph/generated/groups/item/sites/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py b/msgraph/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py index f256f306647..ff934a3b3de 100644 --- a/msgraph/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py +++ b/msgraph/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/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py index 19a5be39f46..76eaef6aa88 100644 --- a/msgraph/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py index d903afb5700..48a372f8883 100644 --- a/msgraph/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/columns/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/columns/count/count_request_builder.py index 297b7d637df..238716db9af 100644 --- a/msgraph/generated/groups/item/sites/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/content_types/count/count_request_builder.py index 407cad4e4e0..1412e3618fb 100644 --- a/msgraph/generated/groups/item/sites/item/content_types/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph/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/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py index c3c897d1e21..9ea838911a8 100644 --- a/msgraph/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py index 8588c17aafd..6128d778182 100644 --- a/msgraph/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py index d9d69173db7..369da2f1ec0 100644 --- a/msgraph/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py index 57c84732893..d94919ba2df 100644 --- a/msgraph/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph/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/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 773b5fb3365..120da35c5ae 100644 --- a/msgraph/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/drives/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/drives/count/count_request_builder.py index 7db321862f4..ee07ffbdf3c 100644 --- a/msgraph/generated/groups/item/sites/item/drives/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/external_columns/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/external_columns/count/count_request_builder.py index 65617b8fc5c..99cbc5c5f21 100644 --- a/msgraph/generated/groups/item/sites/item/external_columns/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/groups/item/sites/item/get_activities_by_interval/get_activities_by_interval_get_response.py index 476681fe7b6..d0ca17d525a 100644 --- a/msgraph/generated/groups/item/sites/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/groups/item/sites/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/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/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/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/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/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_interval_get_response.py index 021a9aa493b..ca7b96b6470 100644 --- a/msgraph/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_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/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/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/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/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/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/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/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/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/generated/groups/item/sites/item/items/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/items/count/count_request_builder.py index 4d1b5b822ea..6bafb1c0547 100644 --- a/msgraph/generated/groups/item/sites/item/items/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index c6d57fc0fe8..285529f9bde 100644 --- a/msgraph/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/count/count_request_builder.py index e59318361fd..64de223c249 100644 --- a/msgraph/generated/groups/item/sites/item/lists/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py index e14b1483c67..8b99fe81bb0 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py index d94c9e3ae4f..822a9d847c4 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py index 507c4eb7df4..36de930da4f 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py index 058c2a77464..3e8057a63c8 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py index fcc28092d6c..cc08ce3b8cd 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py index 299889c8139..5adfdb1d4d7 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index b9e2b8dd8ef..d67066c8a40 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py b/msgraph/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py index 33a4e58d899..524889a87d6 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py b/msgraph/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py index 599ad8ea330..416f7b264d2 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py b/msgraph/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py index a9cf8e76348..91052f8d6d4 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py index 2387f744ac0..e5d6a0f58a1 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py index 4ee9262a9cd..a16acc39e98 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py index f955c22eea5..3cc8982ed17 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py index 803f032639f..63d4101d592 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py index 122059ff354..34f8e615e0b 100644 --- a/msgraph/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py index 265c5542c30..9a25b3a90ba 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index 091d31ff709..c034c08d7a9 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index 37b4c51e8b2..767fe5db70c 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index ae80ad6d8d1..bd9faddef4f 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py index 153921c1959..c676bca90e9 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index f066dbaecd6..ca0d6b8f78b 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py index 5772f985296..c84eabd548e 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py index a1a6a9df70b..eb4df5d5318 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py index e4a7d1a5c08..99592d10d94 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py index 580628e0a43..5dd6ba82e21 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index 851fa025af5..84c8bbd3c93 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py index 218cecba987..a10f556ca4d 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index 73d83206bb1..af90673b487 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py index ecdcb6d05e4..2efff5a3eb0 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py index a0a3358c957..a7cfc8086f6 100644 --- a/msgraph/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/item/operations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/operations/count/count_request_builder.py index 642d8087d03..5f0ad889ae1 100644 --- a/msgraph/generated/groups/item/sites/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/pages/count/count_request_builder.py index 404adc88f81..9bcc91fadab 100644 --- a/msgraph/generated/groups/item/sites/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py index 7c59b93f196..072be19d391 100644 --- a/msgraph/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index b87c98d3bed..a147f8c1c01 100644 --- a/msgraph/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py index dcfc6cac1dc..af4abf7b9b6 100644 --- a/msgraph/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/permissions/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/permissions/count/count_request_builder.py index 757374b933f..b0c03a26183 100644 --- a/msgraph/generated/groups/item/sites/item/permissions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py b/msgraph/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py b/msgraph/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py +++ b/msgraph/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/generated/groups/item/sites/item/sites/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/sites/count/count_request_builder.py index ab543f49b92..a6f5181b28b 100644 --- a/msgraph/generated/groups/item/sites/item/sites/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py index 9c5a51dc3fa..9d074650f05 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py index 0f2b7cd3531..8f14075f1b1 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py index ca4f31e9982..d337c77fd40 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py index 206a4661b82..8691f535f6f 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py index 2e065c83284..9e7f23211e6 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py index fd1131b58e6..e68f8a74f1f 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py index 2fbbcd1508e..9f9881b6371 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py index a73fd1b4bee..bc4004bd496 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py index eb41c46d820..7fe60c5d4b1 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py index 3221288bae0..e74688ba2fe 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py index fa767ca1717..6ac02b6483a 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py index 89d95ee2318..0986bee5901 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py index 4b54bd689c1..8a478c0afb9 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py index 2c79e04344c..188fdeb73cf 100644 --- a/msgraph/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/sites/item/term_stores/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/count/count_request_builder.py index 94a13b41e74..6b1011d40fc 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_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/generated/groups/item/sites/item/term_stores/item/groups/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/count/count_request_builder.py index 093cdac6937..95f5df4528c 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/count/count_request_builder.py index 59b53cd75ae..258fb6d2777 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/count/count_request_builder.py index 30e5d3c125e..6aadd6bf80e 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/count/count_request_builder.py index 880405458f2..f7844a204e5 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index 05747e428a1..c5f062e52a3 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/count/count_request_builder.py index 2e5fd8a1616..63d19f4f805 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/count/count_request_builder.py index d384ff3488e..2e83966c764 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/count/count_request_builder.py index e4940bccf3f..ceade8efaff 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/count/count_request_builder.py index cf62ca49483..16ccd196d61 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 2d9598e33a5..461a6d4bc7c 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/count/count_request_builder.py index e44e446f559..d4aa637e170 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/count/count_request_builder.py index ee95f0611e5..328f0e6fcc0 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/count/count_request_builder.py index bf2c6ed97c1..46fb5329de7 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/children/count/count_request_builder.py index 161e8ee6eed..396c0a4cec7 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index d25705d22dc..8a742f4c3e9 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/count/count_request_builder.py index cf62e235d8c..67443e5862e 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/count/count_request_builder.py index 120646ae760..4171547b3f0 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/count/count_request_builder.py index 66a5dcbeb34..5555e42a8f3 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py index 675377cce10..a67be07d462 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py index 846391c1827..818565b55c7 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py index d1114676831..06dbea00f02 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/count/count_request_builder.py index 7a772a59c7c..4c9d1e4e4f5 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/count/count_request_builder.py index 6c3abb96b23..a1f998f345c 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py index 76ca7bcb74e..d8c23c4f82a 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py index eef94217aa0..bfb6df1e994 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py index 390ef02ba3b..a747cf5a1eb 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/item/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/generated/groups/item/sites/item/term_stores/item/sets/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/relations/count/count_request_builder.py index 4d19c3625e0..1dfc44c07e7 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/terms/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/count/count_request_builder.py index 2cba8453d3b..9004f68d77c 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/count/count_request_builder.py index 567b54731f3..c21dc031e0d 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 41a8cc836ee..a59cba53ffd 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/count/count_request_builder.py index d81a6244f91..606767f33b3 100644 --- a/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/generated/groups/item/sites/item/term_stores/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/generated/groups/item/sites/remove/remove_post_request_body.py b/msgraph/generated/groups/item/sites/remove/remove_post_request_body.py index 57701ce4446..9cbbba81e98 100644 --- a/msgraph/generated/groups/item/sites/remove/remove_post_request_body.py +++ b/msgraph/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/generated/groups/item/sites/remove/remove_post_response.py b/msgraph/generated/groups/item/sites/remove/remove_post_response.py index 31d429a1795..6261a971949 100644 --- a/msgraph/generated/groups/item/sites/remove/remove_post_response.py +++ b/msgraph/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/generated/groups/item/team/all_channels/count/count_request_builder.py b/msgraph/generated/groups/item/team/all_channels/count/count_request_builder.py index 44ea456b8f9..98ca3beadde 100644 --- a/msgraph/generated/groups/item/team/all_channels/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/count/count_request_builder.py index 3a32f7c4dfe..97f1932ba56 100644 --- a/msgraph/generated/groups/item/team/channels/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py index 743fbbbc659..b2d96c47ecd 100644 --- a/msgraph/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index ef204f71243..f5eb1125c37 100644 --- a/msgraph/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph/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/generated/groups/item/team/channels/item/members/add/add_post_request_body.py b/msgraph/generated/groups/item/team/channels/item/members/add/add_post_request_body.py index 169ae41524a..ab7e9af2cb0 100644 --- a/msgraph/generated/groups/item/team/channels/item/members/add/add_post_request_body.py +++ b/msgraph/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/generated/groups/item/team/channels/item/members/add/add_post_response.py b/msgraph/generated/groups/item/team/channels/item/members/add/add_post_response.py index 5eee4499256..ffa48911694 100644 --- a/msgraph/generated/groups/item/team/channels/item/members/add/add_post_response.py +++ b/msgraph/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/generated/groups/item/team/channels/item/members/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/members/count/count_request_builder.py index 3322fefe177..362182a5706 100644 --- a/msgraph/generated/groups/item/team/channels/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/messages/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/messages/count/count_request_builder.py index ba629c9236f..4e7bf97276e 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py b/msgraph/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py index bba09e73dae..f57178801d4 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py index f55dacf46e4..e54ec616462 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index dc6cc600c05..ef63477702c 100644 --- a/msgraph/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py index 3096a9d1a4b..3ea244bb3fc 100644 --- a/msgraph/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index ffd8846bf90..246e5092482 100644 --- a/msgraph/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py b/msgraph/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py index 6bd686efc5c..e15e9627645 100644 --- a/msgraph/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/clone/clone_post_request_body.py b/msgraph/generated/groups/item/team/clone/clone_post_request_body.py index 892a1b6f04e..793a93e8492 100644 --- a/msgraph/generated/groups/item/team/clone/clone_post_request_body.py +++ b/msgraph/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/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py index 1b8b38a35cb..a5f0b160a49 100644 --- a/msgraph/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/incoming_channels/count/count_request_builder.py b/msgraph/generated/groups/item/team/incoming_channels/count/count_request_builder.py index 9cd42c4ac92..2bb22f34c74 100644 --- a/msgraph/generated/groups/item/team/incoming_channels/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/installed_apps/count/count_request_builder.py b/msgraph/generated/groups/item/team/installed_apps/count/count_request_builder.py index d0c5cad3411..f31d5d2fc82 100644 --- a/msgraph/generated/groups/item/team/installed_apps/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py index 004d9d8a19b..133c5453dba 100644 --- a/msgraph/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph/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/generated/groups/item/team/members/add/add_post_request_body.py b/msgraph/generated/groups/item/team/members/add/add_post_request_body.py index 032237a2269..c8befc22279 100644 --- a/msgraph/generated/groups/item/team/members/add/add_post_request_body.py +++ b/msgraph/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/generated/groups/item/team/members/add/add_post_response.py b/msgraph/generated/groups/item/team/members/add/add_post_response.py index 13e1287093e..8d9ff833dae 100644 --- a/msgraph/generated/groups/item/team/members/add/add_post_response.py +++ b/msgraph/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/generated/groups/item/team/members/count/count_request_builder.py b/msgraph/generated/groups/item/team/members/count/count_request_builder.py index f576ef7d405..a86fac61ea0 100644 --- a/msgraph/generated/groups/item/team/members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/operations/count/count_request_builder.py b/msgraph/generated/groups/item/team/operations/count/count_request_builder.py index 59e9f200a00..37f17084fd6 100644 --- a/msgraph/generated/groups/item/team/operations/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/permission_grants/count/count_request_builder.py b/msgraph/generated/groups/item/team/permission_grants/count/count_request_builder.py index 8cc453feee5..fd11a096ae7 100644 --- a/msgraph/generated/groups/item/team/permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py b/msgraph/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/members/add/add_post_response.py b/msgraph/generated/groups/item/team/primary_channel/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph/generated/groups/item/team/primary_channel/members/add/add_post_response.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/members/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/members/count/count_request_builder.py index 7c2641c9d83..df1940ae426 100644 --- a/msgraph/generated/groups/item/team/primary_channel/members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py index a586b0fc60c..3779fddbdce 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py b/msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index 9e9301f6b15..c13d005d865 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py index d80bc0b070d..6f7c0faa442 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 1e5d5afc42a..f1626daff7a 100644 --- a/msgraph/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py index 6358b669635..cbd91ad6b6b 100644 --- a/msgraph/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index bba2a109312..0036453dc0b 100644 --- a/msgraph/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py index 3f124ca57ba..2151ec8f734 100644 --- a/msgraph/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py index 0fe26a3a7c4..c2bf992dd66 100644 --- a/msgraph/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py index 12d291f3b5d..3eabddb43ce 100644 --- a/msgraph/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py index 3e83ab967c5..719b7e0cd32 100644 --- a/msgraph/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py index 8fcf5fdaaa8..905fac44f0f 100644 --- a/msgraph/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/shifts/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/shifts/count/count_request_builder.py index d016e5945d9..febc37b6a66 100644 --- a/msgraph/generated/groups/item/team/schedule/shifts/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py index 6f74557bb71..efbd67f1c27 100644 --- a/msgraph/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py index 048ec92a98d..4d5c4cfca6b 100644 --- a/msgraph/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py index cd76535420b..cbb23a3a58e 100644 --- a/msgraph/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/schedule/times_off/count/count_request_builder.py b/msgraph/generated/groups/item/team/schedule/times_off/count/count_request_builder.py index cc6f959d986..110f9f883b1 100644 --- a/msgraph/generated/groups/item/team/schedule/times_off/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py index a9b8846ca54..057d6caa406 100644 --- a/msgraph/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph/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/generated/groups/item/team/tags/count/count_request_builder.py b/msgraph/generated/groups/item/team/tags/count/count_request_builder.py index 57573706b24..c4663039c37 100644 --- a/msgraph/generated/groups/item/team/tags/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/team/tags/item/members/count/count_request_builder.py b/msgraph/generated/groups/item/team/tags/item/members/count/count_request_builder.py index d88e44f6893..61b11b5a96f 100644 --- a/msgraph/generated/groups/item/team/tags/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/count/count_request_builder.py b/msgraph/generated/groups/item/threads/count/count_request_builder.py index 2a42a5e284c..fd1d94e3322 100644 --- a/msgraph/generated/groups/item/threads/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/count/count_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/count/count_request_builder.py index 6c234f13698..1fbc7922fa7 100644 --- a/msgraph/generated/groups/item/threads/item/posts/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py index 979fa5dc3b0..4404924069a 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py index b0f711bad67..b57c84cc8bc 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py b/msgraph/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py index b6c28292d23..5afba6da38b 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py index 70573504134..fafda68110d 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py b/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py b/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py index d5239e5ed77..4aac7671d45 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py b/msgraph/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py index 00cf3b7ca4f..68764ceb003 100644 --- a/msgraph/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index ec2fa4e99a8..53417c96e57 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -47,10 +47,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/reply/reply_post_request_body.py b/msgraph/generated/groups/item/threads/item/reply/reply_post_request_body.py index 394f26964a9..44fc6a90398 100644 --- a/msgraph/generated/groups/item/threads/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/groups/item/transitive_member_of/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_member_of/count/count_request_builder.py index 113ad8a775b..3d6f4790a9b 100644 --- a/msgraph/generated/groups/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 18b9e92425f..f583038699d 100644 --- a/msgraph/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py index 8d84198788c..6b7634622e0 100644 --- a/msgraph/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/count/count_request_builder.py index 4238ace8adb..4136679b0b0 100644 --- a/msgraph/generated/groups/item/transitive_members/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py index 318646c7a50..b27f6b0d4f2 100644 --- a/msgraph/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py index ba23b3af713..0788466b865 100644 --- a/msgraph/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py index a4493eef927..3971ee0ea9e 100644 --- a/msgraph/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py index 9d5ea6b8e27..f9d61395093 100644 --- a/msgraph/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py index 0f15c33dfb4..f621847496c 100644 --- a/msgraph/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py b/msgraph/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py index be0b3d15162..2267c0862d4 100644 --- a/msgraph/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/identity/api_connectors/count/count_request_builder.py b/msgraph/generated/identity/api_connectors/count/count_request_builder.py index d6cf29cfbfb..08ef932a05f 100644 --- a/msgraph/generated/identity/api_connectors/count/count_request_builder.py +++ b/msgraph/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/generated/identity/authentication_event_listeners/count/count_request_builder.py b/msgraph/generated/identity/authentication_event_listeners/count/count_request_builder.py index f65743b3756..a9aa6041514 100644 --- a/msgraph/generated/identity/authentication_event_listeners/count/count_request_builder.py +++ b/msgraph/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/generated/identity/authentication_events_flows/count/count_request_builder.py b/msgraph/generated/identity/authentication_events_flows/count/count_request_builder.py index d513ba0e105..80dcb1c2bcb 100644 --- a/msgraph/generated/identity/authentication_events_flows/count/count_request_builder.py +++ b/msgraph/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/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/count/count_request_builder.py b/msgraph/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/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/count/count_request_builder.py +++ b/msgraph/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/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py b/msgraph/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py index c0c7be11d06..b1bdcb50c15 100644 --- a/msgraph/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/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/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/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/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/generated/identity/b2x_user_flows/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/count/count_request_builder.py index 07c60ba3fbb..0298ba93591 100644 --- a/msgraph/generated/identity/b2x_user_flows/count/count_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py index ed8fc6013bc..cb6e0fc085e 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py index b238c684625..f56c8353f4d 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py index a4cabede2d4..3c9a2cd8e72 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py index 2564959c4b4..d137dfd47f3 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py index 9fd0ad43c75..fff45c2eb42 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py index 73749fda171..c0d4d1abd4a 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py index 9c8ae6559a0..e8b9d28435f 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py b/msgraph/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py index b8fcb27e8a5..c020be4e1d8 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py +++ b/msgraph/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/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py b/msgraph/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py index 2c3ba43a875..2328094e6b4 100644 --- a/msgraph/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py index 147178ab357..11657f98b09 100644 --- a/msgraph/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py index 5d9b454bbeb..bacd06cbbce 100644 --- a/msgraph/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py index a406efe1731..691b7575187 100644 --- a/msgraph/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py index b1a9ed316d7..f2c9b8423fa 100644 --- a/msgraph/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py b/msgraph/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py index e92ff6d2c1e..0e1e965120f 100644 --- a/msgraph/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py +++ b/msgraph/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/generated/identity/conditional_access/named_locations/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/count/count_request_builder.py index cb8b1882656..0ca073b10f0 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index e312fefd9d4..93013c14b43 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an ipNamedLocation 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/ipnamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 """ 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 an ipNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of 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 diff --git a/msgraph/generated/identity/conditional_access/policies/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/policies/count/count_request_builder.py index 8846ff342ee..5b7c0d8b905 100644 --- a/msgraph/generated/identity/conditional_access/policies/count/count_request_builder.py +++ b/msgraph/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/generated/identity/conditional_access/templates/count/count_request_builder.py b/msgraph/generated/identity/conditional_access/templates/count/count_request_builder.py index 98758567e8d..2d36da94561 100644 --- a/msgraph/generated/identity/conditional_access/templates/count/count_request_builder.py +++ b/msgraph/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/generated/identity/custom_authentication_extensions/count/count_request_builder.py b/msgraph/generated/identity/custom_authentication_extensions/count/count_request_builder.py index 0fb0073652a..03a248792da 100644 --- a/msgraph/generated/identity/custom_authentication_extensions/count/count_request_builder.py +++ b/msgraph/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/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py b/msgraph/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py index fbd2f2d13a6..c233d9b5da9 100644 --- a/msgraph/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py +++ b/msgraph/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/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py b/msgraph/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py index 9a1ce4cf6e6..db11a9e783e 100644 --- a/msgraph/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py +++ b/msgraph/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/generated/identity/identity_providers/count/count_request_builder.py b/msgraph/generated/identity/identity_providers/count/count_request_builder.py index e49ac9f3812..c0ac7c96a1c 100644 --- a/msgraph/generated/identity/identity_providers/count/count_request_builder.py +++ b/msgraph/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/generated/identity/user_flow_attributes/count/count_request_builder.py b/msgraph/generated/identity/user_flow_attributes/count/count_request_builder.py index c732956771d..ac55e15ebbf 100644 --- a/msgraph/generated/identity/user_flow_attributes/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py index a452db05754..6b3770ef6be 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph/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/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph/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/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py index 68826a3f657..7504338c5b8 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py index 290c2567fb7..777aba361c6 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py index 6e166a14515..cd13c25217b 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py index f3efde53ff1..20d188335b3 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py index 67f98274b15..a27a42e5cd6 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py index c46bce32705..cf1e86e99b4 100644 --- a/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph/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/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py index 2d44220aea7..fede320fcce 100644 --- a/msgraph/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py b/msgraph/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py index 35dff24e460..13c5a9cd41e 100644 --- a/msgraph/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py b/msgraph/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py index 3cd911e861f..be579b57ac5 100644 --- a/msgraph/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py b/msgraph/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py index af50a6de539..4d297ee17c9 100644 --- a/msgraph/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/count/count_request_builder.py b/msgraph/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/count/count_request_builder.py index 2b718298e20..bb725edae46 100644 --- a/msgraph/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/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/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py index a33c609010d..d6f79151996 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/count/count_request_builder.py index e7fc1543cbd..bd05770f20b 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_package_assignment_approvals/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/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py index 9de5b8cf44c..cd8680475a6 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 380fb739932..7c8bd110eb2 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -57,10 +57,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -220,7 +220,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py index 0981ffa38c7..6676576669a 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/count/count_request_builder.py index 4b43fa443ad..cb53d6a76ad 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_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/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 6153de142da..41303f8b87f 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/custom_extension_stage_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/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/count/count_request_builder.py index 7ac6935519c..29b131f0e69 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/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/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py index f51a97b08ab..1353433eca5 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py index 59576ee848b..e019a5bf135 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/count/count_request_builder.py index 7328054c937..2116b9cc6b9 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/roles/count/count_request_builder.py index 32f31bd58ac..1be3be13b86 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/count/count_request_builder.py index e2d1d1eeecc..752387f27e2 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/item/resource/roles/count/count_request_builder.py index 665a5423cd1..089974aefa9 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/role/resource/scopes/item/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/count/count_request_builder.py index bcba43922b3..973b50ee520 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/item/resource/scopes/count/count_request_builder.py index c001d3dcb10..3cadedd92fa 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/roles/item/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/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/scopes/count/count_request_builder.py index 564715a9cd1..496fb017e89 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/resource_role_scopes/item/scope/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/generated/identity_governance/entitlement_management/assignment_policies/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/assignment_policies/count/count_request_builder.py index 1d225175f3b..20a32e8c217 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignment_policies/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/assignment_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/generated/identity_governance/entitlement_management/assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 51d4bcea131..544b59e3a6b 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/assignment_policies/item/custom_extension_stage_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/generated/identity_governance/entitlement_management/assignment_policies/item/questions/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/assignment_policies/item/questions/count/count_request_builder.py index 9e595e7be90..8cc1e3621ad 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignment_policies/item/questions/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/assignment_policies/item/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/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py index 0750f1cd616..4f3b4ced670 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph/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/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py b/msgraph/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py index f05c70445e2..68bf0b57928 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/assignments/additional_access/additional_access_get_response.py b/msgraph/generated/identity_governance/entitlement_management/assignments/additional_access/additional_access_get_response.py index 40bb4944211..8d3204250be 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignments/additional_access/additional_access_get_response.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/assignments/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/assignments/count/count_request_builder.py index 99111b4196b..c906f373596 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignments/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph/generated/identity_governance/entitlement_management/assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 1ba8b104b4d..1adc68db513 100644 --- a/msgraph/generated/identity_governance/entitlement_management/assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/catalogs/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/count/count_request_builder.py index d3f586ede3f..8453e811a66 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/access_packages/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/access_packages/count/count_request_builder.py index ca277e6bda7..a9481cf3f61 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/access_packages/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/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/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/count/count_request_builder.py index 790e2e538c1..e84ee7010c4 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_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/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index 812176c96a3..b5d359cd99c 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class CustomCalloutExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/count/count_request_builder.py index 7046abb2825..aa3c435f048 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/roles/count/count_request_builder.py index d90bf00d38c..0ac50c89082 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/count/count_request_builder.py index 0101729890d..89e97eb29d0 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/item/resource/roles/count/count_request_builder.py index 09d29ca1718..d31b643e27a 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_roles/item/resource/scopes/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/count/count_request_builder.py index e0d575f3c58..f37205be703 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/count/count_request_builder.py index 44359fe2ed8..e486792f898 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/item/resource/scopes/count/count_request_builder.py index c6467447702..cd299526e33 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/roles/item/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/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/scopes/count/count_request_builder.py index f92bee14eef..70264e3b2a9 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/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/generated/identity_governance/entitlement_management/catalogs/item/resources/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/count/count_request_builder.py index 9a3bf71964a..86cd5119f2c 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/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/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/count/count_request_builder.py index f9a84fda2d4..fc0aaf86cdf 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/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/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/item/resource/scopes/count/count_request_builder.py index 4edcebc62ce..410fb30a392 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/roles/item/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/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/count/count_request_builder.py index da4c2cf49b5..96b6a3b3b2a 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/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/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/item/resource/roles/count/count_request_builder.py index 1a419465021..1ba08c677ea 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/resources/item/scopes/item/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/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py index bcbc9dca133..66f4f4c4879 100644 --- a/msgraph/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py index 367a8faea49..3d2b38d49c0 100644 --- a/msgraph/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py index 6500304cc66..6b19c6b703b 100644 --- a/msgraph/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/entitlement_management/resource_environments/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_environments/count/count_request_builder.py index e7d1c927b1f..f1891328494 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_environments/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/resource_environments/item/resources/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/count/count_request_builder.py index 58a572ae71a..be09206b584 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_environments/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/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/count/count_request_builder.py index 6622e38033f..2cd2448dfd9 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/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/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/item/resource/scopes/count/count_request_builder.py index 8afcfb43462..909e00ca009 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/roles/item/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/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/count/count_request_builder.py index 0f7006fbc35..6d402d472a1 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/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/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/item/resource/roles/count/count_request_builder.py index 78cb0ef24a5..98ded52a034 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_environments/item/resources/item/scopes/item/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/generated/identity_governance/entitlement_management/resource_requests/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/count/count_request_builder.py index d5d36df8b99..e49a0c4386d 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/access_packages/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/access_packages/count/count_request_builder.py index 3229ada63a9..328877906a2 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/access_packages/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/custom_workflow_extensions/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/custom_workflow_extensions/count/count_request_builder.py index 9be367789b9..56ff7e66294 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/custom_workflow_extensions/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/custom_workflow_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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/count/count_request_builder.py index 4e9c84f8834..4b076058cf3 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/roles/count/count_request_builder.py index e3be2feb5ee..80650b59d4c 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/count/count_request_builder.py index e8f11d4f98b..356b200c9a1 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/item/resource/roles/count/count_request_builder.py index 47bacb318a3..2a13e9fcf66 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/count/count_request_builder.py index dbeb95da599..3bab70b2ff7 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/count/count_request_builder.py index 6ecd64340b4..05fa1323cc8 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/item/resource/scopes/count/count_request_builder.py index 32111202704..a305ea9bc87 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/roles/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/scopes/count/count_request_builder.py index 3b97101e079..85568d1d813 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_scopes/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/count/count_request_builder.py index 6290b23b867..e21e77d417e 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/count/count_request_builder.py index 3d1d8bb876a..8995c32a15d 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/item/resource/scopes/count/count_request_builder.py index b03422fc9a8..1e0ea31e246 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/roles/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/count/count_request_builder.py index 593423aebb0..7354aaaa5ca 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/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/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/item/resource/roles/count/count_request_builder.py index 8a67a2d282a..23f5c2610a7 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resources/item/scopes/item/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/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/count/count_request_builder.py index 7bee9fc1c20..619fd785739 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/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/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/item/resource/scopes/count/count_request_builder.py index 5acd9769937..ccba09cf486 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/roles/item/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/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/count/count_request_builder.py index 3015ec47e13..008cfd21d83 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/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/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/item/resource/roles/count/count_request_builder.py index dab41b44ea5..2f18c964c2d 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_requests/item/resource/scopes/item/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/generated/identity_governance/entitlement_management/resource_role_scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/count/count_request_builder.py index 52e71a5fa81..1ae0dc46f6d 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/roles/count/count_request_builder.py index 20d859f8e18..b9134e8fbe1 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/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/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/count/count_request_builder.py index f703469ee9e..99978ac513f 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/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/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/item/resource/roles/count/count_request_builder.py index ec802453789..27c567ee327 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/role/resource/scopes/item/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/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/count/count_request_builder.py index e728709bbab..c71a402865a 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/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/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/item/resource/scopes/count/count_request_builder.py index 1b16ef14b73..683ded8fd1c 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/roles/item/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/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/scopes/count/count_request_builder.py index 11789ad9561..672414d6143 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resource_role_scopes/item/scope/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/generated/identity_governance/entitlement_management/resources/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resources/count/count_request_builder.py index 6c3ac670fad..c850791d84a 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resources/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/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/generated/identity_governance/entitlement_management/resources/item/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resources/item/roles/count/count_request_builder.py index 1df612d7871..f21ff4c57f0 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resources/item/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resources/item/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/generated/identity_governance/entitlement_management/resources/item/roles/item/resource/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resources/item/roles/item/resource/scopes/count/count_request_builder.py index 075b96a1c31..3d2b98aabc0 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resources/item/roles/item/resource/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resources/item/roles/item/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/generated/identity_governance/entitlement_management/resources/item/scopes/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resources/item/scopes/count/count_request_builder.py index e7d4c0631d6..3c4d8a28471 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resources/item/scopes/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resources/item/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/generated/identity_governance/entitlement_management/resources/item/scopes/item/resource/roles/count/count_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/resources/item/scopes/item/resource/roles/count/count_request_builder.py index 3ae99d80fbc..cdccdb96fe3 100644 --- a/msgraph/generated/identity_governance/entitlement_management/resources/item/scopes/item/resource/roles/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/resources/item/scopes/item/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/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py index 56edb512464..beccfdb9e03 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py index 07bd42323a2..7b12ed72ccf 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py index 470afc47fe7..1c5f341042e 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py index 5bc0dc4084e..743758a15b5 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py index 5706799a0e3..9050fe96938 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py index e7b5482e208..a67104303b5 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py index 79c8e6c7e4b..de39e866c4f 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py index e4f33d211b4..06b97f7461c 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py index 56918b542c9..633e1bcb785 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py index f40b663e877..dddc46155e8 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py index 7c4c2df647a..363563f1af9 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py index 25b3eec8024..00af90d3158 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py index 0a13284d9c7..a3ccd3be77e 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py index 2aafae41605..d59fe913c3d 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py index 4ded9945f86..022c1714ae2 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py index 973f592538b..372719f8519 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 5936b1a93f6..263e20a32a0 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py index a4843d3ec95..ac532d59e2b 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py index 4f794271609..ed65483ff87 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py index 29e17ce6ebb..00ffa5b165a 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py index c12a04f7800..51d7af1eb31 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py index 7693c814232..ccfe716c2cc 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py index 8bf11a59b59..039bddd4158 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py index 2d462bb788b..0afcad9544b 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py index 2d89e4412c2..dee7eeec4d4 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py index f85dbb4183c..26c33b3cf49 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py index b82ce4924ca..aad28aa051e 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py b/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py index 45cc4ef7710..8766ae43520 100644 --- a/msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph/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/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py index 22aafea008d..9c4126b5158 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/assignment_approvals/item/stages/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/assignment_approvals/item/stages/count/count_request_builder.py index 6fdaf9889cf..a12f95f8dbd 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/assignment_approvals/item/stages/count/count_request_builder.py +++ b/msgraph/generated/identity_governance/privileged_access/group/assignment_approvals/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/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py index fff0605b4d0..e44f8d7e5c1 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py index bfb5ed7343a..db272aabfff 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py index 37b636a10eb..db31e6965b7 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py index 8cd8f845817..67cc80abf89 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py index 3e493a407df..e8334960b94 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py index 3f2953b83b9..c1027e74c1c 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py index b220658f015..d0bc4396436 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py index 230f0847de2..2cddd1c1986 100644 --- a/msgraph/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py index f114e3fa505..735d9d29cde 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py index 8f262bf5843..887dc557369 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py index 052bd02cc65..120d9b254a1 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index d519f8480f4..9b871b2ce6a 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]: """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] - Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -180,7 +180,7 @@ class AgreementItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class AgreementItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py index b3fe8f2a5f2..9b019b376c4 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py index 4be4cd2530a..d1f3aab0806 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py index d05fd345316..258cf4281cd 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py +++ b/msgraph/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/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py index ac6d8a8d3b4..e492f23bf13 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/identity_protection/risk_detections/count/count_request_builder.py b/msgraph/generated/identity_protection/risk_detections/count/count_request_builder.py index 90352c39dd6..804bd25fdc6 100644 --- a/msgraph/generated/identity_protection/risk_detections/count/count_request_builder.py +++ b/msgraph/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/generated/identity_protection/risky_service_principals/count/count_request_builder.py b/msgraph/generated/identity_protection/risky_service_principals/count/count_request_builder.py index f27ad31a970..11e2e5992a2 100644 --- a/msgraph/generated/identity_protection/risky_service_principals/count/count_request_builder.py +++ b/msgraph/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/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py b/msgraph/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py index 27299fd8bc3..7f1320abad1 100644 --- a/msgraph/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py +++ b/msgraph/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/generated/identity_protection/risky_users/count/count_request_builder.py b/msgraph/generated/identity_protection/risky_users/count/count_request_builder.py index 093905127ea..0dfd1929a0f 100644 --- a/msgraph/generated/identity_protection/risky_users/count/count_request_builder.py +++ b/msgraph/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/generated/identity_protection/risky_users/item/history/count/count_request_builder.py b/msgraph/generated/identity_protection/risky_users/item/history/count/count_request_builder.py index bdc334bfbf7..11d64ed4239 100644 --- a/msgraph/generated/identity_protection/risky_users/item/history/count/count_request_builder.py +++ b/msgraph/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/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py b/msgraph/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py index 49414960e7c..4624bb72994 100644 --- a/msgraph/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py +++ b/msgraph/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/generated/identity_providers/available_provider_types/available_provider_types_get_response.py b/msgraph/generated/identity_providers/available_provider_types/available_provider_types_get_response.py index 9d646682c95..70c99bd6998 100644 --- a/msgraph/generated/identity_providers/available_provider_types/available_provider_types_get_response.py +++ b/msgraph/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/generated/identity_providers/count/count_request_builder.py b/msgraph/generated/identity_providers/count/count_request_builder.py index 60d3dc29111..02e8eda1342 100644 --- a/msgraph/generated/identity_providers/count/count_request_builder.py +++ b/msgraph/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/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py b/msgraph/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py index c0e94fe3921..0c7f25171f1 100644 --- a/msgraph/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py +++ b/msgraph/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/generated/information_protection/threat_assessment_requests/count/count_request_builder.py b/msgraph/generated/information_protection/threat_assessment_requests/count/count_request_builder.py index 3e685a37e2f..521b9284a59 100644 --- a/msgraph/generated/information_protection/threat_assessment_requests/count/count_request_builder.py +++ b/msgraph/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/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py b/msgraph/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py index 918f21e4436..748421ffae9 100644 --- a/msgraph/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py +++ b/msgraph/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/generated/invitations/count/count_request_builder.py b/msgraph/generated/invitations/count/count_request_builder.py index e43cbb8b0f6..fbb261ac394 100644 --- a/msgraph/generated/invitations/count/count_request_builder.py +++ b/msgraph/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/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py index 7ff9c7071d0..a4cffa2ac8b 100644 --- a/msgraph/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/invitations/invited_user_sponsors/count/count_request_builder.py b/msgraph/generated/invitations/invited_user_sponsors/count/count_request_builder.py index a8564c4be81..ff7cac4a55e 100644 --- a/msgraph/generated/invitations/invited_user_sponsors/count/count_request_builder.py +++ b/msgraph/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/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index 8ba0ffb5e8a..0869fdcaad5 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -3276,6 +3276,8 @@ msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBo msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody::|public|display_name(value:str):None msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody::|public|service_management_reference():str +msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody::|public|service_management_reference(value:str):None msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):InstantiatePostRequestBody msgraph.generated.applicationTemplates.item.instantiate.InstantiatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.applicationTemplates.item.instantiate.InstantiateRequestBuilder-->BaseRequestBuilder @@ -3665,6 +3667,7 @@ msgraph.generated.BaseGraphServiceClient::|public|teamwork:TeamworkRequestBuilde msgraph.generated.BaseGraphServiceClient::|public|tenant_relationships:TenantRelationshipsRequestBuilder msgraph.generated.BaseGraphServiceClient::|public|url_template:str msgraph.generated.BaseGraphServiceClient::|public|users:UsersRequestBuilder +msgraph.generated.BaseGraphServiceClient::|public|users_with_user_principal_name(user_principal_name:str):UsersWithUserPrincipalNameRequestBuilder msgraph.generated.certificateBasedAuthConfiguration.CertificateBasedAuthConfigurationRequestBuilder-->BaseRequestBuilder msgraph.generated.certificateBasedAuthConfiguration.CertificateBasedAuthConfigurationRequestBuilder.CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters::|public|count:bool msgraph.generated.certificateBasedAuthConfiguration.CertificateBasedAuthConfigurationRequestBuilder.CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -18359,11 +18362,47 @@ msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|get_se msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|patch(body:DeviceManagementReports; request_configuration?:RequestConfiguration[QueryParameters]):DeviceManagementReports msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_device_app_installation_status_report:RetrieveDeviceAppInstallationStatusReportRequestBuilder msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReportsRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|to_patch_request_information(body:DeviceManagementReports; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|url_template:str msgraph.generated.deviceManagement.reports.ReportsRequestBuilder::|public|with_url(raw_url:str):ReportsRequestBuilder +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|constructor():None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|filter():str +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|filter(value:str):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|group_by():List[str] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|group_by(value:List[str]):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|name():str +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|name(value:str):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|order_by():List[str] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|order_by(value:List[str]):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|search():str +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|search(value:str):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|select():List[str] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|select(value:List[str]):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|session_id():str +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|session_id(value:str):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|skip():int +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|skip(value:int):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|top():int +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|top(value:int):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveDeviceAppInstallationStatusReportPostRequestBody +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder-->BaseRequestBuilder +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder.RetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|post(body:RetrieveDeviceAppInstallationStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):bytes +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|to_post_request_information(body:RetrieveDeviceAppInstallationStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|url_template:str +msgraph.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|with_url(raw_url:str):RetrieveDeviceAppInstallationStatusReportRequestBuilder msgraph.generated.deviceManagement.resourceOperations.count.CountRequestBuilder-->BaseRequestBuilder msgraph.generated.deviceManagement.resourceOperations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph.generated.deviceManagement.resourceOperations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -20865,6 +20904,18 @@ msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.ass msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsers.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsers.item.UserItemRequestBuilder::|public|url_template:str msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsers.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.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.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):AssignedUsersWithUserPrincipalNameRequestBuilder msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder-->BaseRequestBuilder msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -20873,6 +20924,7 @@ msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.ass msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetQueryParameters] msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|assigned_users:AssignedUsersRequestBuilder +msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|assigned_users_with_user_principal_name(user_principal_name:str):AssignedUsersWithUserPrincipalNameRequestBuilder msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetQueryParameters]):CloudPcProvisioningPolicyAssignment @@ -52744,6 +52796,7 @@ msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilde msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CommunityItemRequestBuilderGetQueryParameters]):Community msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|group:GroupRequestBuilder msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|owners:OwnersRequestBuilder +msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|owners_with_user_principal_name(user_principal_name:str):OwnersWithUserPrincipalNameRequestBuilder msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|patch(body:Community; request_configuration?:RequestConfiguration[QueryParameters]):Community msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|request_adapter:RequestAdapter @@ -52888,6 +52941,18 @@ msgraph.generated.employeeExperience.communities.item.owners.OwnersRequestBuilde msgraph.generated.employeeExperience.communities.item.owners.OwnersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.employeeExperience.communities.item.owners.OwnersRequestBuilder::|public|url_template:str msgraph.generated.employeeExperience.communities.item.owners.OwnersRequestBuilder::|public|with_url(raw_url:str):OwnersRequestBuilder +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):OwnersWithUserPrincipalNameRequestBuilder msgraph.generated.employeeExperience.EmployeeExperienceRequestBuilder-->BaseRequestBuilder msgraph.generated.employeeExperience.EmployeeExperienceRequestBuilder.EmployeeExperienceRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph.generated.employeeExperience.EmployeeExperienceRequestBuilder.EmployeeExperienceRequestBuilderGetQueryParameters::|public|select:List[str] @@ -97834,6 +97899,8 @@ msgraph.generated.models.CallOptions::|public|hide_bot_after_escalation():bool msgraph.generated.models.CallOptions::|public|hide_bot_after_escalation(value:bool):None msgraph.generated.models.CallOptions::|public|is_content_sharing_notification_enabled():bool msgraph.generated.models.CallOptions::|public|is_content_sharing_notification_enabled(value:bool):None +msgraph.generated.models.CallOptions::|public|is_delta_roster_enabled():bool +msgraph.generated.models.CallOptions::|public|is_delta_roster_enabled(value:bool):None msgraph.generated.models.CallOptions::|public|odata_type():str msgraph.generated.models.CallOptions::|public|odata_type(value:str):None msgraph.generated.models.CallOptions::|public|serialize(writer:SerializationWriter):None @@ -97905,6 +97972,18 @@ msgraph.generated.models.CallRecordingStatus::0001-Failure msgraph.generated.models.CallRecordingStatus::0002-Initial msgraph.generated.models.CallRecordingStatus::0003-ChunkFinished msgraph.generated.models.CallRecordingStatus::0004-UnknownFutureValue +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|additional_data():Dict[str, Any] +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|backing_store:BackingStore +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|constructor():None +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|id():str +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|id(value:str):None +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|odata_type():str +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|odata_type(value:str):None +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.callRecords.AdministrativeUnitInfo::|static|public|create_from_discriminator_value(parse_node:ParseNode):AdministrativeUnitInfo +msgraph.generated.models.callRecords.AdministrativeUnitInfo~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.callRecords.AudioCodec::0000-Unknown msgraph.generated.models.callRecords.AudioCodec::0001-Invalid msgraph.generated.models.callRecords.AudioCodec::0002-Cn @@ -98323,6 +98402,8 @@ msgraph.generated.models.callRecords.Participant::|public|odata_type:str msgraph.generated.models.callRecords.Participant::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.callRecords.Participant::|static|public|create_from_discriminator_value(parse_node:ParseNode):Participant msgraph.generated.models.callRecords.ParticipantBase-->Entity +msgraph.generated.models.callRecords.ParticipantBase::|public|administrative_unit_infos():List[AdministrativeUnitInfo] +msgraph.generated.models.callRecords.ParticipantBase::|public|administrative_unit_infos(value:List[AdministrativeUnitInfo]):None msgraph.generated.models.callRecords.ParticipantBase::|public|constructor():None msgraph.generated.models.callRecords.ParticipantBase::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.callRecords.ParticipantBase::|public|identity():CommunicationsIdentitySet @@ -99270,9 +99351,13 @@ msgraph.generated.models.ChatMessageReaction::|public|backing_store:BackingStore msgraph.generated.models.ChatMessageReaction::|public|constructor():None msgraph.generated.models.ChatMessageReaction::|public|created_date_time():datetime.datetime msgraph.generated.models.ChatMessageReaction::|public|created_date_time(value:datetime.datetime):None +msgraph.generated.models.ChatMessageReaction::|public|display_name():str +msgraph.generated.models.ChatMessageReaction::|public|display_name(value:str):None msgraph.generated.models.ChatMessageReaction::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.ChatMessageReaction::|public|odata_type():str msgraph.generated.models.ChatMessageReaction::|public|odata_type(value:str):None +msgraph.generated.models.ChatMessageReaction::|public|reaction_content_url():str +msgraph.generated.models.ChatMessageReaction::|public|reaction_content_url(value:str):None msgraph.generated.models.ChatMessageReaction::|public|reaction_type():str msgraph.generated.models.ChatMessageReaction::|public|reaction_type(value:str):None msgraph.generated.models.ChatMessageReaction::|public|serialize(writer:SerializationWriter):None @@ -107173,6 +107258,8 @@ msgraph.generated.models.FileStorageContainer::|public|odata_type:str msgraph.generated.models.FileStorageContainer::|public|permissions():List[Permission] msgraph.generated.models.FileStorageContainer::|public|permissions(value:List[Permission]):None msgraph.generated.models.FileStorageContainer::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.FileStorageContainer::|public|settings():FileStorageContainerSettings +msgraph.generated.models.FileStorageContainer::|public|settings(value:FileStorageContainerSettings):None msgraph.generated.models.FileStorageContainer::|public|status():FileStorageContainerStatus msgraph.generated.models.FileStorageContainer::|public|status(value:FileStorageContainerStatus):None msgraph.generated.models.FileStorageContainer::|public|viewpoint():FileStorageContainerViewpoint @@ -107191,6 +107278,18 @@ msgraph.generated.models.FileStorageContainerCustomPropertyDictionary::|public|g msgraph.generated.models.FileStorageContainerCustomPropertyDictionary::|public|odata_type:str msgraph.generated.models.FileStorageContainerCustomPropertyDictionary::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.FileStorageContainerCustomPropertyDictionary::|static|public|create_from_discriminator_value(parse_node:ParseNode):FileStorageContainerCustomPropertyDictionary +msgraph.generated.models.FileStorageContainerSettings::|public|additional_data():Dict[str, Any] +msgraph.generated.models.FileStorageContainerSettings::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.FileStorageContainerSettings::|public|backing_store:BackingStore +msgraph.generated.models.FileStorageContainerSettings::|public|constructor():None +msgraph.generated.models.FileStorageContainerSettings::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.FileStorageContainerSettings::|public|is_ocr_enabled():bool +msgraph.generated.models.FileStorageContainerSettings::|public|is_ocr_enabled(value:bool):None +msgraph.generated.models.FileStorageContainerSettings::|public|odata_type():str +msgraph.generated.models.FileStorageContainerSettings::|public|odata_type(value:str):None +msgraph.generated.models.FileStorageContainerSettings::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.FileStorageContainerSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):FileStorageContainerSettings +msgraph.generated.models.FileStorageContainerSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.FileStorageContainerStatus::0000-Inactive msgraph.generated.models.FileStorageContainerStatus::0001-Active msgraph.generated.models.FileStorageContainerStatus::0002-UnknownFutureValue @@ -124135,8 +124234,8 @@ msgraph.generated.models.security.PurgeAreas::0000-Mailboxes msgraph.generated.models.security.PurgeAreas::0001-TeamsMessages msgraph.generated.models.security.PurgeAreas::0002-UnknownFutureValue msgraph.generated.models.security.PurgeType::0000-Recoverable -msgraph.generated.models.security.PurgeType::0001-PermanentlyDeleted -msgraph.generated.models.security.PurgeType::0002-UnknownFutureValue +msgraph.generated.models.security.PurgeType::0001-UnknownFutureValue +msgraph.generated.models.security.PurgeType::0002-PermanentlyDelete msgraph.generated.models.security.QueryType::0000-Files msgraph.generated.models.security.QueryType::0001-Messages msgraph.generated.models.security.QueryType::0002-UnknownFutureValue @@ -128278,6 +128377,8 @@ msgraph.generated.models.TeamsApp::|static|public|create_from_discriminator_valu msgraph.generated.models.TeamsAppAuthorization::|public|additional_data():Dict[str, Any] msgraph.generated.models.TeamsAppAuthorization::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.TeamsAppAuthorization::|public|backing_store:BackingStore +msgraph.generated.models.TeamsAppAuthorization::|public|client_app_id():str +msgraph.generated.models.TeamsAppAuthorization::|public|client_app_id(value:str):None msgraph.generated.models.TeamsAppAuthorization::|public|constructor():None msgraph.generated.models.TeamsAppAuthorization::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.TeamsAppAuthorization::|public|odata_type():str @@ -133015,6 +133116,8 @@ msgraph.generated.models.Win32LobApp::|public|uninstall_command_line():str msgraph.generated.models.Win32LobApp::|public|uninstall_command_line(value:str):None msgraph.generated.models.Win32LobApp::|static|public|create_from_discriminator_value(parse_node:ParseNode):Win32LobApp msgraph.generated.models.Win32LobAppAssignmentSettings-->MobileAppAssignmentSettings +msgraph.generated.models.Win32LobAppAssignmentSettings::|public|auto_update_settings():Win32LobAppAutoUpdateSettings +msgraph.generated.models.Win32LobAppAssignmentSettings::|public|auto_update_settings(value:Win32LobAppAutoUpdateSettings):None msgraph.generated.models.Win32LobAppAssignmentSettings::|public|constructor():None msgraph.generated.models.Win32LobAppAssignmentSettings::|public|delivery_optimization_priority():Win32LobAppDeliveryOptimizationPriority msgraph.generated.models.Win32LobAppAssignmentSettings::|public|delivery_optimization_priority(value:Win32LobAppDeliveryOptimizationPriority):None @@ -133028,6 +133131,18 @@ msgraph.generated.models.Win32LobAppAssignmentSettings::|public|restart_settings msgraph.generated.models.Win32LobAppAssignmentSettings::|public|restart_settings(value:Win32LobAppRestartSettings):None msgraph.generated.models.Win32LobAppAssignmentSettings::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.Win32LobAppAssignmentSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):Win32LobAppAssignmentSettings +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|additional_data():Dict[str, Any] +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|auto_update_superseded_apps_state():Win32LobAutoUpdateSupersededAppsState +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|auto_update_superseded_apps_state(value:Win32LobAutoUpdateSupersededAppsState):None +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|backing_store:BackingStore +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|constructor():None +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|odata_type():str +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|odata_type(value:str):None +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.Win32LobAppAutoUpdateSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):Win32LobAppAutoUpdateSettings +msgraph.generated.models.Win32LobAppAutoUpdateSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.Win32LobAppCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.Win32LobAppCollectionResponse::|public|constructor():None msgraph.generated.models.Win32LobAppCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -133230,6 +133345,9 @@ msgraph.generated.models.Win32LobAppRuleOperator::0006-LessThanOrEqual msgraph.generated.models.Win32LobAppRuleType::0000-Detection msgraph.generated.models.Win32LobAppRuleType::0001-Requirement msgraph.generated.models.Win32LobAppRule~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.Win32LobAutoUpdateSupersededAppsState::0000-NotConfigured +msgraph.generated.models.Win32LobAutoUpdateSupersededAppsState::0001-Enabled +msgraph.generated.models.Win32LobAutoUpdateSupersededAppsState::0002-UnknownFutureValue msgraph.generated.models.Windows10CompliancePolicy-->DeviceCompliancePolicy msgraph.generated.models.Windows10CompliancePolicy::|public|bit_locker_enabled():bool msgraph.generated.models.Windows10CompliancePolicy::|public|bit_locker_enabled(value:bool):None @@ -141449,6 +141567,18 @@ msgraph.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequ msgraph.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|url_template:str msgraph.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):ApproversWithUserPrincipalNameRequestBuilder msgraph.generated.privacy.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder-->BaseRequestBuilder msgraph.generated.privacy.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|count:bool msgraph.generated.privacy.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -141541,6 +141671,18 @@ msgraph.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItem msgraph.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|url_template:str msgraph.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph.generated.privacy.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder-->BaseRequestBuilder msgraph.generated.privacy.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder.GetFinalAttachmentRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.privacy.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -141620,7 +141762,9 @@ msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemReq msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters] msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers:ApproversRequestBuilder +msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers_with_user_principal_name(user_principal_name:str):ApproversWithUserPrincipalNameRequestBuilder msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators:CollaboratorsRequestBuilder +msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators_with_user_principal_name(user_principal_name:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters]):SubjectRightsRequest @@ -149467,6 +149611,18 @@ msgraph.generated.security.subjectRightsRequests.item.approvers.item.UserItemReq msgraph.generated.security.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.security.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|url_template:str msgraph.generated.security.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):ApproversWithUserPrincipalNameRequestBuilder msgraph.generated.security.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder-->BaseRequestBuilder msgraph.generated.security.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|count:bool msgraph.generated.security.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -149559,6 +149715,18 @@ msgraph.generated.security.subjectRightsRequests.item.collaborators.item.UserIte msgraph.generated.security.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.security.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|url_template:str msgraph.generated.security.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph.generated.security.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder-->BaseRequestBuilder msgraph.generated.security.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder.GetFinalAttachmentRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.security.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -149638,7 +149806,9 @@ msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRe msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters] msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers:ApproversRequestBuilder +msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers_with_user_principal_name(user_principal_name:str):ApproversWithUserPrincipalNameRequestBuilder msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators:CollaboratorsRequestBuilder +msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators_with_user_principal_name(user_principal_name:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters]):SubjectRightsRequest @@ -196245,3 +196415,21 @@ msgraph.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|pu msgraph.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|public|to_post_request_information(body:ValidatePropertiesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|public|url_template:str msgraph.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|public|with_url(raw_url:str):ValidatePropertiesRequestBuilder +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|patch(body:User; request_configuration?:RequestConfiguration[QueryParameters]):User +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|to_patch_request_information(body:User; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):UsersWithUserPrincipalNameRequestBuilder diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 28e0cee843f..f612030317d 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "C29BFD40F799FBA40A49274D54C2BE5CE5DA96CF74720AD3F50AFB4B035480BAABB49681E1476C314C313DE05ACE32768E100A64471DABC6C6C327AB86736493", + "descriptionHash": "C263615205015440A02E90EACA9BEF4538985DAE805D819F1CF06D312757FE9CB8437FCA68BB73ACFE7705CC1CC42ADFBF238FD10801F45277C9B251701D8891", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.20.0", diff --git a/msgraph/generated/models/aad_user_conversation_member.py b/msgraph/generated/models/aad_user_conversation_member.py index 0f1ad1fabfc..bdf8acfdf21 100644 --- a/msgraph/generated/models/aad_user_conversation_member.py +++ b/msgraph/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/generated/models/aad_user_conversation_member_result.py b/msgraph/generated/models/aad_user_conversation_member_result.py index e99ab7ce5bc..f4bd0f0e932 100644 --- a/msgraph/generated/models/aad_user_conversation_member_result.py +++ b/msgraph/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/generated/models/aad_user_notification_recipient.py b/msgraph/generated/models/aad_user_notification_recipient.py index ebe49c59028..7e4522ed892 100644 --- a/msgraph/generated/models/aad_user_notification_recipient.py +++ b/msgraph/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/generated/models/access_package.py b/msgraph/generated/models/access_package.py index 92a6b741015..6ad0c5f9d96 100644 --- a/msgraph/generated/models/access_package.py +++ b/msgraph/generated/models/access_package.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 .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("accessPackagesIncompatibleWith", self.access_packages_incompatible_with) writer.write_collection_of_object_values("assignmentPolicies", self.assignment_policies) writer.write_object_value("catalog", self.catalog) diff --git a/msgraph/generated/models/access_package_answer.py b/msgraph/generated/models/access_package_answer.py index 54999458a55..bf83dadee43 100644 --- a/msgraph/generated/models/access_package_answer.py +++ b/msgraph/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/generated/models/access_package_answer_choice.py b/msgraph/generated/models/access_package_answer_choice.py index acfbb9f39a2..46ec92186f8 100644 --- a/msgraph/generated/models/access_package_answer_choice.py +++ b/msgraph/generated/models/access_package_answer_choice.py @@ -59,6 +59,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("actualValue", self.actual_value) writer.write_collection_of_object_values("localizations", self.localizations) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/access_package_answer_string.py b/msgraph/generated/models/access_package_answer_string.py index ba143e5c7e4..fefd42daff9 100644 --- a/msgraph/generated/models/access_package_answer_string.py +++ b/msgraph/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/generated/models/access_package_approval_stage.py b/msgraph/generated/models/access_package_approval_stage.py index 4d85a9371fa..95bb62d059f 100644 --- a/msgraph/generated/models/access_package_approval_stage.py +++ b/msgraph/generated/models/access_package_approval_stage.py @@ -75,6 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_set import SubjectSet + writer.write_timedelta_value("durationBeforeAutomaticDenial", self.duration_before_automatic_denial) writer.write_timedelta_value("durationBeforeEscalation", self.duration_before_escalation) writer.write_collection_of_object_values("escalationApprovers", self.escalation_approvers) diff --git a/msgraph/generated/models/access_package_assignment.py b/msgraph/generated/models/access_package_assignment.py index bf93094dc07..ffd70f20f2d 100644 --- a/msgraph/generated/models/access_package_assignment.py +++ b/msgraph/generated/models/access_package_assignment.py @@ -91,6 +91,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_assignment_policy import AccessPackageAssignmentPolicy + from .access_package_assignment_state import AccessPackageAssignmentState + from .access_package_subject import AccessPackageSubject + from .custom_extension_callout_instance import CustomExtensionCalloutInstance + from .entitlement_management_schedule import EntitlementManagementSchedule + from .entity import Entity + writer.write_object_value("accessPackage", self.access_package) writer.write_object_value("assignmentPolicy", self.assignment_policy) writer.write_collection_of_object_values("customExtensionCalloutInstances", self.custom_extension_callout_instances) diff --git a/msgraph/generated/models/access_package_assignment_approval_settings.py b/msgraph/generated/models/access_package_assignment_approval_settings.py index a6000395134..67569d3a87f 100644 --- a/msgraph/generated/models/access_package_assignment_approval_settings.py +++ b/msgraph/generated/models/access_package_assignment_approval_settings.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_approval_stage import AccessPackageApprovalStage + writer.write_bool_value("isApprovalRequiredForAdd", self.is_approval_required_for_add) writer.write_bool_value("isApprovalRequiredForUpdate", self.is_approval_required_for_update) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/access_package_assignment_collection_response.py b/msgraph/generated/models/access_package_assignment_collection_response.py index 4c1b07dbc57..e49b1c4afe3 100644 --- a/msgraph/generated/models/access_package_assignment_collection_response.py +++ b/msgraph/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/generated/models/access_package_assignment_policy.py b/msgraph/generated/models/access_package_assignment_policy.py index 9248ce7cafc..06c69bdcc15 100644 --- a/msgraph/generated/models/access_package_assignment_policy.py +++ b/msgraph/generated/models/access_package_assignment_policy.py @@ -127,6 +127,19 @@ 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_approval_settings import AccessPackageAssignmentApprovalSettings + from .access_package_assignment_requestor_settings import AccessPackageAssignmentRequestorSettings + from .access_package_assignment_review_settings import AccessPackageAssignmentReviewSettings + from .access_package_automatic_request_settings import AccessPackageAutomaticRequestSettings + from .access_package_catalog import AccessPackageCatalog + from .access_package_question import AccessPackageQuestion + from .allowed_target_scope import AllowedTargetScope + from .custom_extension_stage_setting import CustomExtensionStageSetting + from .entity import Entity + from .expiration_pattern import ExpirationPattern + from .subject_set import SubjectSet + writer.write_object_value("accessPackage", self.access_package) writer.write_enum_value("allowedTargetScope", self.allowed_target_scope) writer.write_object_value("automaticRequestSettings", self.automatic_request_settings) diff --git a/msgraph/generated/models/access_package_assignment_policy_collection_response.py b/msgraph/generated/models/access_package_assignment_policy_collection_response.py index fe52c8be81e..326288b4842 100644 --- a/msgraph/generated/models/access_package_assignment_policy_collection_response.py +++ b/msgraph/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/generated/models/access_package_assignment_request.py b/msgraph/generated/models/access_package_assignment_request.py index 520bfcf9454..28f52518916 100644 --- a/msgraph/generated/models/access_package_assignment_request.py +++ b/msgraph/generated/models/access_package_assignment_request.py @@ -106,6 +106,16 @@ 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_request_state import AccessPackageRequestState + from .access_package_request_type import AccessPackageRequestType + from .access_package_subject import AccessPackageSubject + from .custom_extension_callout_instance import CustomExtensionCalloutInstance + from .entitlement_management_schedule import EntitlementManagementSchedule + from .entity import Entity + writer.write_object_value("accessPackage", self.access_package) writer.write_collection_of_object_values("answers", self.answers) writer.write_object_value("assignment", self.assignment) diff --git a/msgraph/generated/models/access_package_assignment_request_callback_data.py b/msgraph/generated/models/access_package_assignment_request_callback_data.py index df8176c488d..02f25d0a787 100644 --- a/msgraph/generated/models/access_package_assignment_request_callback_data.py +++ b/msgraph/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/generated/models/access_package_assignment_request_collection_response.py b/msgraph/generated/models/access_package_assignment_request_collection_response.py index 9d9574416f9..9abf78f920b 100644 --- a/msgraph/generated/models/access_package_assignment_request_collection_response.py +++ b/msgraph/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/generated/models/access_package_assignment_request_requirements.py b/msgraph/generated/models/access_package_assignment_request_requirements.py index fd6a8238cd1..dfce67c8f98 100644 --- a/msgraph/generated/models/access_package_assignment_request_requirements.py +++ b/msgraph/generated/models/access_package_assignment_request_requirements.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_question import AccessPackageQuestion + from .entitlement_management_schedule import EntitlementManagementSchedule + writer.write_bool_value("allowCustomAssignmentSchedule", self.allow_custom_assignment_schedule) writer.write_bool_value("isApprovalRequiredForAdd", self.is_approval_required_for_add) writer.write_bool_value("isApprovalRequiredForUpdate", self.is_approval_required_for_update) diff --git a/msgraph/generated/models/access_package_assignment_request_workflow_extension.py b/msgraph/generated/models/access_package_assignment_request_workflow_extension.py index ff986a64246..b08b031ca7c 100644 --- a/msgraph/generated/models/access_package_assignment_request_workflow_extension.py +++ b/msgraph/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/generated/models/access_package_assignment_requestor_settings.py b/msgraph/generated/models/access_package_assignment_requestor_settings.py index 195c16b5c7e..9f8f5e39ede 100644 --- a/msgraph/generated/models/access_package_assignment_requestor_settings.py +++ b/msgraph/generated/models/access_package_assignment_requestor_settings.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_set import SubjectSet + writer.write_bool_value("allowCustomAssignmentSchedule", self.allow_custom_assignment_schedule) writer.write_bool_value("enableOnBehalfRequestorsToAddAccess", self.enable_on_behalf_requestors_to_add_access) writer.write_bool_value("enableOnBehalfRequestorsToRemoveAccess", self.enable_on_behalf_requestors_to_remove_access) diff --git a/msgraph/generated/models/access_package_assignment_review_settings.py b/msgraph/generated/models/access_package_assignment_review_settings.py index 535e05809d7..4c1b279b9c9 100644 --- a/msgraph/generated/models/access_package_assignment_review_settings.py +++ b/msgraph/generated/models/access_package_assignment_review_settings.py @@ -80,6 +80,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_expiration_behavior import AccessReviewExpirationBehavior + from .entitlement_management_schedule import EntitlementManagementSchedule + from .subject_set import SubjectSet + writer.write_enum_value("expirationBehavior", self.expiration_behavior) writer.write_collection_of_object_values("fallbackReviewers", self.fallback_reviewers) writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph/generated/models/access_package_assignment_workflow_extension.py b/msgraph/generated/models/access_package_assignment_workflow_extension.py index 425f373e4ed..0cf149c3a91 100644 --- a/msgraph/generated/models/access_package_assignment_workflow_extension.py +++ b/msgraph/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/generated/models/access_package_catalog.py b/msgraph/generated/models/access_package_catalog.py index 1d77f44082b..7b598aecc20 100644 --- a/msgraph/generated/models/access_package_catalog.py +++ b/msgraph/generated/models/access_package_catalog.py @@ -106,6 +106,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_catalog_state import AccessPackageCatalogState + from .access_package_catalog_type import AccessPackageCatalogType + from .access_package_resource import AccessPackageResource + from .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_scope import AccessPackageResourceScope + from .custom_callout_extension import CustomCalloutExtension + from .entity import Entity + writer.write_collection_of_object_values("accessPackages", self.access_packages) writer.write_enum_value("catalogType", self.catalog_type) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph/generated/models/access_package_catalog_collection_response.py b/msgraph/generated/models/access_package_catalog_collection_response.py index f75118aa0a0..f4933cc0d76 100644 --- a/msgraph/generated/models/access_package_catalog_collection_response.py +++ b/msgraph/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/generated/models/access_package_collection_response.py b/msgraph/generated/models/access_package_collection_response.py index be95e6d90c7..c668b9792fb 100644 --- a/msgraph/generated/models/access_package_collection_response.py +++ b/msgraph/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/generated/models/access_package_multiple_choice_question.py b/msgraph/generated/models/access_package_multiple_choice_question.py index 8fed32f271d..05ce0f9d0a9 100644 --- a/msgraph/generated/models/access_package_multiple_choice_question.py +++ b/msgraph/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_collection_of_object_values("choices", self.choices) writer.write_bool_value("isMultipleSelectionAllowed", self.is_multiple_selection_allowed) diff --git a/msgraph/generated/models/access_package_question.py b/msgraph/generated/models/access_package_question.py index d9c8b5b4f98..f545d6c0fc4 100644 --- a/msgraph/generated/models/access_package_question.py +++ b/msgraph/generated/models/access_package_question.py @@ -36,7 +36,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(): @@ -84,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_localized_text import AccessPackageLocalizedText + from .access_package_multiple_choice_question import AccessPackageMultipleChoiceQuestion + from .access_package_text_input_question import AccessPackageTextInputQuestion + from .entity import Entity + writer.write_bool_value("isAnswerEditable", self.is_answer_editable) writer.write_bool_value("isRequired", self.is_required) writer.write_collection_of_object_values("localizations", self.localizations) diff --git a/msgraph/generated/models/access_package_question_collection_response.py b/msgraph/generated/models/access_package_question_collection_response.py index 3c4b2ab1fab..c17804520bc 100644 --- a/msgraph/generated/models/access_package_question_collection_response.py +++ b/msgraph/generated/models/access_package_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 .access_package_question import AccessPackageQuestion + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/access_package_resource.py b/msgraph/generated/models/access_package_resource.py index 233e3822dbf..ee02b65a147 100644 --- a/msgraph/generated/models/access_package_resource.py +++ b/msgraph/generated/models/access_package_resource.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 .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_collection_of_object_values("attributes", self.attributes) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/access_package_resource_attribute.py b/msgraph/generated/models/access_package_resource_attribute.py index 8f6dc126fcd..67ea8cb0804 100644 --- a/msgraph/generated/models/access_package_resource_attribute.py +++ b/msgraph/generated/models/access_package_resource_attribute.py @@ -68,6 +68,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("destination", self.destination) writer.write_bool_value("isEditable", self.is_editable) writer.write_bool_value("isPersistedOnAssignmentRemoval", self.is_persisted_on_assignment_removal) diff --git a/msgraph/generated/models/access_package_resource_attribute_destination.py b/msgraph/generated/models/access_package_resource_attribute_destination.py index 686559b1ca0..09e7dbaa555 100644 --- a/msgraph/generated/models/access_package_resource_attribute_destination.py +++ b/msgraph/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/generated/models/access_package_resource_attribute_question.py b/msgraph/generated/models/access_package_resource_attribute_question.py index 6b591151eb8..90976e67edf 100644 --- a/msgraph/generated/models/access_package_resource_attribute_question.py +++ b/msgraph/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/generated/models/access_package_resource_attribute_source.py b/msgraph/generated/models/access_package_resource_attribute_source.py index a2a6cad20ee..d7cc38e8e2d 100644 --- a/msgraph/generated/models/access_package_resource_attribute_source.py +++ b/msgraph/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/generated/models/access_package_resource_collection_response.py b/msgraph/generated/models/access_package_resource_collection_response.py index f3c51ba9530..7ef79c3c4b6 100644 --- a/msgraph/generated/models/access_package_resource_collection_response.py +++ b/msgraph/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/generated/models/access_package_resource_environment.py b/msgraph/generated/models/access_package_resource_environment.py index 3e82db7eb31..3de6e74b9db 100644 --- a/msgraph/generated/models/access_package_resource_environment.py +++ b/msgraph/generated/models/access_package_resource_environment.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 .access_package_resource import AccessPackageResource + from .connection_info import ConnectionInfo + from .entity import Entity + writer.write_object_value("connectionInfo", self.connection_info) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/access_package_resource_environment_collection_response.py b/msgraph/generated/models/access_package_resource_environment_collection_response.py index 5a3298c405e..27819caf3c4 100644 --- a/msgraph/generated/models/access_package_resource_environment_collection_response.py +++ b/msgraph/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/generated/models/access_package_resource_request.py b/msgraph/generated/models/access_package_resource_request.py index 90181bd89da..3c84710aaf7 100644 --- a/msgraph/generated/models/access_package_resource_request.py +++ b/msgraph/generated/models/access_package_resource_request.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 .access_package_catalog import AccessPackageCatalog + from .access_package_request_state import AccessPackageRequestState + from .access_package_request_type import AccessPackageRequestType + from .access_package_resource import AccessPackageResource + from .entity import Entity + writer.write_object_value("catalog", self.catalog) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_enum_value("requestType", self.request_type) diff --git a/msgraph/generated/models/access_package_resource_request_collection_response.py b/msgraph/generated/models/access_package_resource_request_collection_response.py index 763b4d34529..5f87ec2b11f 100644 --- a/msgraph/generated/models/access_package_resource_request_collection_response.py +++ b/msgraph/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/generated/models/access_package_resource_role.py b/msgraph/generated/models/access_package_resource_role.py index 0b37fffe764..2a992d30535 100644 --- a/msgraph/generated/models/access_package_resource_role.py +++ b/msgraph/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_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_str_value("originId", self.origin_id) diff --git a/msgraph/generated/models/access_package_resource_role_collection_response.py b/msgraph/generated/models/access_package_resource_role_collection_response.py index e9733fbad75..014c5ed3b41 100644 --- a/msgraph/generated/models/access_package_resource_role_collection_response.py +++ b/msgraph/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/generated/models/access_package_resource_role_scope.py b/msgraph/generated/models/access_package_resource_role_scope.py index fee2dc53929..4c503a32d0e 100644 --- a/msgraph/generated/models/access_package_resource_role_scope.py +++ b/msgraph/generated/models/access_package_resource_role_scope.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 .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_scope import AccessPackageResourceScope + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("role", self.role) writer.write_object_value("scope", self.scope) diff --git a/msgraph/generated/models/access_package_resource_role_scope_collection_response.py b/msgraph/generated/models/access_package_resource_role_scope_collection_response.py index 23b7f4028c3..55e77810ea6 100644 --- a/msgraph/generated/models/access_package_resource_role_scope_collection_response.py +++ b/msgraph/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/generated/models/access_package_resource_scope.py b/msgraph/generated/models/access_package_resource_scope.py index f953993081d..9f20f2725fa 100644 --- a/msgraph/generated/models/access_package_resource_scope.py +++ b/msgraph/generated/models/access_package_resource_scope.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_package_resource import AccessPackageResource + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isRootScope", self.is_root_scope) diff --git a/msgraph/generated/models/access_package_resource_scope_collection_response.py b/msgraph/generated/models/access_package_resource_scope_collection_response.py index 8ba1ba767c7..f4e914beb44 100644 --- a/msgraph/generated/models/access_package_resource_scope_collection_response.py +++ b/msgraph/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/generated/models/access_package_subject.py b/msgraph/generated/models/access_package_subject.py index b0df4695230..d2c97730685 100644 --- a/msgraph/generated/models/access_package_subject.py +++ b/msgraph/generated/models/access_package_subject.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 .access_package_subject_type import AccessPackageSubjectType + from .connected_organization import ConnectedOrganization + from .entity import Entity + writer.write_object_value("connectedOrganization", self.connected_organization) writer.write_str_value("displayName", self.display_name) writer.write_str_value("email", self.email) diff --git a/msgraph/generated/models/access_package_text_input_question.py b/msgraph/generated/models/access_package_text_input_question.py index 865b4b2150d..f7e197d519a 100644 --- a/msgraph/generated/models/access_package_text_input_question.py +++ b/msgraph/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/generated/models/access_package_user_directory_attribute_store.py b/msgraph/generated/models/access_package_user_directory_attribute_store.py index 04cf6b5869d..95449b3168a 100644 --- a/msgraph/generated/models/access_package_user_directory_attribute_store.py +++ b/msgraph/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/generated/models/access_review_apply_action.py b/msgraph/generated/models/access_review_apply_action.py index fdfdc51fb50..e2ed90051f8 100644 --- a/msgraph/generated/models/access_review_apply_action.py +++ b/msgraph/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/generated/models/access_review_history_definition.py b/msgraph/generated/models/access_review_history_definition.py index 07d9d9e0476..d5406b65445 100644 --- a/msgraph/generated/models/access_review_history_definition.py +++ b/msgraph/generated/models/access_review_history_definition.py @@ -97,6 +97,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/generated/models/access_review_history_definition_collection_response.py b/msgraph/generated/models/access_review_history_definition_collection_response.py index 03305020788..9e3443849bc 100644 --- a/msgraph/generated/models/access_review_history_definition_collection_response.py +++ b/msgraph/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/generated/models/access_review_history_instance.py b/msgraph/generated/models/access_review_history_instance.py index fcc596442f8..96da8d01f5e 100644 --- a/msgraph/generated/models/access_review_history_instance.py +++ b/msgraph/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/generated/models/access_review_history_instance_collection_response.py b/msgraph/generated/models/access_review_history_instance_collection_response.py index 5015ec2d8a9..4bade667562 100644 --- a/msgraph/generated/models/access_review_history_instance_collection_response.py +++ b/msgraph/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/generated/models/access_review_history_schedule_settings.py b/msgraph/generated/models/access_review_history_schedule_settings.py index cafac3b48fb..dfcb7cbf7f4 100644 --- a/msgraph/generated/models/access_review_history_schedule_settings.py +++ b/msgraph/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/generated/models/access_review_inactive_users_query_scope.py b/msgraph/generated/models/access_review_inactive_users_query_scope.py index 3f955c02e99..32992bc0e18 100644 --- a/msgraph/generated/models/access_review_inactive_users_query_scope.py +++ b/msgraph/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/generated/models/access_review_instance.py b/msgraph/generated/models/access_review_instance.py index 1cbaf5e5cb1..8057bcac9c4 100644 --- a/msgraph/generated/models/access_review_instance.py +++ b/msgraph/generated/models/access_review_instance.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 .access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .access_review_reviewer import AccessReviewReviewer + from .access_review_reviewer_scope import AccessReviewReviewerScope + 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_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph/generated/models/access_review_instance_collection_response.py b/msgraph/generated/models/access_review_instance_collection_response.py index 9e9f8e75ecd..303b3e01262 100644 --- a/msgraph/generated/models/access_review_instance_collection_response.py +++ b/msgraph/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/generated/models/access_review_instance_decision_item.py b/msgraph/generated/models/access_review_instance_decision_item.py index 4b45c99ca89..2c2bb554e86 100644 --- a/msgraph/generated/models/access_review_instance_decision_item.py +++ b/msgraph/generated/models/access_review_instance_decision_item.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 .access_review_instance_decision_item_resource import AccessReviewInstanceDecisionItemResource + 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/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py b/msgraph/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py index 618f810ae69..8ec7c853edd 100644 --- a/msgraph/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py +++ b/msgraph/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/generated/models/access_review_instance_decision_item_azure_role_resource.py b/msgraph/generated/models/access_review_instance_decision_item_azure_role_resource.py index 5e2ae6b49c4..a7c3b603270 100644 --- a/msgraph/generated/models/access_review_instance_decision_item_azure_role_resource.py +++ b/msgraph/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/generated/models/access_review_instance_decision_item_collection_response.py b/msgraph/generated/models/access_review_instance_decision_item_collection_response.py index 42c712219cb..aa3944dd7aa 100644 --- a/msgraph/generated/models/access_review_instance_decision_item_collection_response.py +++ b/msgraph/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/generated/models/access_review_instance_decision_item_resource.py b/msgraph/generated/models/access_review_instance_decision_item_resource.py index 5108c0aa60c..b47d6a4ca9c 100644 --- a/msgraph/generated/models/access_review_instance_decision_item_resource.py +++ b/msgraph/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/generated/models/access_review_instance_decision_item_service_principal_resource.py b/msgraph/generated/models/access_review_instance_decision_item_service_principal_resource.py index 52dfedbce50..e19420ac4b5 100644 --- a/msgraph/generated/models/access_review_instance_decision_item_service_principal_resource.py +++ b/msgraph/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/generated/models/access_review_notification_recipient_item.py b/msgraph/generated/models/access_review_notification_recipient_item.py index af7d1846842..db11c75c6cc 100644 --- a/msgraph/generated/models/access_review_notification_recipient_item.py +++ b/msgraph/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/generated/models/access_review_notification_recipient_query_scope.py b/msgraph/generated/models/access_review_notification_recipient_query_scope.py index 0c618e9a9d9..1e7cc9294cc 100644 --- a/msgraph/generated/models/access_review_notification_recipient_query_scope.py +++ b/msgraph/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/generated/models/access_review_notification_recipient_scope.py b/msgraph/generated/models/access_review_notification_recipient_scope.py index ba59540aca6..75a566eda7b 100644 --- a/msgraph/generated/models/access_review_notification_recipient_scope.py +++ b/msgraph/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/generated/models/access_review_query_scope.py b/msgraph/generated/models/access_review_query_scope.py index 47631de464b..cb879dbd0e7 100644 --- a/msgraph/generated/models/access_review_query_scope.py +++ b/msgraph/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/generated/models/access_review_recommendation_insight_setting.py b/msgraph/generated/models/access_review_recommendation_insight_setting.py index c658121d5d5..5b5c1e0cf9f 100644 --- a/msgraph/generated/models/access_review_recommendation_insight_setting.py +++ b/msgraph/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/generated/models/access_review_reviewer.py b/msgraph/generated/models/access_review_reviewer.py index b6f16d72f2d..d28ce72356c 100644 --- a/msgraph/generated/models/access_review_reviewer.py +++ b/msgraph/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/generated/models/access_review_reviewer_collection_response.py b/msgraph/generated/models/access_review_reviewer_collection_response.py index f3dde5f3b51..2c9dd6cd646 100644 --- a/msgraph/generated/models/access_review_reviewer_collection_response.py +++ b/msgraph/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/generated/models/access_review_schedule_definition.py b/msgraph/generated/models/access_review_schedule_definition.py index 5f81b2acde1..d9a383fee2c 100644 --- a/msgraph/generated/models/access_review_schedule_definition.py +++ b/msgraph/generated/models/access_review_schedule_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 .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_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph/generated/models/access_review_schedule_definition_collection_response.py b/msgraph/generated/models/access_review_schedule_definition_collection_response.py index ca850138e7b..962d4eb895d 100644 --- a/msgraph/generated/models/access_review_schedule_definition_collection_response.py +++ b/msgraph/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/generated/models/access_review_schedule_settings.py b/msgraph/generated/models/access_review_schedule_settings.py index fdb713fe835..6516239253e 100644 --- a/msgraph/generated/models/access_review_schedule_settings.py +++ b/msgraph/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/generated/models/access_review_scope.py b/msgraph/generated/models/access_review_scope.py index 75ea7ea68ce..c7eee2dd04f 100644 --- a/msgraph/generated/models/access_review_scope.py +++ b/msgraph/generated/models/access_review_scope.py @@ -29,7 +29,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(): @@ -72,6 +73,10 @@ 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 .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/generated/models/access_review_set.py b/msgraph/generated/models/access_review_set.py index 04e03bc5511..a19153db6a5 100644 --- a/msgraph/generated/models/access_review_set.py +++ b/msgraph/generated/models/access_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 .access_review_history_definition import AccessReviewHistoryDefinition + from .access_review_schedule_definition import AccessReviewScheduleDefinition + from .entity import Entity + writer.write_collection_of_object_values("definitions", self.definitions) writer.write_collection_of_object_values("historyDefinitions", self.history_definitions) diff --git a/msgraph/generated/models/access_review_stage.py b/msgraph/generated/models/access_review_stage.py index 9b7c719ec11..e79ff1a68fe 100644 --- a/msgraph/generated/models/access_review_stage.py +++ b/msgraph/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/generated/models/access_review_stage_collection_response.py b/msgraph/generated/models/access_review_stage_collection_response.py index f95c5054b94..c3cb0dcb7d8 100644 --- a/msgraph/generated/models/access_review_stage_collection_response.py +++ b/msgraph/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/generated/models/access_review_stage_settings.py b/msgraph/generated/models/access_review_stage_settings.py index fdf61321baf..a0223afd48d 100644 --- a/msgraph/generated/models/access_review_stage_settings.py +++ b/msgraph/generated/models/access_review_stage_settings.py @@ -77,6 +77,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/generated/models/account_target_content.py b/msgraph/generated/models/account_target_content.py index 3053ddc57de..74a3a0fa6e8 100644 --- a/msgraph/generated/models/account_target_content.py +++ b/msgraph/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/generated/models/action_result_part.py b/msgraph/generated/models/action_result_part.py index 16470170567..c5f2f230b30 100644 --- a/msgraph/generated/models/action_result_part.py +++ b/msgraph/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/generated/models/activity_based_timeout_policy.py b/msgraph/generated/models/activity_based_timeout_policy.py index 2bbb7bdf3e5..dcd3006a0da 100644 --- a/msgraph/generated/models/activity_based_timeout_policy.py +++ b/msgraph/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/generated/models/activity_based_timeout_policy_collection_response.py b/msgraph/generated/models/activity_based_timeout_policy_collection_response.py index b545c6e7c81..0b5a4e45d81 100644 --- a/msgraph/generated/models/activity_based_timeout_policy_collection_response.py +++ b/msgraph/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/generated/models/activity_history_item.py b/msgraph/generated/models/activity_history_item.py index 693b64c17f0..22337da5638 100644 --- a/msgraph/generated/models/activity_history_item.py +++ b/msgraph/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/generated/models/activity_history_item_collection_response.py b/msgraph/generated/models/activity_history_item_collection_response.py index f5e9418d185..e3c8ed21ffe 100644 --- a/msgraph/generated/models/activity_history_item_collection_response.py +++ b/msgraph/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/generated/models/add_in.py b/msgraph/generated/models/add_in.py index 45b0f515f92..357ad78a585 100644 --- a/msgraph/generated/models/add_in.py +++ b/msgraph/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/generated/models/add_large_gallery_view_operation.py b/msgraph/generated/models/add_large_gallery_view_operation.py index 6e76904f52f..17d8c58055d 100644 --- a/msgraph/generated/models/add_large_gallery_view_operation.py +++ b/msgraph/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/generated/models/address_book_account_target_content.py b/msgraph/generated/models/address_book_account_target_content.py index 7bda09c5004..7b7294488f4 100644 --- a/msgraph/generated/models/address_book_account_target_content.py +++ b/msgraph/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/generated/models/admin.py b/msgraph/generated/models/admin.py index f2525b456ed..c62acd1d3ac 100644 --- a/msgraph/generated/models/admin.py +++ b/msgraph/generated/models/admin.py @@ -83,6 +83,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .admin_microsoft365_apps import AdminMicrosoft365Apps + from .admin_report_settings import AdminReportSettings + from .edge import Edge + from .people_admin_settings import PeopleAdminSettings + from .service_announcement import ServiceAnnouncement + from .sharepoint import Sharepoint + writer.write_object_value("edge", self.edge) writer.write_object_value("microsoft365Apps", self.microsoft365_apps) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/admin_consent_request_policy.py b/msgraph/generated/models/admin_consent_request_policy.py index 3982f57fd7a..d554c3b4795 100644 --- a/msgraph/generated/models/admin_consent_request_policy.py +++ b/msgraph/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/generated/models/admin_microsoft365_apps.py b/msgraph/generated/models/admin_microsoft365_apps.py index ac1af3903ce..6750a388163 100644 --- a/msgraph/generated/models/admin_microsoft365_apps.py +++ b/msgraph/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/generated/models/admin_report_settings.py b/msgraph/generated/models/admin_report_settings.py index 267b1d82d98..5d3557425a7 100644 --- a/msgraph/generated/models/admin_report_settings.py +++ b/msgraph/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/generated/models/administrative_unit.py b/msgraph/generated/models/administrative_unit.py index c1f184f38c8..fd43685c8ca 100644 --- a/msgraph/generated/models/administrative_unit.py +++ b/msgraph/generated/models/administrative_unit.py @@ -24,15 +24,15 @@ class AdministrativeUnit(DirectoryObject): is_member_management_restricted: Optional[bool] = None # Users and groups that are members of this administrative unit. Supports $expand. members: Optional[List[DirectoryObject]] = None - # The membershipRule property + # The dynamic membership rule for the administrative unit. For more information about the rules you can use for dynamic administrative units and dynamic groups, see Manage rules for dynamic membership groups in Microsoft Entra ID. membership_rule: Optional[str] = None - # The membershipRuleProcessingState property + # Controls whether the dynamic membership rule is actively processed. Set to On to activate the dynamic membership rule, or Paused to stop updating membership dynamically. membership_rule_processing_state: Optional[str] = None - # The membershipType property + # Indicates the membership type for the administrative unit. The possible values are: dynamic, assigned. If not set, the default value is null and the default behavior is assigned. membership_type: Optional[str] = None # Scoped-role members of this administrative unit. scoped_role_members: Optional[List[ScopedRoleMembership]] = None - # Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. + # Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set, the default value is null and the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. visibility: Optional[str] = None @staticmethod @@ -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/generated/models/administrative_unit_collection_response.py b/msgraph/generated/models/administrative_unit_collection_response.py index 03d5561bece..561e674862f 100644 --- a/msgraph/generated/models/administrative_unit_collection_response.py +++ b/msgraph/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/generated/models/aggregation_option.py b/msgraph/generated/models/aggregation_option.py index 31750896cba..8babc671fe0 100644 --- a/msgraph/generated/models/aggregation_option.py +++ b/msgraph/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/generated/models/agreement.py b/msgraph/generated/models/agreement.py index b664eb3e6ad..10dc2cc4558 100644 --- a/msgraph/generated/models/agreement.py +++ b/msgraph/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/generated/models/agreement_acceptance.py b/msgraph/generated/models/agreement_acceptance.py index 3b1d2d83708..4a364a5f756 100644 --- a/msgraph/generated/models/agreement_acceptance.py +++ b/msgraph/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/generated/models/agreement_acceptance_collection_response.py b/msgraph/generated/models/agreement_acceptance_collection_response.py index 9d4b0081d38..d46434ea682 100644 --- a/msgraph/generated/models/agreement_acceptance_collection_response.py +++ b/msgraph/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/generated/models/agreement_collection_response.py b/msgraph/generated/models/agreement_collection_response.py index a81ee9b5260..b693dcb1dac 100644 --- a/msgraph/generated/models/agreement_collection_response.py +++ b/msgraph/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/generated/models/agreement_file.py b/msgraph/generated/models/agreement_file.py index e5a2779627d..8d380b2dd26 100644 --- a/msgraph/generated/models/agreement_file.py +++ b/msgraph/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/generated/models/agreement_file_localization.py b/msgraph/generated/models/agreement_file_localization.py index 8d720888829..ce7a4ebf85a 100644 --- a/msgraph/generated/models/agreement_file_localization.py +++ b/msgraph/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/generated/models/agreement_file_localization_collection_response.py b/msgraph/generated/models/agreement_file_localization_collection_response.py index 8f71c1d114b..5ca24891794 100644 --- a/msgraph/generated/models/agreement_file_localization_collection_response.py +++ b/msgraph/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/generated/models/agreement_file_properties.py b/msgraph/generated/models/agreement_file_properties.py index 22d3953b57b..ac47a9e46a9 100644 --- a/msgraph/generated/models/agreement_file_properties.py +++ b/msgraph/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/generated/models/agreement_file_version.py b/msgraph/generated/models/agreement_file_version.py index 16bed04a912..616b78f39a7 100644 --- a/msgraph/generated/models/agreement_file_version.py +++ b/msgraph/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/generated/models/agreement_file_version_collection_response.py b/msgraph/generated/models/agreement_file_version_collection_response.py index 83c073b205c..9ec3a639df0 100644 --- a/msgraph/generated/models/agreement_file_version_collection_response.py +++ b/msgraph/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/generated/models/alert.py b/msgraph/generated/models/alert.py index 26eb05eade5..2dcd3c521d2 100644 --- a/msgraph/generated/models/alert.py +++ b/msgraph/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/generated/models/alert_collection_response.py b/msgraph/generated/models/alert_collection_response.py index 863fbd6e5a5..17db7d89e6f 100644 --- a/msgraph/generated/models/alert_collection_response.py +++ b/msgraph/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/generated/models/alert_history_state.py b/msgraph/generated/models/alert_history_state.py index 117c240df10..31ab5c39bdb 100644 --- a/msgraph/generated/models/alert_history_state.py +++ b/msgraph/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/generated/models/all_device_registration_membership.py b/msgraph/generated/models/all_device_registration_membership.py index 5ebc9077c64..541e1badafa 100644 --- a/msgraph/generated/models/all_device_registration_membership.py +++ b/msgraph/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/generated/models/all_devices_assignment_target.py b/msgraph/generated/models/all_devices_assignment_target.py index 8130a4d2e74..f7d0e9ca46c 100644 --- a/msgraph/generated/models/all_devices_assignment_target.py +++ b/msgraph/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/generated/models/all_licensed_users_assignment_target.py b/msgraph/generated/models/all_licensed_users_assignment_target.py index 955f500b548..76265df3b10 100644 --- a/msgraph/generated/models/all_licensed_users_assignment_target.py +++ b/msgraph/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/generated/models/allowed_value.py b/msgraph/generated/models/allowed_value.py index 91c9fd1a070..861a78d3ed8 100644 --- a/msgraph/generated/models/allowed_value.py +++ b/msgraph/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/generated/models/allowed_value_collection_response.py b/msgraph/generated/models/allowed_value_collection_response.py index 263ebf3a703..5e3838a18cb 100644 --- a/msgraph/generated/models/allowed_value_collection_response.py +++ b/msgraph/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/generated/models/alteration_response.py b/msgraph/generated/models/alteration_response.py index fc95aa81038..5675e216786 100644 --- a/msgraph/generated/models/alteration_response.py +++ b/msgraph/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/generated/models/android_compliance_policy.py b/msgraph/generated/models/android_compliance_policy.py index ea2c5a31830..a68c537d2dc 100644 --- a/msgraph/generated/models/android_compliance_policy.py +++ b/msgraph/generated/models/android_compliance_policy.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 .android_required_password_type import AndroidRequiredPasswordType + 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/generated/models/android_custom_configuration.py b/msgraph/generated/models/android_custom_configuration.py index 4d93bbdcd2a..c4635679c59 100644 --- a/msgraph/generated/models/android_custom_configuration.py +++ b/msgraph/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/generated/models/android_general_device_configuration.py b/msgraph/generated/models/android_general_device_configuration.py index a8ca88f2085..59e2a127ef5 100644 --- a/msgraph/generated/models/android_general_device_configuration.py +++ b/msgraph/generated/models/android_general_device_configuration.py @@ -207,6 +207,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + 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/generated/models/android_lob_app.py b/msgraph/generated/models/android_lob_app.py index 5263244f321..6280dcb10b4 100644 --- a/msgraph/generated/models/android_lob_app.py +++ b/msgraph/generated/models/android_lob_app.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 .android_minimum_operating_system import AndroidMinimumOperatingSystem + 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_str_value("versionCode", self.version_code) diff --git a/msgraph/generated/models/android_lob_app_collection_response.py b/msgraph/generated/models/android_lob_app_collection_response.py index f0b0f0c77c6..82efdc14c72 100644 --- a/msgraph/generated/models/android_lob_app_collection_response.py +++ b/msgraph/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/generated/models/android_managed_app_protection.py b/msgraph/generated/models/android_managed_app_protection.py index 833831237a5..6aaffa0e9aa 100644 --- a/msgraph/generated/models/android_managed_app_protection.py +++ b/msgraph/generated/models/android_managed_app_protection.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 .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_protection import TargetedManagedAppProtection + writer.write_collection_of_object_values("apps", self.apps) writer.write_str_value("customBrowserDisplayName", self.custom_browser_display_name) writer.write_str_value("customBrowserPackageId", self.custom_browser_package_id) diff --git a/msgraph/generated/models/android_managed_app_protection_collection_response.py b/msgraph/generated/models/android_managed_app_protection_collection_response.py index 7d7f39959ec..58c33cd0a32 100644 --- a/msgraph/generated/models/android_managed_app_protection_collection_response.py +++ b/msgraph/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/generated/models/android_managed_app_registration.py b/msgraph/generated/models/android_managed_app_registration.py index 8ba0066dbb0..0f909006392 100644 --- a/msgraph/generated/models/android_managed_app_registration.py +++ b/msgraph/generated/models/android_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/generated/models/android_mobile_app_identifier.py b/msgraph/generated/models/android_mobile_app_identifier.py index e294f9ab8e9..c175eb68e16 100644 --- a/msgraph/generated/models/android_mobile_app_identifier.py +++ b/msgraph/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/generated/models/android_store_app.py b/msgraph/generated/models/android_store_app.py index 1776a103b7d..0d60af7a711 100644 --- a/msgraph/generated/models/android_store_app.py +++ b/msgraph/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/generated/models/android_store_app_collection_response.py b/msgraph/generated/models/android_store_app_collection_response.py index 9b248ced8da..0cc9b7916f8 100644 --- a/msgraph/generated/models/android_store_app_collection_response.py +++ b/msgraph/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/generated/models/android_work_profile_compliance_policy.py b/msgraph/generated/models/android_work_profile_compliance_policy.py index e0275d16c62..1a0a385d706 100644 --- a/msgraph/generated/models/android_work_profile_compliance_policy.py +++ b/msgraph/generated/models/android_work_profile_compliance_policy.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 .android_required_password_type import AndroidRequiredPasswordType + 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/generated/models/android_work_profile_custom_configuration.py b/msgraph/generated/models/android_work_profile_custom_configuration.py index 6923f3c71ca..95c08b25139 100644 --- a/msgraph/generated/models/android_work_profile_custom_configuration.py +++ b/msgraph/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/generated/models/android_work_profile_general_device_configuration.py b/msgraph/generated/models/android_work_profile_general_device_configuration.py index c5a4d9693e0..2539af0835c 100644 --- a/msgraph/generated/models/android_work_profile_general_device_configuration.py +++ b/msgraph/generated/models/android_work_profile_general_device_configuration.py @@ -162,6 +162,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + 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_bool_value("passwordBlockFingerprintUnlock", self.password_block_fingerprint_unlock) writer.write_bool_value("passwordBlockTrustAgents", self.password_block_trust_agents) writer.write_int_value("passwordExpirationDays", self.password_expiration_days) diff --git a/msgraph/generated/models/anonymous_guest_conversation_member.py b/msgraph/generated/models/anonymous_guest_conversation_member.py index 2e55c802bc1..00942c557f0 100644 --- a/msgraph/generated/models/anonymous_guest_conversation_member.py +++ b/msgraph/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/generated/models/api_application.py b/msgraph/generated/models/api_application.py index 6e73d4479a4..30d4a58849d 100644 --- a/msgraph/generated/models/api_application.py +++ b/msgraph/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/generated/models/api_authentication_configuration_base.py b/msgraph/generated/models/api_authentication_configuration_base.py index 9803e939e31..f285c2fc1db 100644 --- a/msgraph/generated/models/api_authentication_configuration_base.py +++ b/msgraph/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/generated/models/app_catalogs.py b/msgraph/generated/models/app_catalogs.py index 17c48baa798..9d27e2814ba 100644 --- a/msgraph/generated/models/app_catalogs.py +++ b/msgraph/generated/models/app_catalogs.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 .teams_app import TeamsApp + writer.write_collection_of_object_values("teamsApps", self.teams_apps) diff --git a/msgraph/generated/models/app_configuration_setting_item.py b/msgraph/generated/models/app_configuration_setting_item.py index 0662d4ab972..1a133104bda 100644 --- a/msgraph/generated/models/app_configuration_setting_item.py +++ b/msgraph/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/generated/models/app_consent_approval_route.py b/msgraph/generated/models/app_consent_approval_route.py index 08e482028c1..2f967281b04 100644 --- a/msgraph/generated/models/app_consent_approval_route.py +++ b/msgraph/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/generated/models/app_consent_request.py b/msgraph/generated/models/app_consent_request.py index 9fd91204ca6..539702b84f2 100644 --- a/msgraph/generated/models/app_consent_request.py +++ b/msgraph/generated/models/app_consent_request.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 .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_collection_of_object_values("pendingScopes", self.pending_scopes) diff --git a/msgraph/generated/models/app_consent_request_collection_response.py b/msgraph/generated/models/app_consent_request_collection_response.py index 3692a0fe2c2..a0ea4b018e9 100644 --- a/msgraph/generated/models/app_consent_request_collection_response.py +++ b/msgraph/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/generated/models/app_hosted_media_config.py b/msgraph/generated/models/app_hosted_media_config.py index 71158b203ec..71ee13b5559 100644 --- a/msgraph/generated/models/app_hosted_media_config.py +++ b/msgraph/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/generated/models/app_log_collection_download_details.py b/msgraph/generated/models/app_log_collection_download_details.py index 282b3966307..0b339cf05f9 100644 --- a/msgraph/generated/models/app_log_collection_download_details.py +++ b/msgraph/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/generated/models/app_log_collection_request.py b/msgraph/generated/models/app_log_collection_request.py index cb5ba3f1b5a..6fedc89890e 100644 --- a/msgraph/generated/models/app_log_collection_request.py +++ b/msgraph/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/generated/models/app_log_collection_request_collection_response.py b/msgraph/generated/models/app_log_collection_request_collection_response.py index 7795e535664..f5b4042e903 100644 --- a/msgraph/generated/models/app_log_collection_request_collection_response.py +++ b/msgraph/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/generated/models/app_management_application_configuration.py b/msgraph/generated/models/app_management_application_configuration.py index 7b1797cde02..28eb1f7a463 100644 --- a/msgraph/generated/models/app_management_application_configuration.py +++ b/msgraph/generated/models/app_management_application_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/generated/models/app_management_configuration.py b/msgraph/generated/models/app_management_configuration.py index b79bd0bdf9b..10985a74a47 100644 --- a/msgraph/generated/models/app_management_configuration.py +++ b/msgraph/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/generated/models/app_management_policy.py b/msgraph/generated/models/app_management_policy.py index d7dae8a23eb..ab42975afeb 100644 --- a/msgraph/generated/models/app_management_policy.py +++ b/msgraph/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/generated/models/app_management_policy_collection_response.py b/msgraph/generated/models/app_management_policy_collection_response.py index 3bd74670f24..e393b815817 100644 --- a/msgraph/generated/models/app_management_policy_collection_response.py +++ b/msgraph/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/generated/models/app_management_service_principal_configuration.py b/msgraph/generated/models/app_management_service_principal_configuration.py index cc4f68a6e32..543941719ff 100644 --- a/msgraph/generated/models/app_management_service_principal_configuration.py +++ b/msgraph/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/generated/models/app_role_assignment.py b/msgraph/generated/models/app_role_assignment.py index 5eff1b7103d..c8b620da988 100644 --- a/msgraph/generated/models/app_role_assignment.py +++ b/msgraph/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 .directory_object import DirectoryObject + writer.write_uuid_value("appRoleId", self.app_role_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("principalDisplayName", self.principal_display_name) diff --git a/msgraph/generated/models/app_role_assignment_collection_response.py b/msgraph/generated/models/app_role_assignment_collection_response.py index 08a9bbf7e0b..36af851d0c8 100644 --- a/msgraph/generated/models/app_role_assignment_collection_response.py +++ b/msgraph/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/generated/models/app_scope.py b/msgraph/generated/models/app_scope.py index 0e82e1434ea..b4e5f2cc8c3 100644 --- a/msgraph/generated/models/app_scope.py +++ b/msgraph/generated/models/app_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 .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("type", self.type) diff --git a/msgraph/generated/models/apple_device_features_configuration_base.py b/msgraph/generated/models/apple_device_features_configuration_base.py index 2505ea13475..77b06cadde6 100644 --- a/msgraph/generated/models/apple_device_features_configuration_base.py +++ b/msgraph/generated/models/apple_device_features_configuration_base.py @@ -28,7 +28,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(): @@ -69,5 +70,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_device_features_configuration import IosDeviceFeaturesConfiguration + from .mac_o_s_device_features_configuration import MacOSDeviceFeaturesConfiguration + diff --git a/msgraph/generated/models/apple_managed_identity_provider.py b/msgraph/generated/models/apple_managed_identity_provider.py index 971439ef2e9..eed1aae7175 100644 --- a/msgraph/generated/models/apple_managed_identity_provider.py +++ b/msgraph/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/generated/models/apple_push_notification_certificate.py b/msgraph/generated/models/apple_push_notification_certificate.py index 81089c39ee6..7fa2a67da3f 100644 --- a/msgraph/generated/models/apple_push_notification_certificate.py +++ b/msgraph/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/generated/models/application.py b/msgraph/generated/models/application.py index 3bca3f81bc7..bcc41fcae61 100644 --- a/msgraph/generated/models/application.py +++ b/msgraph/generated/models/application.py @@ -263,6 +263,32 @@ 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 .api_application import ApiApplication + from .app_management_policy import AppManagementPolicy + from .app_role import AppRole + from .certification import Certification + 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 .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 + writer.write_collection_of_object_values("addIns", self.add_ins) writer.write_object_value("api", self.api) writer.write_str_value("appId", self.app_id) diff --git a/msgraph/generated/models/application_collection_response.py b/msgraph/generated/models/application_collection_response.py index 965a429dddf..63d52169bff 100644 --- a/msgraph/generated/models/application_collection_response.py +++ b/msgraph/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/generated/models/application_enforced_restrictions_session_control.py b/msgraph/generated/models/application_enforced_restrictions_session_control.py index 753e74db34c..233e21271d5 100644 --- a/msgraph/generated/models/application_enforced_restrictions_session_control.py +++ b/msgraph/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/generated/models/application_service_principal.py b/msgraph/generated/models/application_service_principal.py index 921ec05545f..b255abb31b2 100644 --- a/msgraph/generated/models/application_service_principal.py +++ b/msgraph/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/generated/models/application_template.py b/msgraph/generated/models/application_template.py index ae07aad912b..d91c2925b31 100644 --- a/msgraph/generated/models/application_template.py +++ b/msgraph/generated/models/application_template.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_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/generated/models/application_template_collection_response.py b/msgraph/generated/models/application_template_collection_response.py index 60c18a43f50..b1a24856509 100644 --- a/msgraph/generated/models/application_template_collection_response.py +++ b/msgraph/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/generated/models/applied_conditional_access_policy.py b/msgraph/generated/models/applied_conditional_access_policy.py index aca8e1f0385..44ff98c9dd0 100644 --- a/msgraph/generated/models/applied_conditional_access_policy.py +++ b/msgraph/generated/models/applied_conditional_access_policy.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .applied_conditional_access_policy_result import AppliedConditionalAccessPolicyResult + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("enforcedGrantControls", self.enforced_grant_controls) writer.write_collection_of_primitive_values("enforcedSessionControls", self.enforced_session_controls) diff --git a/msgraph/generated/models/approval.py b/msgraph/generated/models/approval.py index b1736946cf6..ddbedeffe72 100644 --- a/msgraph/generated/models/approval.py +++ b/msgraph/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_stage import ApprovalStage + from .entity import Entity + writer.write_collection_of_object_values("stages", self.stages) diff --git a/msgraph/generated/models/approval_collection_response.py b/msgraph/generated/models/approval_collection_response.py index c4a5548d4ad..8c8a116c620 100644 --- a/msgraph/generated/models/approval_collection_response.py +++ b/msgraph/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/generated/models/approval_settings.py b/msgraph/generated/models/approval_settings.py index eaa208a5996..b3bd46b3168 100644 --- a/msgraph/generated/models/approval_settings.py +++ b/msgraph/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 .unified_approval_stage import UnifiedApprovalStage + 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/generated/models/approval_stage.py b/msgraph/generated/models/approval_stage.py index d523091ceb7..4f504031bca 100644 --- a/msgraph/generated/models/approval_stage.py +++ b/msgraph/generated/models/approval_stage.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/generated/models/approval_stage_collection_response.py b/msgraph/generated/models/approval_stage_collection_response.py index 0b14200515e..97bd717a8b1 100644 --- a/msgraph/generated/models/approval_stage_collection_response.py +++ b/msgraph/generated/models/approval_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 .approval_stage import ApprovalStage + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/archived_print_job.py b/msgraph/generated/models/archived_print_job.py index f412bdf8eba..2c7d968246b 100644 --- a/msgraph/generated/models/archived_print_job.py +++ b/msgraph/generated/models/archived_print_job.py @@ -84,6 +84,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_datetime_value("completionDateTime", self.completion_date_time) diff --git a/msgraph/generated/models/artifact_query.py b/msgraph/generated/models/artifact_query.py index 2a22847a091..5d3dde683df 100644 --- a/msgraph/generated/models/artifact_query.py +++ b/msgraph/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/generated/models/associated_team_info.py b/msgraph/generated/models/associated_team_info.py index 6d1cd4dc163..bf72226b2dc 100644 --- a/msgraph/generated/models/associated_team_info.py +++ b/msgraph/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/generated/models/associated_team_info_collection_response.py b/msgraph/generated/models/associated_team_info_collection_response.py index 4df63f5d686..ad7fc1802b3 100644 --- a/msgraph/generated/models/associated_team_info_collection_response.py +++ b/msgraph/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/generated/models/attachment.py b/msgraph/generated/models/attachment.py index 3cea4ea1066..d162586742f 100644 --- a/msgraph/generated/models/attachment.py +++ b/msgraph/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/generated/models/attachment_base.py b/msgraph/generated/models/attachment_base.py index acd5b17a8dd..a8efec15587 100644 --- a/msgraph/generated/models/attachment_base.py +++ b/msgraph/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/generated/models/attachment_base_collection_response.py b/msgraph/generated/models/attachment_base_collection_response.py index 6c849906faf..12fe356f5da 100644 --- a/msgraph/generated/models/attachment_base_collection_response.py +++ b/msgraph/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/generated/models/attachment_collection_response.py b/msgraph/generated/models/attachment_collection_response.py index 863ea93b839..fa8b6bb7352 100644 --- a/msgraph/generated/models/attachment_collection_response.py +++ b/msgraph/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/generated/models/attachment_info.py b/msgraph/generated/models/attachment_info.py index 13e333adaba..38d7d32b53e 100644 --- a/msgraph/generated/models/attachment_info.py +++ b/msgraph/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/generated/models/attachment_item.py b/msgraph/generated/models/attachment_item.py index 89783cf2d33..a29a56e8f86 100644 --- a/msgraph/generated/models/attachment_item.py +++ b/msgraph/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/generated/models/attachment_session.py b/msgraph/generated/models/attachment_session.py index a5a90c51538..1e1ff34a507 100644 --- a/msgraph/generated/models/attachment_session.py +++ b/msgraph/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/generated/models/attachment_session_collection_response.py b/msgraph/generated/models/attachment_session_collection_response.py index 9fbbe26d141..c65a3fc5066 100644 --- a/msgraph/generated/models/attachment_session_collection_response.py +++ b/msgraph/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/generated/models/attack_simulation_operation.py b/msgraph/generated/models/attack_simulation_operation.py index 3604eb46229..660a2683971 100644 --- a/msgraph/generated/models/attack_simulation_operation.py +++ b/msgraph/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/generated/models/attack_simulation_operation_collection_response.py b/msgraph/generated/models/attack_simulation_operation_collection_response.py index 81b8f7fc63d..616ec371d1a 100644 --- a/msgraph/generated/models/attack_simulation_operation_collection_response.py +++ b/msgraph/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/generated/models/attack_simulation_repeat_offender.py b/msgraph/generated/models/attack_simulation_repeat_offender.py index 68a4e014e00..a1f2986a706 100644 --- a/msgraph/generated/models/attack_simulation_repeat_offender.py +++ b/msgraph/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/generated/models/attack_simulation_root.py b/msgraph/generated/models/attack_simulation_root.py index dc95a8cce51..da58d820b20 100644 --- a/msgraph/generated/models/attack_simulation_root.py +++ b/msgraph/generated/models/attack_simulation_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 .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 + 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/generated/models/attack_simulation_simulation_user_coverage.py b/msgraph/generated/models/attack_simulation_simulation_user_coverage.py index c4a9effe7d1..c95e4e040a5 100644 --- a/msgraph/generated/models/attack_simulation_simulation_user_coverage.py +++ b/msgraph/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/generated/models/attack_simulation_training_user_coverage.py b/msgraph/generated/models/attack_simulation_training_user_coverage.py index cdfff0b61d0..077362fb288 100644 --- a/msgraph/generated/models/attack_simulation_training_user_coverage.py +++ b/msgraph/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/generated/models/attendance_record.py b/msgraph/generated/models/attendance_record.py index 6a1693875f5..79a251e9b1d 100644 --- a/msgraph/generated/models/attendance_record.py +++ b/msgraph/generated/models/attendance_record.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 .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) diff --git a/msgraph/generated/models/attendance_record_collection_response.py b/msgraph/generated/models/attendance_record_collection_response.py index be0b06f2f61..6773310e154 100644 --- a/msgraph/generated/models/attendance_record_collection_response.py +++ b/msgraph/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/generated/models/attendee.py b/msgraph/generated/models/attendee.py index 1f5dc0108e6..0dceae11760 100644 --- a/msgraph/generated/models/attendee.py +++ b/msgraph/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/generated/models/attendee_availability.py b/msgraph/generated/models/attendee_availability.py index 8c135e137a2..85f4cde276c 100644 --- a/msgraph/generated/models/attendee_availability.py +++ b/msgraph/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/generated/models/attendee_base.py b/msgraph/generated/models/attendee_base.py index ae47204f587..4af9c79adac 100644 --- a/msgraph/generated/models/attendee_base.py +++ b/msgraph/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/generated/models/attribute_definition.py b/msgraph/generated/models/attribute_definition.py index 2a88ca3779c..0e8a474eafa 100644 --- a/msgraph/generated/models/attribute_definition.py +++ b/msgraph/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/generated/models/attribute_definition_metadata_entry.py b/msgraph/generated/models/attribute_definition_metadata_entry.py index 62eff288bbc..27052e081a9 100644 --- a/msgraph/generated/models/attribute_definition_metadata_entry.py +++ b/msgraph/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/generated/models/attribute_mapping.py b/msgraph/generated/models/attribute_mapping.py index d4b93c9cd29..eefd2bed9d6 100644 --- a/msgraph/generated/models/attribute_mapping.py +++ b/msgraph/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/generated/models/attribute_mapping_function_schema.py b/msgraph/generated/models/attribute_mapping_function_schema.py index b8490a5bf59..4e98483393b 100644 --- a/msgraph/generated/models/attribute_mapping_function_schema.py +++ b/msgraph/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/generated/models/attribute_mapping_function_schema_collection_response.py b/msgraph/generated/models/attribute_mapping_function_schema_collection_response.py index 40f6e8609ce..71a0aa92c46 100644 --- a/msgraph/generated/models/attribute_mapping_function_schema_collection_response.py +++ b/msgraph/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/generated/models/attribute_mapping_parameter_schema.py b/msgraph/generated/models/attribute_mapping_parameter_schema.py index dfe166bd1a2..032dba3e498 100644 --- a/msgraph/generated/models/attribute_mapping_parameter_schema.py +++ b/msgraph/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/generated/models/attribute_mapping_source.py b/msgraph/generated/models/attribute_mapping_source.py index 615053af011..8204364ca94 100644 --- a/msgraph/generated/models/attribute_mapping_source.py +++ b/msgraph/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/generated/models/attribute_rule_members.py b/msgraph/generated/models/attribute_rule_members.py index 68517244a36..a047975ccec 100644 --- a/msgraph/generated/models/attribute_rule_members.py +++ b/msgraph/generated/models/attribute_rule_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 .subject_set import SubjectSet + writer.write_str_value("description", self.description) writer.write_str_value("membershipRule", self.membership_rule) diff --git a/msgraph/generated/models/attribute_set.py b/msgraph/generated/models/attribute_set.py index 0d720e14c76..ac756365c65 100644 --- a/msgraph/generated/models/attribute_set.py +++ b/msgraph/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/generated/models/attribute_set_collection_response.py b/msgraph/generated/models/attribute_set_collection_response.py index e93f38925e4..a2ba25760bc 100644 --- a/msgraph/generated/models/attribute_set_collection_response.py +++ b/msgraph/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/generated/models/audio_routing_group.py b/msgraph/generated/models/audio_routing_group.py index aecb526431b..50cc6b2d903 100644 --- a/msgraph/generated/models/audio_routing_group.py +++ b/msgraph/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/generated/models/audio_routing_group_collection_response.py b/msgraph/generated/models/audio_routing_group_collection_response.py index c9446b7a865..514fbabe7e2 100644 --- a/msgraph/generated/models/audio_routing_group_collection_response.py +++ b/msgraph/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/generated/models/audit_activity_initiator.py b/msgraph/generated/models/audit_activity_initiator.py index 9c200a808c6..f67a366944a 100644 --- a/msgraph/generated/models/audit_activity_initiator.py +++ b/msgraph/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 .user_identity import UserIdentity + 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/generated/models/audit_event.py b/msgraph/generated/models/audit_event.py index 35b3ff04f51..e74f5378a74 100644 --- a/msgraph/generated/models/audit_event.py +++ b/msgraph/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/generated/models/audit_event_collection_response.py b/msgraph/generated/models/audit_event_collection_response.py index 3d0e219289c..fede9bcd3bd 100644 --- a/msgraph/generated/models/audit_event_collection_response.py +++ b/msgraph/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/generated/models/audit_log_root.py b/msgraph/generated/models/audit_log_root.py index c04fbaa2b3a..0dae81a77b3 100644 --- a/msgraph/generated/models/audit_log_root.py +++ b/msgraph/generated/models/audit_log_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 .directory_audit import DirectoryAudit + from .entity import Entity + from .provisioning_object_summary import ProvisioningObjectSummary + from .sign_in import SignIn + writer.write_collection_of_object_values("directoryAudits", self.directory_audits) writer.write_collection_of_object_values("provisioning", self.provisioning) writer.write_collection_of_object_values("signIns", self.sign_ins) diff --git a/msgraph/generated/models/audit_resource.py b/msgraph/generated/models/audit_resource.py index 914dea938f5..0f1311b6847 100644 --- a/msgraph/generated/models/audit_resource.py +++ b/msgraph/generated/models/audit_resource.py @@ -65,6 +65,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/generated/models/authentication.py b/msgraph/generated/models/authentication.py index fbb55401af1..6398be3c297 100644 --- a/msgraph/generated/models/authentication.py +++ b/msgraph/generated/models/authentication.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 .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 .password_authentication_method import PasswordAuthenticationMethod + from .phone_authentication_method import PhoneAuthenticationMethod + 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_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/generated/models/authentication_attribute_collection_input_configuration.py b/msgraph/generated/models/authentication_attribute_collection_input_configuration.py index 0309baecf6c..52020f53968 100644 --- a/msgraph/generated/models/authentication_attribute_collection_input_configuration.py +++ b/msgraph/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/generated/models/authentication_attribute_collection_page.py b/msgraph/generated/models/authentication_attribute_collection_page.py index 11fb4f75956..47a44592d2b 100644 --- a/msgraph/generated/models/authentication_attribute_collection_page.py +++ b/msgraph/generated/models/authentication_attribute_collection_page.py @@ -53,6 +53,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("@odata.type", self.odata_type) writer.write_collection_of_object_values("views", self.views) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/authentication_attribute_collection_page_view_configuration.py b/msgraph/generated/models/authentication_attribute_collection_page_view_configuration.py index 90786cccac6..62a94143a48 100644 --- a/msgraph/generated/models/authentication_attribute_collection_page_view_configuration.py +++ b/msgraph/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/generated/models/authentication_combination_configuration.py b/msgraph/generated/models/authentication_combination_configuration.py index fb31874a36b..ca3f36a0de9 100644 --- a/msgraph/generated/models/authentication_combination_configuration.py +++ b/msgraph/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/generated/models/authentication_combination_configuration_collection_response.py b/msgraph/generated/models/authentication_combination_configuration_collection_response.py index d34c6c273b1..f31cb1228f0 100644 --- a/msgraph/generated/models/authentication_combination_configuration_collection_response.py +++ b/msgraph/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/generated/models/authentication_condition_application_collection_response.py b/msgraph/generated/models/authentication_condition_application_collection_response.py index 0dc96063697..bbedae5e90f 100644 --- a/msgraph/generated/models/authentication_condition_application_collection_response.py +++ b/msgraph/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/generated/models/authentication_conditions.py b/msgraph/generated/models/authentication_conditions.py index 7c81f7a60f9..3a325ac620d 100644 --- a/msgraph/generated/models/authentication_conditions.py +++ b/msgraph/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/generated/models/authentication_conditions_applications.py b/msgraph/generated/models/authentication_conditions_applications.py index 194833677e6..d6ffa72ae95 100644 --- a/msgraph/generated/models/authentication_conditions_applications.py +++ b/msgraph/generated/models/authentication_conditions_applications.py @@ -53,6 +53,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_collection_of_object_values("includeApplications", self.include_applications) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/authentication_configuration_validation.py b/msgraph/generated/models/authentication_configuration_validation.py index ec32ef13d13..65947df47bb 100644 --- a/msgraph/generated/models/authentication_configuration_validation.py +++ b/msgraph/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/generated/models/authentication_context_class_reference.py b/msgraph/generated/models/authentication_context_class_reference.py index 6ee359736cf..efbc57656ef 100644 --- a/msgraph/generated/models/authentication_context_class_reference.py +++ b/msgraph/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/generated/models/authentication_context_class_reference_collection_response.py b/msgraph/generated/models/authentication_context_class_reference_collection_response.py index 9bf797b9510..143baebc206 100644 --- a/msgraph/generated/models/authentication_context_class_reference_collection_response.py +++ b/msgraph/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/generated/models/authentication_event_listener.py b/msgraph/generated/models/authentication_event_listener.py index 22de072eff4..8fac769ab13 100644 --- a/msgraph/generated/models/authentication_event_listener.py +++ b/msgraph/generated/models/authentication_event_listener.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.onAttributeCollectionListener".casefold(): @@ -96,6 +97,14 @@ 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_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) diff --git a/msgraph/generated/models/authentication_event_listener_collection_response.py b/msgraph/generated/models/authentication_event_listener_collection_response.py index 9bdcb25f6b6..bc0b64b58de 100644 --- a/msgraph/generated/models/authentication_event_listener_collection_response.py +++ b/msgraph/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/generated/models/authentication_events_flow.py b/msgraph/generated/models/authentication_events_flow.py index 7699aa01250..e8f5174f9cb 100644 --- a/msgraph/generated/models/authentication_events_flow.py +++ b/msgraph/generated/models/authentication_events_flow.py @@ -31,7 +31,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(): @@ -71,6 +72,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/generated/models/authentication_events_flow_collection_response.py b/msgraph/generated/models/authentication_events_flow_collection_response.py index 43550b6b586..b70806f7868 100644 --- a/msgraph/generated/models/authentication_events_flow_collection_response.py +++ b/msgraph/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/generated/models/authentication_flows_policy.py b/msgraph/generated/models/authentication_flows_policy.py index 9984db1af68..e25be7a1413 100644 --- a/msgraph/generated/models/authentication_flows_policy.py +++ b/msgraph/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/generated/models/authentication_method.py b/msgraph/generated/models/authentication_method.py index 5727375d755..26b76b32221 100644 --- a/msgraph/generated/models/authentication_method.py +++ b/msgraph/generated/models/authentication_method.py @@ -31,7 +31,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(): @@ -108,5 +109,15 @@ 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 .password_authentication_method import PasswordAuthenticationMethod + from .phone_authentication_method import PhoneAuthenticationMethod + from .software_oath_authentication_method import SoftwareOathAuthenticationMethod + from .temporary_access_pass_authentication_method import TemporaryAccessPassAuthenticationMethod + from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod + diff --git a/msgraph/generated/models/authentication_method_collection_response.py b/msgraph/generated/models/authentication_method_collection_response.py index f1aae70da8d..7df3c9d7f78 100644 --- a/msgraph/generated/models/authentication_method_collection_response.py +++ b/msgraph/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/generated/models/authentication_method_configuration.py b/msgraph/generated/models/authentication_method_configuration.py index 3479896262b..04af9130e7e 100644 --- a/msgraph/generated/models/authentication_method_configuration.py +++ b/msgraph/generated/models/authentication_method_configuration.py @@ -37,7 +37,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(): @@ -120,6 +121,18 @@ 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 .fido2_authentication_method_configuration import Fido2AuthenticationMethodConfiguration + 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/generated/models/authentication_method_configuration_collection_response.py b/msgraph/generated/models/authentication_method_configuration_collection_response.py index 511adb58703..aad0407af32 100644 --- a/msgraph/generated/models/authentication_method_configuration_collection_response.py +++ b/msgraph/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/generated/models/authentication_method_feature_configuration.py b/msgraph/generated/models/authentication_method_feature_configuration.py index fab83e9c06c..a2c94b269eb 100644 --- a/msgraph/generated/models/authentication_method_feature_configuration.py +++ b/msgraph/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/generated/models/authentication_method_mode_detail.py b/msgraph/generated/models/authentication_method_mode_detail.py index 5a19653bd8d..f631df8ba74 100644 --- a/msgraph/generated/models/authentication_method_mode_detail.py +++ b/msgraph/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/generated/models/authentication_method_mode_detail_collection_response.py b/msgraph/generated/models/authentication_method_mode_detail_collection_response.py index 863736441c6..cb30cd4dc2d 100644 --- a/msgraph/generated/models/authentication_method_mode_detail_collection_response.py +++ b/msgraph/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/generated/models/authentication_method_target.py b/msgraph/generated/models/authentication_method_target.py index 3bc079924e5..25e6a3da4ce 100644 --- a/msgraph/generated/models/authentication_method_target.py +++ b/msgraph/generated/models/authentication_method_target.py @@ -30,7 +30,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(): @@ -75,6 +76,11 @@ 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 .sms_authentication_method_target import SmsAuthenticationMethodTarget + writer.write_bool_value("isRegistrationRequired", self.is_registration_required) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph/generated/models/authentication_methods_policy.py b/msgraph/generated/models/authentication_methods_policy.py index 3a8b36421b9..070fe90f46e 100644 --- a/msgraph/generated/models/authentication_methods_policy.py +++ b/msgraph/generated/models/authentication_methods_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 .authentication_methods_policy_migration_state import AuthenticationMethodsPolicyMigrationState + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .entity import Entity + from .registration_enforcement import RegistrationEnforcement + 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/generated/models/authentication_methods_registration_campaign.py b/msgraph/generated/models/authentication_methods_registration_campaign.py index b9df8527c89..3302e839671 100644 --- a/msgraph/generated/models/authentication_methods_registration_campaign.py +++ b/msgraph/generated/models/authentication_methods_registration_campaign.py @@ -68,6 +68,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_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/generated/models/authentication_methods_registration_campaign_include_target.py b/msgraph/generated/models/authentication_methods_registration_campaign_include_target.py index 12990751173..d579d2e8973 100644 --- a/msgraph/generated/models/authentication_methods_registration_campaign_include_target.py +++ b/msgraph/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/generated/models/authentication_methods_root.py b/msgraph/generated/models/authentication_methods_root.py index ba3d5e9e03b..4caff7bbc1e 100644 --- a/msgraph/generated/models/authentication_methods_root.py +++ b/msgraph/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/generated/models/authentication_strength_policy.py b/msgraph/generated/models/authentication_strength_policy.py index e19327a2e39..45987115c91 100644 --- a/msgraph/generated/models/authentication_strength_policy.py +++ b/msgraph/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/generated/models/authentication_strength_policy_collection_response.py b/msgraph/generated/models/authentication_strength_policy_collection_response.py index 1e70a61d9a5..69a0ba27f1f 100644 --- a/msgraph/generated/models/authentication_strength_policy_collection_response.py +++ b/msgraph/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/generated/models/authentication_strength_root.py b/msgraph/generated/models/authentication_strength_root.py index 25948e5623d..3a25cd8083c 100644 --- a/msgraph/generated/models/authentication_strength_root.py +++ b/msgraph/generated/models/authentication_strength_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 .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_object_values("authenticationMethodModes", self.authentication_method_modes) writer.write_collection_of_enum_values("combinations", self.combinations) writer.write_collection_of_object_values("policies", self.policies) diff --git a/msgraph/generated/models/authentication_strength_usage.py b/msgraph/generated/models/authentication_strength_usage.py index 63531e53e34..bb0d48049df 100644 --- a/msgraph/generated/models/authentication_strength_usage.py +++ b/msgraph/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/generated/models/authored_note.py b/msgraph/generated/models/authored_note.py index 19ff00dba80..17dd78442b6 100644 --- a/msgraph/generated/models/authored_note.py +++ b/msgraph/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/generated/models/authored_note_collection_response.py b/msgraph/generated/models/authored_note_collection_response.py index 9e3322df6d2..768674bb929 100644 --- a/msgraph/generated/models/authored_note_collection_response.py +++ b/msgraph/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/generated/models/authorization_policy.py b/msgraph/generated/models/authorization_policy.py index bbe2dd63434..6182e7e221d 100644 --- a/msgraph/generated/models/authorization_policy.py +++ b/msgraph/generated/models/authorization_policy.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 .allow_invites_from import AllowInvitesFrom + 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/generated/models/automatic_replies_mail_tips.py b/msgraph/generated/models/automatic_replies_mail_tips.py index bdf0a730441..16e03643979 100644 --- a/msgraph/generated/models/automatic_replies_mail_tips.py +++ b/msgraph/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/generated/models/automatic_replies_setting.py b/msgraph/generated/models/automatic_replies_setting.py index 565eed331dd..800f79c7583 100644 --- a/msgraph/generated/models/automatic_replies_setting.py +++ b/msgraph/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/generated/models/availability_item.py b/msgraph/generated/models/availability_item.py index 126ac97424e..0b4c89670ab 100644 --- a/msgraph/generated/models/availability_item.py +++ b/msgraph/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/generated/models/azure_a_d_join_policy.py b/msgraph/generated/models/azure_a_d_join_policy.py index ba7a7b1d2ae..8f87074035a 100644 --- a/msgraph/generated/models/azure_a_d_join_policy.py +++ b/msgraph/generated/models/azure_a_d_join_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("allowedToJoin", self.allowed_to_join) writer.write_bool_value("isAdminConfigurable", self.is_admin_configurable) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/azure_a_d_registration_policy.py b/msgraph/generated/models/azure_a_d_registration_policy.py index 45342160cb2..135278c916b 100644 --- a/msgraph/generated/models/azure_a_d_registration_policy.py +++ b/msgraph/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/generated/models/azure_active_directory_tenant.py b/msgraph/generated/models/azure_active_directory_tenant.py index 18898ff70a2..33a40223cef 100644 --- a/msgraph/generated/models/azure_active_directory_tenant.py +++ b/msgraph/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/generated/models/azure_ad_pop_token_authentication.py b/msgraph/generated/models/azure_ad_pop_token_authentication.py index 3008032af2d..48885f0ae74 100644 --- a/msgraph/generated/models/azure_ad_pop_token_authentication.py +++ b/msgraph/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/generated/models/azure_ad_token_authentication.py b/msgraph/generated/models/azure_ad_token_authentication.py index c082e65fd7d..87e64c2c36f 100644 --- a/msgraph/generated/models/azure_ad_token_authentication.py +++ b/msgraph/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/generated/models/azure_communication_services_user_conversation_member.py b/msgraph/generated/models/azure_communication_services_user_conversation_member.py index 3ed86eeca99..6292d014ef0 100644 --- a/msgraph/generated/models/azure_communication_services_user_conversation_member.py +++ b/msgraph/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/generated/models/azure_communication_services_user_identity.py b/msgraph/generated/models/azure_communication_services_user_identity.py index 11fd348a45a..740ac58544b 100644 --- a/msgraph/generated/models/azure_communication_services_user_identity.py +++ b/msgraph/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/generated/models/b2x_identity_user_flow.py b/msgraph/generated/models/b2x_identity_user_flow.py index 5dd3da0828a..c5a39c2c93e 100644 --- a/msgraph/generated/models/b2x_identity_user_flow.py +++ b/msgraph/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/generated/models/b2x_identity_user_flow_collection_response.py b/msgraph/generated/models/b2x_identity_user_flow_collection_response.py index 44c2c4afea6..2e2eabe5866 100644 --- a/msgraph/generated/models/b2x_identity_user_flow_collection_response.py +++ b/msgraph/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/generated/models/backup_restore_root.py b/msgraph/generated/models/backup_restore_root.py index 69143ff1db4..02abfa6703d 100644 --- a/msgraph/generated/models/backup_restore_root.py +++ b/msgraph/generated/models/backup_restore_root.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 .drive_protection_rule import DriveProtectionRule + from .drive_protection_unit import DriveProtectionUnit + 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 .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 + 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("exchangeProtectionPolicies", self.exchange_protection_policies) diff --git a/msgraph/generated/models/base_end_user_notification.py b/msgraph/generated/models/base_end_user_notification.py index b540816c653..ff8e6144dd8 100644 --- a/msgraph/generated/models/base_end_user_notification.py +++ b/msgraph/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/generated/models/base_item.py b/msgraph/generated/models/base_item.py index c16eb9f0faa..03a574c95a0 100644 --- a/msgraph/generated/models/base_item.py +++ b/msgraph/generated/models/base_item.py @@ -57,7 +57,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(): @@ -151,6 +152,19 @@ 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 .shared_drive_item import SharedDriveItem + from .site import Site + from .site_page import SitePage + from .user import User + 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/generated/models/base_item_collection_response.py b/msgraph/generated/models/base_item_collection_response.py index 7a20daa6fe9..8b0e7d73c5d 100644 --- a/msgraph/generated/models/base_item_collection_response.py +++ b/msgraph/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/generated/models/base_item_version.py b/msgraph/generated/models/base_item_version.py index 615d2c3021e..9b120a8f8e0 100644 --- a/msgraph/generated/models/base_item_version.py +++ b/msgraph/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/generated/models/base_site_page.py b/msgraph/generated/models/base_site_page.py index edf344e3812..bcbb5fbef2c 100644 --- a/msgraph/generated/models/base_site_page.py +++ b/msgraph/generated/models/base_site_page.py @@ -32,7 +32,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.sitePage".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 .base_item import BaseItem + from .page_layout_type import PageLayoutType + from .publication_facet import PublicationFacet + from .site_page import SitePage + 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/generated/models/base_site_page_collection_response.py b/msgraph/generated/models/base_site_page_collection_response.py index 9f277a2f84c..dc6d201c9b1 100644 --- a/msgraph/generated/models/base_site_page_collection_response.py +++ b/msgraph/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/generated/models/basic_authentication.py b/msgraph/generated/models/basic_authentication.py index b9fa366c697..b452df2ef4e 100644 --- a/msgraph/generated/models/basic_authentication.py +++ b/msgraph/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/generated/models/bit_locker_removable_drive_policy.py b/msgraph/generated/models/bit_locker_removable_drive_policy.py index ea47e7b8e05..7e439bc2d62 100644 --- a/msgraph/generated/models/bit_locker_removable_drive_policy.py +++ b/msgraph/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/generated/models/bitlocker.py b/msgraph/generated/models/bitlocker.py index 956951494a4..41f39e5a0f7 100644 --- a/msgraph/generated/models/bitlocker.py +++ b/msgraph/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/generated/models/bitlocker_recovery_key.py b/msgraph/generated/models/bitlocker_recovery_key.py index 8a622af4c18..429392b33d4 100644 --- a/msgraph/generated/models/bitlocker_recovery_key.py +++ b/msgraph/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/generated/models/bitlocker_recovery_key_collection_response.py b/msgraph/generated/models/bitlocker_recovery_key_collection_response.py index bd509360af2..2eb156b19b8 100644 --- a/msgraph/generated/models/bitlocker_recovery_key_collection_response.py +++ b/msgraph/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/generated/models/booking_appointment.py b/msgraph/generated/models/booking_appointment.py index 95f1538238e..fe951cbbcc5 100644 --- a/msgraph/generated/models/booking_appointment.py +++ b/msgraph/generated/models/booking_appointment.py @@ -163,6 +163,13 @@ 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_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/generated/models/booking_appointment_collection_response.py b/msgraph/generated/models/booking_appointment_collection_response.py index 5ff6798a035..63d1d4037dd 100644 --- a/msgraph/generated/models/booking_appointment_collection_response.py +++ b/msgraph/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/generated/models/booking_business.py b/msgraph/generated/models/booking_business.py index 7b665b78118..b790b617fbc 100644 --- a/msgraph/generated/models/booking_business.py +++ b/msgraph/generated/models/booking_business.py @@ -142,6 +142,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_base import BookingCustomerBase + from .booking_custom_question import BookingCustomQuestion + from .booking_page_settings import BookingPageSettings + from .booking_scheduling_policy import BookingSchedulingPolicy + from .booking_service import BookingService + from .booking_staff_member_base import BookingStaffMemberBase + from .booking_work_hours import BookingWorkHours + from .entity import Entity + 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/generated/models/booking_business_collection_response.py b/msgraph/generated/models/booking_business_collection_response.py index 0d9f09aeab4..d914cf83f26 100644 --- a/msgraph/generated/models/booking_business_collection_response.py +++ b/msgraph/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/generated/models/booking_currency.py b/msgraph/generated/models/booking_currency.py index f0a84820d45..7e35f560db8 100644 --- a/msgraph/generated/models/booking_currency.py +++ b/msgraph/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/generated/models/booking_currency_collection_response.py b/msgraph/generated/models/booking_currency_collection_response.py index 6218d029e95..7328e4a711c 100644 --- a/msgraph/generated/models/booking_currency_collection_response.py +++ b/msgraph/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/generated/models/booking_custom_question.py b/msgraph/generated/models/booking_custom_question.py index 6b54a9177ac..0ba2f25b8ed 100644 --- a/msgraph/generated/models/booking_custom_question.py +++ b/msgraph/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/generated/models/booking_custom_question_collection_response.py b/msgraph/generated/models/booking_custom_question_collection_response.py index 449c5cd8966..9767c82181a 100644 --- a/msgraph/generated/models/booking_custom_question_collection_response.py +++ b/msgraph/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/generated/models/booking_customer.py b/msgraph/generated/models/booking_customer.py index 4e6e2f91f75..2cc05db360c 100644 --- a/msgraph/generated/models/booking_customer.py +++ b/msgraph/generated/models/booking_customer.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 .booking_customer_base import BookingCustomerBase + 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_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/booking_customer_base.py b/msgraph/generated/models/booking_customer_base.py index 458cb268115..dc3c67e7802 100644 --- a/msgraph/generated/models/booking_customer_base.py +++ b/msgraph/generated/models/booking_customer_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BookingCustomerBas if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = 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(): @@ -62,5 +63,8 @@ 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 .entity import Entity + diff --git a/msgraph/generated/models/booking_customer_base_collection_response.py b/msgraph/generated/models/booking_customer_base_collection_response.py index 6b2dceddfd8..6eadffbc5f0 100644 --- a/msgraph/generated/models/booking_customer_base_collection_response.py +++ b/msgraph/generated/models/booking_customer_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 .booking_customer_base import BookingCustomerBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/booking_customer_information.py b/msgraph/generated/models/booking_customer_information.py index 08da9425186..0e934f7d59d 100644 --- a/msgraph/generated/models/booking_customer_information.py +++ b/msgraph/generated/models/booking_customer_information.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 .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/generated/models/booking_customer_information_base.py b/msgraph/generated/models/booking_customer_information_base.py index 26d189707cd..8303a1aaa85 100644 --- a/msgraph/generated/models/booking_customer_information_base.py +++ b/msgraph/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/generated/models/booking_page_settings.py b/msgraph/generated/models/booking_page_settings.py index b521543b70d..aa5e2cedcc4 100644 --- a/msgraph/generated/models/booking_page_settings.py +++ b/msgraph/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/generated/models/booking_question_answer.py b/msgraph/generated/models/booking_question_answer.py index 67d4aaa438a..fb878730ef2 100644 --- a/msgraph/generated/models/booking_question_answer.py +++ b/msgraph/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/generated/models/booking_reminder.py b/msgraph/generated/models/booking_reminder.py index cce39a19c5d..b51a24a8d82 100644 --- a/msgraph/generated/models/booking_reminder.py +++ b/msgraph/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/generated/models/booking_scheduling_policy.py b/msgraph/generated/models/booking_scheduling_policy.py index de01e899ec5..fa034274737 100644 --- a/msgraph/generated/models/booking_scheduling_policy.py +++ b/msgraph/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/generated/models/booking_service.py b/msgraph/generated/models/booking_service.py index e16d89079a4..d03be9c8b3c 100644 --- a/msgraph/generated/models/booking_service.py +++ b/msgraph/generated/models/booking_service.py @@ -139,6 +139,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_price_type import BookingPriceType + from .booking_question_assignment import BookingQuestionAssignment + from .booking_reminder import BookingReminder + from .booking_scheduling_policy import BookingSchedulingPolicy + from .entity import Entity + 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/generated/models/booking_service_collection_response.py b/msgraph/generated/models/booking_service_collection_response.py index 3eb2c5815ab..e1c06fc0862 100644 --- a/msgraph/generated/models/booking_service_collection_response.py +++ b/msgraph/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/generated/models/booking_staff_member.py b/msgraph/generated/models/booking_staff_member.py index 330bdda4e54..080939549f0 100644 --- a/msgraph/generated/models/booking_staff_member.py +++ b/msgraph/generated/models/booking_staff_member.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 .booking_staff_membership_status import BookingStaffMembershipStatus + from .booking_staff_member_base import BookingStaffMemberBase + 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_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/booking_staff_member_base.py b/msgraph/generated/models/booking_staff_member_base.py index fc0d33db738..2bf17ced430 100644 --- a/msgraph/generated/models/booking_staff_member_base.py +++ b/msgraph/generated/models/booking_staff_member_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BookingStaffMember if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.bookingStaffMember".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 .booking_staff_member import BookingStaffMember + from .entity import Entity + diff --git a/msgraph/generated/models/booking_staff_member_base_collection_response.py b/msgraph/generated/models/booking_staff_member_base_collection_response.py index 25461428bda..db57986adc5 100644 --- a/msgraph/generated/models/booking_staff_member_base_collection_response.py +++ b/msgraph/generated/models/booking_staff_member_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 .booking_staff_member_base import BookingStaffMemberBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/booking_work_hours.py b/msgraph/generated/models/booking_work_hours.py index 4139bcddd02..1e1cc72134c 100644 --- a/msgraph/generated/models/booking_work_hours.py +++ b/msgraph/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/generated/models/bookings_availability.py b/msgraph/generated/models/bookings_availability.py index a5eb9fa2e4a..c5179517633 100644 --- a/msgraph/generated/models/bookings_availability.py +++ b/msgraph/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/generated/models/bookings_availability_window.py b/msgraph/generated/models/bookings_availability_window.py index 98e90a7174b..178eb0accc8 100644 --- a/msgraph/generated/models/bookings_availability_window.py +++ b/msgraph/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/generated/models/broadcast_meeting_settings.py b/msgraph/generated/models/broadcast_meeting_settings.py index 83ec2c52245..61c21ce8b56 100644 --- a/msgraph/generated/models/broadcast_meeting_settings.py +++ b/msgraph/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/generated/models/browser_shared_cookie.py b/msgraph/generated/models/browser_shared_cookie.py index d6a222a41b4..bdaee0cc0ca 100644 --- a/msgraph/generated/models/browser_shared_cookie.py +++ b/msgraph/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/generated/models/browser_shared_cookie_collection_response.py b/msgraph/generated/models/browser_shared_cookie_collection_response.py index ceb809aae25..4f3a560fe22 100644 --- a/msgraph/generated/models/browser_shared_cookie_collection_response.py +++ b/msgraph/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/generated/models/browser_shared_cookie_history.py b/msgraph/generated/models/browser_shared_cookie_history.py index 967cc6a34c9..8a9804c2a07 100644 --- a/msgraph/generated/models/browser_shared_cookie_history.py +++ b/msgraph/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/generated/models/browser_site.py b/msgraph/generated/models/browser_site.py index 28ef19b3883..b0be06c42c6 100644 --- a/msgraph/generated/models/browser_site.py +++ b/msgraph/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/generated/models/browser_site_collection_response.py b/msgraph/generated/models/browser_site_collection_response.py index 5ad56c22185..e6c66cf7941 100644 --- a/msgraph/generated/models/browser_site_collection_response.py +++ b/msgraph/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/generated/models/browser_site_history.py b/msgraph/generated/models/browser_site_history.py index b41803676fc..f20f7901335 100644 --- a/msgraph/generated/models/browser_site_history.py +++ b/msgraph/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/generated/models/browser_site_list.py b/msgraph/generated/models/browser_site_list.py index 24d0f0fbdc3..d413554bc20 100644 --- a/msgraph/generated/models/browser_site_list.py +++ b/msgraph/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/generated/models/browser_site_list_collection_response.py b/msgraph/generated/models/browser_site_list_collection_response.py index 20d6c386360..32513f6f350 100644 --- a/msgraph/generated/models/browser_site_list_collection_response.py +++ b/msgraph/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/generated/models/bucket_aggregation_definition.py b/msgraph/generated/models/bucket_aggregation_definition.py index 15db7218e79..7b3b5f08e6e 100644 --- a/msgraph/generated/models/bucket_aggregation_definition.py +++ b/msgraph/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/generated/models/built_in_identity_provider.py b/msgraph/generated/models/built_in_identity_provider.py index 1157a059056..0e428267304 100644 --- a/msgraph/generated/models/built_in_identity_provider.py +++ b/msgraph/generated/models/built_in_identity_provider.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_provider_base import IdentityProviderBase + writer.write_str_value("identityProviderType", self.identity_provider_type) diff --git a/msgraph/generated/models/bulk_upload.py b/msgraph/generated/models/bulk_upload.py index c92a29c96f0..bb00c55b636 100644 --- a/msgraph/generated/models/bulk_upload.py +++ b/msgraph/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/generated/models/bundle.py b/msgraph/generated/models/bundle.py index a6e9f760e57..cd7bf1c095a 100644 --- a/msgraph/generated/models/bundle.py +++ b/msgraph/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/generated/models/calendar.py b/msgraph/generated/models/calendar.py index 509f11c97c5..607617b5eb5 100644 --- a/msgraph/generated/models/calendar.py +++ b/msgraph/generated/models/calendar.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 .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_collection_of_object_values("calendarPermissions", self.calendar_permissions) writer.write_collection_of_object_values("calendarView", self.calendar_view) diff --git a/msgraph/generated/models/calendar_collection_response.py b/msgraph/generated/models/calendar_collection_response.py index d0adae76251..21b8e599000 100644 --- a/msgraph/generated/models/calendar_collection_response.py +++ b/msgraph/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/generated/models/calendar_group.py b/msgraph/generated/models/calendar_group.py index 3adc2c25efc..a4515113009 100644 --- a/msgraph/generated/models/calendar_group.py +++ b/msgraph/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/generated/models/calendar_group_collection_response.py b/msgraph/generated/models/calendar_group_collection_response.py index c5da20f8a6e..e654d66dc39 100644 --- a/msgraph/generated/models/calendar_group_collection_response.py +++ b/msgraph/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/generated/models/calendar_permission.py b/msgraph/generated/models/calendar_permission.py index 337fa10603f..3b4da1d413d 100644 --- a/msgraph/generated/models/calendar_permission.py +++ b/msgraph/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/generated/models/calendar_permission_collection_response.py b/msgraph/generated/models/calendar_permission_collection_response.py index d62997f40d9..32aa58771d0 100644 --- a/msgraph/generated/models/calendar_permission_collection_response.py +++ b/msgraph/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/generated/models/calendar_sharing_message.py b/msgraph/generated/models/calendar_sharing_message.py index 729975d4d0a..b0d3cfbafcb 100644 --- a/msgraph/generated/models/calendar_sharing_message.py +++ b/msgraph/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/generated/models/calendar_sharing_message_action.py b/msgraph/generated/models/calendar_sharing_message_action.py index dc0e2eb63ab..cee382e79bb 100644 --- a/msgraph/generated/models/calendar_sharing_message_action.py +++ b/msgraph/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/generated/models/call.py b/msgraph/generated/models/call.py index f11a995463d..dbad7571e7a 100644 --- a/msgraph/generated/models/call.py +++ b/msgraph/generated/models/call.py @@ -177,6 +177,27 @@ 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_info import MeetingInfo + from .modality import Modality + from .participant import Participant + from .participant_info import ParticipantInfo + from .result_info import ResultInfo + from .tone_info import ToneInfo + writer.write_collection_of_object_values("audioRoutingGroups", self.audio_routing_groups) writer.write_str_value("callChainId", self.call_chain_id) writer.write_object_value("callOptions", self.call_options) diff --git a/msgraph/generated/models/call_collection_response.py b/msgraph/generated/models/call_collection_response.py index 0f42ec7f219..02dd94186c3 100644 --- a/msgraph/generated/models/call_collection_response.py +++ b/msgraph/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/generated/models/call_ended_event_message_detail.py b/msgraph/generated/models/call_ended_event_message_detail.py index 88893cf9bcd..0f2a1c540c6 100644 --- a/msgraph/generated/models/call_ended_event_message_detail.py +++ b/msgraph/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/generated/models/call_media_state.py b/msgraph/generated/models/call_media_state.py index ff757e79113..4837b3637a6 100644 --- a/msgraph/generated/models/call_media_state.py +++ b/msgraph/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/generated/models/call_options.py b/msgraph/generated/models/call_options.py index d39d7e319f8..7b80002e1fd 100644 --- a/msgraph/generated/models/call_options.py +++ b/msgraph/generated/models/call_options.py @@ -19,6 +19,8 @@ class CallOptions(AdditionalDataHolder, BackedModel, Parsable): hide_bot_after_escalation: Optional[bool] = None # Indicates whether content sharing notifications should be enabled for the call. is_content_sharing_notification_enabled: Optional[bool] = None + # Indicates whether delta roster is enabled for the call. + is_delta_roster_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None @@ -32,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(): @@ -59,6 +62,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "hideBotAfterEscalation": lambda n : setattr(self, 'hide_bot_after_escalation', n.get_bool_value()), "isContentSharingNotificationEnabled": lambda n : setattr(self, 'is_content_sharing_notification_enabled', n.get_bool_value()), + "isDeltaRosterEnabled": lambda n : setattr(self, 'is_delta_roster_enabled', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -71,8 +75,12 @@ 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) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/call_participant_info.py b/msgraph/generated/models/call_participant_info.py index 72acf30eb6b..7e0a6222e6d 100644 --- a/msgraph/generated/models/call_participant_info.py +++ b/msgraph/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/generated/models/call_recording.py b/msgraph/generated/models/call_recording.py index 48edb24b892..e85c5e3418f 100644 --- a/msgraph/generated/models/call_recording.py +++ b/msgraph/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/generated/models/call_recording_collection_response.py b/msgraph/generated/models/call_recording_collection_response.py index 938033e7f4d..2efb1a45695 100644 --- a/msgraph/generated/models/call_recording_collection_response.py +++ b/msgraph/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/generated/models/call_recording_event_message_detail.py b/msgraph/generated/models/call_recording_event_message_detail.py index 2f75960e598..4c71d902ac2 100644 --- a/msgraph/generated/models/call_recording_event_message_detail.py +++ b/msgraph/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/generated/models/call_records/administrative_unit_info.py b/msgraph/generated/models/call_records/administrative_unit_info.py new file mode 100644 index 00000000000..17a30075ceb --- /dev/null +++ b/msgraph/generated/models/call_records/administrative_unit_info.py @@ -0,0 +1,53 @@ +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 AdministrativeUnitInfo(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 id property + id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AdministrativeUnitInfo: + """ + 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: AdministrativeUnitInfo + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AdministrativeUnitInfo() + + 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]] = { + "id": lambda n : setattr(self, 'id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("id", self.id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/call_records/call_record.py b/msgraph/generated/models/call_records/call_record.py index 635d5cb2a2a..338117c2beb 100644 --- a/msgraph/generated/models/call_records/call_record.py +++ b/msgraph/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/generated/models/call_records/call_record_collection_response.py b/msgraph/generated/models/call_records/call_record_collection_response.py index 1056c2b6bf2..5d96dd734ad 100644 --- a/msgraph/generated/models/call_records/call_record_collection_response.py +++ b/msgraph/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/generated/models/call_records/client_user_agent.py b/msgraph/generated/models/call_records/client_user_agent.py index ed4db3da619..5a251396764 100644 --- a/msgraph/generated/models/call_records/client_user_agent.py +++ b/msgraph/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/generated/models/call_records/endpoint.py b/msgraph/generated/models/call_records/endpoint.py index 1276a176669..340efca4ebf 100644 --- a/msgraph/generated/models/call_records/endpoint.py +++ b/msgraph/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/generated/models/call_records/failure_info.py b/msgraph/generated/models/call_records/failure_info.py index 0a67f5e57b8..23c742b073f 100644 --- a/msgraph/generated/models/call_records/failure_info.py +++ b/msgraph/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/generated/models/call_records/media.py b/msgraph/generated/models/call_records/media.py index c3488f64b03..dc50e02952c 100644 --- a/msgraph/generated/models/call_records/media.py +++ b/msgraph/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/generated/models/call_records/media_stream.py b/msgraph/generated/models/call_records/media_stream.py index fe860b7be77..4a2f402f4b1 100644 --- a/msgraph/generated/models/call_records/media_stream.py +++ b/msgraph/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/generated/models/call_records/network_info.py b/msgraph/generated/models/call_records/network_info.py index ffcae7cb3e9..75326090f34 100644 --- a/msgraph/generated/models/call_records/network_info.py +++ b/msgraph/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/generated/models/call_records/organizer.py b/msgraph/generated/models/call_records/organizer.py index 2387001084f..bdd871729c8 100644 --- a/msgraph/generated/models/call_records/organizer.py +++ b/msgraph/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/generated/models/call_records/participant.py b/msgraph/generated/models/call_records/participant.py index 80e8a85126d..086582eb334 100644 --- a/msgraph/generated/models/call_records/participant.py +++ b/msgraph/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/generated/models/call_records/participant_base.py b/msgraph/generated/models/call_records/participant_base.py index 46665235cda..da7218bb153 100644 --- a/msgraph/generated/models/call_records/participant_base.py +++ b/msgraph/generated/models/call_records/participant_base.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..communications_identity_set import CommunicationsIdentitySet from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo from .organizer import Organizer from .participant import Participant @@ -13,6 +14,8 @@ @dataclass class ParticipantBase(Entity): + # The administrativeUnitInfos property + administrative_unit_infos: Optional[List[AdministrativeUnitInfo]] = None # The identity of the call participant. identity: Optional[CommunicationsIdentitySet] = None # The OdataType property @@ -28,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(): @@ -48,15 +52,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from ..communications_identity_set import CommunicationsIdentitySet from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo from .organizer import Organizer from .participant import Participant from ..communications_identity_set import CommunicationsIdentitySet from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo from .organizer import Organizer from .participant import Participant fields: Dict[str, Callable[[Any], None]] = { + "administrativeUnitInfos": lambda n : setattr(self, 'administrative_unit_infos', n.get_collection_of_object_values(AdministrativeUnitInfo)), "identity": lambda n : setattr(self, 'identity', n.get_object_value(CommunicationsIdentitySet)), } super_fields = super().get_field_deserializers() @@ -72,6 +79,13 @@ 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/generated/models/call_records/participant_collection_response.py b/msgraph/generated/models/call_records/participant_collection_response.py index 5df156dbfe2..cea1ad755a7 100644 --- a/msgraph/generated/models/call_records/participant_collection_response.py +++ b/msgraph/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/generated/models/call_records/participant_endpoint.py b/msgraph/generated/models/call_records/participant_endpoint.py index afa220e8f6f..fdd67dfb421 100644 --- a/msgraph/generated/models/call_records/participant_endpoint.py +++ b/msgraph/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/generated/models/call_records/pstn_call_log_row.py b/msgraph/generated/models/call_records/pstn_call_log_row.py index c79411e67a2..086f92b8d86 100644 --- a/msgraph/generated/models/call_records/pstn_call_log_row.py +++ b/msgraph/generated/models/call_records/pstn_call_log_row.py @@ -120,6 +120,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + 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/generated/models/call_records/segment.py b/msgraph/generated/models/call_records/segment.py index 94972242f53..238d95db282 100644 --- a/msgraph/generated/models/call_records/segment.py +++ b/msgraph/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/generated/models/call_records/segment_collection_response.py b/msgraph/generated/models/call_records/segment_collection_response.py index 906cb143e88..3f74e370928 100644 --- a/msgraph/generated/models/call_records/segment_collection_response.py +++ b/msgraph/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/generated/models/call_records/service_endpoint.py b/msgraph/generated/models/call_records/service_endpoint.py index 3b887f4f8f2..cf6be0a524e 100644 --- a/msgraph/generated/models/call_records/service_endpoint.py +++ b/msgraph/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/generated/models/call_records/service_user_agent.py b/msgraph/generated/models/call_records/service_user_agent.py index 1d5719a2896..1b44c9c8756 100644 --- a/msgraph/generated/models/call_records/service_user_agent.py +++ b/msgraph/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/generated/models/call_records/session.py b/msgraph/generated/models/call_records/session.py index b3ce718a30e..8529bb396af 100644 --- a/msgraph/generated/models/call_records/session.py +++ b/msgraph/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/generated/models/call_records/session_collection_response.py b/msgraph/generated/models/call_records/session_collection_response.py index 66f7caa5f69..6bb4b7b6e8b 100644 --- a/msgraph/generated/models/call_records/session_collection_response.py +++ b/msgraph/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/generated/models/call_records/user_agent.py b/msgraph/generated/models/call_records/user_agent.py index 25a27977264..3e171b8f18d 100644 --- a/msgraph/generated/models/call_records/user_agent.py +++ b/msgraph/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/generated/models/call_records/user_feedback.py b/msgraph/generated/models/call_records/user_feedback.py index b233ce8c8bd..950d05298cd 100644 --- a/msgraph/generated/models/call_records/user_feedback.py +++ b/msgraph/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/generated/models/call_records/user_identity.py b/msgraph/generated/models/call_records/user_identity.py index e285f8293e6..b98f6ba73a7 100644 --- a/msgraph/generated/models/call_records/user_identity.py +++ b/msgraph/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/generated/models/call_route.py b/msgraph/generated/models/call_route.py index 803c82eae0a..33f09a10c93 100644 --- a/msgraph/generated/models/call_route.py +++ b/msgraph/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/generated/models/call_started_event_message_detail.py b/msgraph/generated/models/call_started_event_message_detail.py index c330801f39f..50e8af78891 100644 --- a/msgraph/generated/models/call_started_event_message_detail.py +++ b/msgraph/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/generated/models/call_transcript.py b/msgraph/generated/models/call_transcript.py index 4a4e5a27369..5e04266a978 100644 --- a/msgraph/generated/models/call_transcript.py +++ b/msgraph/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/generated/models/call_transcript_collection_response.py b/msgraph/generated/models/call_transcript_collection_response.py index f662aa06b00..01fd54bb447 100644 --- a/msgraph/generated/models/call_transcript_collection_response.py +++ b/msgraph/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/generated/models/call_transcript_event_message_detail.py b/msgraph/generated/models/call_transcript_event_message_detail.py index 69b059aedf9..af2e2143820 100644 --- a/msgraph/generated/models/call_transcript_event_message_detail.py +++ b/msgraph/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/generated/models/call_transcription_info.py b/msgraph/generated/models/call_transcription_info.py index 01bd889707a..8ecfc5d63a1 100644 --- a/msgraph/generated/models/call_transcription_info.py +++ b/msgraph/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/generated/models/cancel_media_processing_operation.py b/msgraph/generated/models/cancel_media_processing_operation.py index d93e45d9102..04307bc68fd 100644 --- a/msgraph/generated/models/cancel_media_processing_operation.py +++ b/msgraph/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/generated/models/canvas_layout.py b/msgraph/generated/models/canvas_layout.py index 93bc5757e61..6b97d899bbf 100644 --- a/msgraph/generated/models/canvas_layout.py +++ b/msgraph/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/generated/models/certificate_based_auth_configuration.py b/msgraph/generated/models/certificate_based_auth_configuration.py index 3ce9cee0440..940366d0cf7 100644 --- a/msgraph/generated/models/certificate_based_auth_configuration.py +++ b/msgraph/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/generated/models/certificate_based_auth_configuration_collection_response.py b/msgraph/generated/models/certificate_based_auth_configuration_collection_response.py index e3ddbaae9c9..2996e8f4f63 100644 --- a/msgraph/generated/models/certificate_based_auth_configuration_collection_response.py +++ b/msgraph/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/generated/models/change_tracked_entity.py b/msgraph/generated/models/change_tracked_entity.py index 20ca1608979..0d13dd254a0 100644 --- a/msgraph/generated/models/change_tracked_entity.py +++ b/msgraph/generated/models/change_tracked_entity.py @@ -43,7 +43,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.offerShiftRequest".casefold(): @@ -149,5 +150,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 .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_off import TimeOff + from .time_off_reason import TimeOffReason + from .time_off_request import TimeOffRequest + from .workforce_integration import WorkforceIntegration + diff --git a/msgraph/generated/models/channel.py b/msgraph/generated/models/channel.py index 5c51b9e0e20..4b451a25605 100644 --- a/msgraph/generated/models/channel.py +++ b/msgraph/generated/models/channel.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 .channel_membership_type import ChannelMembershipType + 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/generated/models/channel_added_event_message_detail.py b/msgraph/generated/models/channel_added_event_message_detail.py index af30571d079..aa3a654465d 100644 --- a/msgraph/generated/models/channel_added_event_message_detail.py +++ b/msgraph/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/generated/models/channel_collection_response.py b/msgraph/generated/models/channel_collection_response.py index f9f8058397d..75a79992794 100644 --- a/msgraph/generated/models/channel_collection_response.py +++ b/msgraph/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/generated/models/channel_deleted_event_message_detail.py b/msgraph/generated/models/channel_deleted_event_message_detail.py index c31b528f259..4d86f771043 100644 --- a/msgraph/generated/models/channel_deleted_event_message_detail.py +++ b/msgraph/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/generated/models/channel_description_updated_event_message_detail.py b/msgraph/generated/models/channel_description_updated_event_message_detail.py index 3a277b9571a..30db3ff5c25 100644 --- a/msgraph/generated/models/channel_description_updated_event_message_detail.py +++ b/msgraph/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/generated/models/channel_members_notification_recipient.py b/msgraph/generated/models/channel_members_notification_recipient.py index 5e0fc1ae476..e6fbc074ee1 100644 --- a/msgraph/generated/models/channel_members_notification_recipient.py +++ b/msgraph/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/generated/models/channel_renamed_event_message_detail.py b/msgraph/generated/models/channel_renamed_event_message_detail.py index 330c628f329..bfab9d056b8 100644 --- a/msgraph/generated/models/channel_renamed_event_message_detail.py +++ b/msgraph/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/generated/models/channel_set_as_favorite_by_default_event_message_detail.py b/msgraph/generated/models/channel_set_as_favorite_by_default_event_message_detail.py index 3b89908e356..beec2d18701 100644 --- a/msgraph/generated/models/channel_set_as_favorite_by_default_event_message_detail.py +++ b/msgraph/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/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py b/msgraph/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py index 7f27001e373..e64c5a1c7a4 100644 --- a/msgraph/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py +++ b/msgraph/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/generated/models/chat.py b/msgraph/generated/models/chat.py index 2c333782a9e..bd1bb17cbc5 100644 --- a/msgraph/generated/models/chat.py +++ b/msgraph/generated/models/chat.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 .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 .pinned_chat_message_info import PinnedChatMessageInfo + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .teams_app_installation import TeamsAppInstallation + from .teams_tab import TeamsTab + from .teamwork_online_meeting_info import TeamworkOnlineMeetingInfo + writer.write_enum_value("chatType", self.chat_type) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("installedApps", self.installed_apps) diff --git a/msgraph/generated/models/chat_collection_response.py b/msgraph/generated/models/chat_collection_response.py index b5cb51a1b3b..8cdbfaf2d3f 100644 --- a/msgraph/generated/models/chat_collection_response.py +++ b/msgraph/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/generated/models/chat_members_notification_recipient.py b/msgraph/generated/models/chat_members_notification_recipient.py index 43355e83f28..3a08acb79ac 100644 --- a/msgraph/generated/models/chat_members_notification_recipient.py +++ b/msgraph/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/generated/models/chat_message.py b/msgraph/generated/models/chat_message.py index d84b830a04e..9bb79446f2c 100644 --- a/msgraph/generated/models/chat_message.py +++ b/msgraph/generated/models/chat_message.py @@ -157,6 +157,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/generated/models/chat_message_collection_response.py b/msgraph/generated/models/chat_message_collection_response.py index 10e66667f0f..b481f1bdfca 100644 --- a/msgraph/generated/models/chat_message_collection_response.py +++ b/msgraph/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/generated/models/chat_message_from_identity_set.py b/msgraph/generated/models/chat_message_from_identity_set.py index 11e67251c92..b520e400c7e 100644 --- a/msgraph/generated/models/chat_message_from_identity_set.py +++ b/msgraph/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/generated/models/chat_message_history_item.py b/msgraph/generated/models/chat_message_history_item.py index 0c19c43c5b3..210f743d1bd 100644 --- a/msgraph/generated/models/chat_message_history_item.py +++ b/msgraph/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/generated/models/chat_message_hosted_content.py b/msgraph/generated/models/chat_message_hosted_content.py index 4e63ce1fda1..cfc762c8cdd 100644 --- a/msgraph/generated/models/chat_message_hosted_content.py +++ b/msgraph/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/generated/models/chat_message_hosted_content_collection_response.py b/msgraph/generated/models/chat_message_hosted_content_collection_response.py index 05e4a5aa818..ccd8d226b3d 100644 --- a/msgraph/generated/models/chat_message_hosted_content_collection_response.py +++ b/msgraph/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/generated/models/chat_message_info.py b/msgraph/generated/models/chat_message_info.py index 8de12700aa0..6dc933be981 100644 --- a/msgraph/generated/models/chat_message_info.py +++ b/msgraph/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/generated/models/chat_message_mention.py b/msgraph/generated/models/chat_message_mention.py index d39908ccaf2..6a3bd057385 100644 --- a/msgraph/generated/models/chat_message_mention.py +++ b/msgraph/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/generated/models/chat_message_mentioned_identity_set.py b/msgraph/generated/models/chat_message_mentioned_identity_set.py index f211e07e3bd..742d8c304b7 100644 --- a/msgraph/generated/models/chat_message_mentioned_identity_set.py +++ b/msgraph/generated/models/chat_message_mentioned_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_set import IdentitySet + from .teamwork_conversation_identity import TeamworkConversationIdentity + writer.write_object_value("conversation", self.conversation) diff --git a/msgraph/generated/models/chat_message_policy_violation.py b/msgraph/generated/models/chat_message_policy_violation.py index 141bfd138f5..53965ef12ba 100644 --- a/msgraph/generated/models/chat_message_policy_violation.py +++ b/msgraph/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/generated/models/chat_message_reaction.py b/msgraph/generated/models/chat_message_reaction.py index 8ed0297b9c8..c02cd61bd0e 100644 --- a/msgraph/generated/models/chat_message_reaction.py +++ b/msgraph/generated/models/chat_message_reaction.py @@ -15,11 +15,15 @@ class ChatMessageReaction(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 Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + # 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 + # The name of the reaction. + display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Supported values are like, angry, sad, laugh, heart, surprised. + # The hosted content URL for the custom reaction type. + reaction_content_url: Optional[str] = None + # The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised. reaction_type: Optional[str] = None # The user property user: Optional[ChatMessageReactionIdentitySet] = None @@ -46,7 +50,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "reactionContentUrl": lambda n : setattr(self, 'reaction_content_url', n.get_str_value()), "reactionType": lambda n : setattr(self, 'reaction_type', n.get_str_value()), "user": lambda n : setattr(self, 'user', n.get_object_value(ChatMessageReactionIdentitySet)), } @@ -60,8 +66,12 @@ 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) + writer.write_str_value("reactionContentUrl", self.reaction_content_url) writer.write_str_value("reactionType", self.reaction_type) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/chat_message_reaction_identity_set.py b/msgraph/generated/models/chat_message_reaction_identity_set.py index 4695249d0fc..4ec545d253f 100644 --- a/msgraph/generated/models/chat_message_reaction_identity_set.py +++ b/msgraph/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/generated/models/chat_renamed_event_message_detail.py b/msgraph/generated/models/chat_renamed_event_message_detail.py index 73ac0e47402..43bf80a8819 100644 --- a/msgraph/generated/models/chat_renamed_event_message_detail.py +++ b/msgraph/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/generated/models/checklist_item.py b/msgraph/generated/models/checklist_item.py index 3cf37d9d975..14269e25349 100644 --- a/msgraph/generated/models/checklist_item.py +++ b/msgraph/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/generated/models/checklist_item_collection_response.py b/msgraph/generated/models/checklist_item_collection_response.py index 300ffb7cf92..e6da7cd9d56 100644 --- a/msgraph/generated/models/checklist_item_collection_response.py +++ b/msgraph/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/generated/models/claims_mapping_policy.py b/msgraph/generated/models/claims_mapping_policy.py index 44e74521ac0..b2ef71272c7 100644 --- a/msgraph/generated/models/claims_mapping_policy.py +++ b/msgraph/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/generated/models/claims_mapping_policy_collection_response.py b/msgraph/generated/models/claims_mapping_policy_collection_response.py index d72344e4cd6..dc151231fe2 100644 --- a/msgraph/generated/models/claims_mapping_policy_collection_response.py +++ b/msgraph/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/generated/models/client_certificate_authentication.py b/msgraph/generated/models/client_certificate_authentication.py index 59e249cb6b7..ac18fa0e5e8 100644 --- a/msgraph/generated/models/client_certificate_authentication.py +++ b/msgraph/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/generated/models/cloud_app_security_session_control.py b/msgraph/generated/models/cloud_app_security_session_control.py index f35d47820a3..7f45ec8b57a 100644 --- a/msgraph/generated/models/cloud_app_security_session_control.py +++ b/msgraph/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/generated/models/cloud_clipboard_item.py b/msgraph/generated/models/cloud_clipboard_item.py index 1261f278153..444353d608e 100644 --- a/msgraph/generated/models/cloud_clipboard_item.py +++ b/msgraph/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/generated/models/cloud_clipboard_item_collection_response.py b/msgraph/generated/models/cloud_clipboard_item_collection_response.py index 5abadd9e147..3a9750da4eb 100644 --- a/msgraph/generated/models/cloud_clipboard_item_collection_response.py +++ b/msgraph/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/generated/models/cloud_clipboard_root.py b/msgraph/generated/models/cloud_clipboard_root.py index 1b68d1eb43c..6b0a8b390be 100644 --- a/msgraph/generated/models/cloud_clipboard_root.py +++ b/msgraph/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/generated/models/cloud_communications.py b/msgraph/generated/models/cloud_communications.py index b900d122d4a..edfdaf65582 100644 --- a/msgraph/generated/models/cloud_communications.py +++ b/msgraph/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/generated/models/cloud_p_c.py b/msgraph/generated/models/cloud_p_c.py index 9addce0b0ec..cd44ee314c3 100644 --- a/msgraph/generated/models/cloud_p_c.py +++ b/msgraph/generated/models/cloud_p_c.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 .cloud_pc_provisioning_type import CloudPcProvisioningType + from .entity import Entity + writer.write_str_value("aadDeviceId", self.aad_device_id) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("gracePeriodEndDateTime", self.grace_period_end_date_time) diff --git a/msgraph/generated/models/cloud_p_c_collection_response.py b/msgraph/generated/models/cloud_p_c_collection_response.py index 7624911c3b6..01afb6fe2bc 100644 --- a/msgraph/generated/models/cloud_p_c_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_audit_actor.py b/msgraph/generated/models/cloud_pc_audit_actor.py index b22e0db0b03..a16aa4f74ed 100644 --- a/msgraph/generated/models/cloud_pc_audit_actor.py +++ b/msgraph/generated/models/cloud_pc_audit_actor.py @@ -80,6 +80,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + 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/generated/models/cloud_pc_audit_event.py b/msgraph/generated/models/cloud_pc_audit_event.py index f4398230cf9..e6bec606247 100644 --- a/msgraph/generated/models/cloud_pc_audit_event.py +++ b/msgraph/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/generated/models/cloud_pc_audit_event_collection_response.py b/msgraph/generated/models/cloud_pc_audit_event_collection_response.py index 6ed6de9248f..93079d5dcfe 100644 --- a/msgraph/generated/models/cloud_pc_audit_event_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_audit_resource.py b/msgraph/generated/models/cloud_pc_audit_resource.py index e5511000060..c505b837c56 100644 --- a/msgraph/generated/models/cloud_pc_audit_resource.py +++ b/msgraph/generated/models/cloud_pc_audit_resource.py @@ -59,6 +59,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/generated/models/cloud_pc_device_image.py b/msgraph/generated/models/cloud_pc_device_image.py index 4c1da3fd999..fb1e4f0c871 100644 --- a/msgraph/generated/models/cloud_pc_device_image.py +++ b/msgraph/generated/models/cloud_pc_device_image.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 .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 .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/generated/models/cloud_pc_device_image_collection_response.py b/msgraph/generated/models/cloud_pc_device_image_collection_response.py index f85b13a7356..45625d3394c 100644 --- a/msgraph/generated/models/cloud_pc_device_image_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_domain_join_configuration.py b/msgraph/generated/models/cloud_pc_domain_join_configuration.py index 8fedaefcd3e..8156c6f0180 100644 --- a/msgraph/generated/models/cloud_pc_domain_join_configuration.py +++ b/msgraph/generated/models/cloud_pc_domain_join_configuration.py @@ -65,6 +65,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/generated/models/cloud_pc_gallery_image.py b/msgraph/generated/models/cloud_pc_gallery_image.py index 4fda9d82d44..a1cd8102d9c 100644 --- a/msgraph/generated/models/cloud_pc_gallery_image.py +++ b/msgraph/generated/models/cloud_pc_gallery_image.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 .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/generated/models/cloud_pc_gallery_image_collection_response.py b/msgraph/generated/models/cloud_pc_gallery_image_collection_response.py index 90d9512558e..b3c6cc0d6c1 100644 --- a/msgraph/generated/models/cloud_pc_gallery_image_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_management_assignment_target.py b/msgraph/generated/models/cloud_pc_management_assignment_target.py index 405da486451..4a64b58f17c 100644 --- a/msgraph/generated/models/cloud_pc_management_assignment_target.py +++ b/msgraph/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/generated/models/cloud_pc_management_group_assignment_target.py b/msgraph/generated/models/cloud_pc_management_group_assignment_target.py index 00295da50a9..d85aa0e2fde 100644 --- a/msgraph/generated/models/cloud_pc_management_group_assignment_target.py +++ b/msgraph/generated/models/cloud_pc_management_group_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 .cloud_pc_management_assignment_target import CloudPcManagementAssignmentTarget + writer.write_str_value("groupId", self.group_id) writer.write_str_value("servicePlanId", self.service_plan_id) diff --git a/msgraph/generated/models/cloud_pc_on_premises_connection.py b/msgraph/generated/models/cloud_pc_on_premises_connection.py index 345b5aae0d2..f93e6fbb87a 100644 --- a/msgraph/generated/models/cloud_pc_on_premises_connection.py +++ b/msgraph/generated/models/cloud_pc_on_premises_connection.py @@ -105,6 +105,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + 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_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) diff --git a/msgraph/generated/models/cloud_pc_on_premises_connection_collection_response.py b/msgraph/generated/models/cloud_pc_on_premises_connection_collection_response.py index c771c99a6e1..e580e9b9329 100644 --- a/msgraph/generated/models/cloud_pc_on_premises_connection_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_on_premises_connection_health_check.py b/msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py index c46d21b4ce1..ab44b6c74c7 100644 --- a/msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +++ b/msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py @@ -78,6 +78,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("correlationId", self.correlation_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/cloud_pc_on_premises_connection_status_detail.py b/msgraph/generated/models/cloud_pc_on_premises_connection_status_detail.py index 304e7f02eb7..ceebcab7688 100644 --- a/msgraph/generated/models/cloud_pc_on_premises_connection_status_detail.py +++ b/msgraph/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/generated/models/cloud_pc_provisioning_policy.py b/msgraph/generated/models/cloud_pc_provisioning_policy.py index 7e4bc38bc22..6fae641e473 100644 --- a/msgraph/generated/models/cloud_pc_provisioning_policy.py +++ b/msgraph/generated/models/cloud_pc_provisioning_policy.py @@ -114,6 +114,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration + from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType + from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_windows_setting import CloudPcWindowsSetting + 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_str_value("cloudPcGroupDisplayName", self.cloud_pc_group_display_name) diff --git a/msgraph/generated/models/cloud_pc_provisioning_policy_assignment.py b/msgraph/generated/models/cloud_pc_provisioning_policy_assignment.py index 1a1e7c1ed66..9f87804e29a 100644 --- a/msgraph/generated/models/cloud_pc_provisioning_policy_assignment.py +++ b/msgraph/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/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py b/msgraph/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py index 993584f708c..088eeed9707 100644 --- a/msgraph/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_provisioning_policy_collection_response.py b/msgraph/generated/models/cloud_pc_provisioning_policy_collection_response.py index 7acae52f5e3..f8056efb177 100644 --- a/msgraph/generated/models/cloud_pc_provisioning_policy_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_restore_point_setting.py b/msgraph/generated/models/cloud_pc_restore_point_setting.py index dea6e276290..dcd891f6235 100644 --- a/msgraph/generated/models/cloud_pc_restore_point_setting.py +++ b/msgraph/generated/models/cloud_pc_restore_point_setting.py @@ -56,6 +56,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_enum_value("frequencyType", self.frequency_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("userRestoreEnabled", self.user_restore_enabled) diff --git a/msgraph/generated/models/cloud_pc_user_setting.py b/msgraph/generated/models/cloud_pc_user_setting.py index aca9484ea40..4f315f2c04a 100644 --- a/msgraph/generated/models/cloud_pc_user_setting.py +++ b/msgraph/generated/models/cloud_pc_user_setting.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 .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_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/cloud_pc_user_setting_assignment.py b/msgraph/generated/models/cloud_pc_user_setting_assignment.py index 7801c8292d7..75c43d7a267 100644 --- a/msgraph/generated/models/cloud_pc_user_setting_assignment.py +++ b/msgraph/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/generated/models/cloud_pc_user_setting_assignment_collection_response.py b/msgraph/generated/models/cloud_pc_user_setting_assignment_collection_response.py index 0b826225714..8ca093f1f46 100644 --- a/msgraph/generated/models/cloud_pc_user_setting_assignment_collection_response.py +++ b/msgraph/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/generated/models/cloud_pc_user_setting_collection_response.py b/msgraph/generated/models/cloud_pc_user_setting_collection_response.py index eea8965d28b..c17498b85d6 100644 --- a/msgraph/generated/models/cloud_pc_user_setting_collection_response.py +++ b/msgraph/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/generated/models/coachmark_location.py b/msgraph/generated/models/coachmark_location.py index 9ed26a6d7f7..b43c9db6d88 100644 --- a/msgraph/generated/models/coachmark_location.py +++ b/msgraph/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/generated/models/column_definition.py b/msgraph/generated/models/column_definition.py index 7fae8e91bc5..2d31571df47 100644 --- a/msgraph/generated/models/column_definition.py +++ b/msgraph/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/generated/models/column_definition_collection_response.py b/msgraph/generated/models/column_definition_collection_response.py index 3b63cddb537..34d07b198b5 100644 --- a/msgraph/generated/models/column_definition_collection_response.py +++ b/msgraph/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/generated/models/column_link.py b/msgraph/generated/models/column_link.py index e7f3c6b8202..11999161cd4 100644 --- a/msgraph/generated/models/column_link.py +++ b/msgraph/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/generated/models/column_link_collection_response.py b/msgraph/generated/models/column_link_collection_response.py index 9e5ce9a3ce3..dcf6792468b 100644 --- a/msgraph/generated/models/column_link_collection_response.py +++ b/msgraph/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/generated/models/column_validation.py b/msgraph/generated/models/column_validation.py index ea49d50fb7f..e4d71353924 100644 --- a/msgraph/generated/models/column_validation.py +++ b/msgraph/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/generated/models/comms_operation.py b/msgraph/generated/models/comms_operation.py index da46a12f919..b15d0fbc56f 100644 --- a/msgraph/generated/models/comms_operation.py +++ b/msgraph/generated/models/comms_operation.py @@ -43,7 +43,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(): @@ -151,6 +152,22 @@ 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_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/generated/models/comms_operation_collection_response.py b/msgraph/generated/models/comms_operation_collection_response.py index 95ddb87d21a..f19ac118bb1 100644 --- a/msgraph/generated/models/comms_operation_collection_response.py +++ b/msgraph/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/generated/models/communications_application_identity.py b/msgraph/generated/models/communications_application_identity.py index 9b23392f5ad..65fb7f686c8 100644 --- a/msgraph/generated/models/communications_application_identity.py +++ b/msgraph/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/generated/models/communications_application_instance_identity.py b/msgraph/generated/models/communications_application_instance_identity.py index 4ca2a3d1c98..4f4d165de7a 100644 --- a/msgraph/generated/models/communications_application_instance_identity.py +++ b/msgraph/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/generated/models/communications_encrypted_identity.py b/msgraph/generated/models/communications_encrypted_identity.py index eaa0fc7445c..09e41743c8e 100644 --- a/msgraph/generated/models/communications_encrypted_identity.py +++ b/msgraph/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/generated/models/communications_guest_identity.py b/msgraph/generated/models/communications_guest_identity.py index 381d67c7a9b..bf80954a90e 100644 --- a/msgraph/generated/models/communications_guest_identity.py +++ b/msgraph/generated/models/communications_guest_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/generated/models/communications_identity_set.py b/msgraph/generated/models/communications_identity_set.py index d2885c31870..82bc74480b0 100644 --- a/msgraph/generated/models/communications_identity_set.py +++ b/msgraph/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/generated/models/communications_phone_identity.py b/msgraph/generated/models/communications_phone_identity.py index cd823b4c9b7..c44841e5674 100644 --- a/msgraph/generated/models/communications_phone_identity.py +++ b/msgraph/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/generated/models/communications_user_identity.py b/msgraph/generated/models/communications_user_identity.py index 963f59e47aa..f5c3f111eeb 100644 --- a/msgraph/generated/models/communications_user_identity.py +++ b/msgraph/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/generated/models/community.py b/msgraph/generated/models/community.py index fce0c04b7ae..1bf5083f0e0 100644 --- a/msgraph/generated/models/community.py +++ b/msgraph/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/generated/models/community_collection_response.py b/msgraph/generated/models/community_collection_response.py index 2d0fe997947..45ff69706fc 100644 --- a/msgraph/generated/models/community_collection_response.py +++ b/msgraph/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/generated/models/company_subscription.py b/msgraph/generated/models/company_subscription.py index e2d1ecaed30..178081d4d7d 100644 --- a/msgraph/generated/models/company_subscription.py +++ b/msgraph/generated/models/company_subscription.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 .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/generated/models/company_subscription_collection_response.py b/msgraph/generated/models/company_subscription_collection_response.py index 25cce8b8e96..938e35905da 100644 --- a/msgraph/generated/models/company_subscription_collection_response.py +++ b/msgraph/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/generated/models/compliance_information.py b/msgraph/generated/models/compliance_information.py index cb834aae5ae..c556757106b 100644 --- a/msgraph/generated/models/compliance_information.py +++ b/msgraph/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/generated/models/compliance_management_partner.py b/msgraph/generated/models/compliance_management_partner.py index 9c222926ce5..3de92f79c4a 100644 --- a/msgraph/generated/models/compliance_management_partner.py +++ b/msgraph/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/generated/models/compliance_management_partner_assignment.py b/msgraph/generated/models/compliance_management_partner_assignment.py index 2ddfd320e82..3406a9858f3 100644 --- a/msgraph/generated/models/compliance_management_partner_assignment.py +++ b/msgraph/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/generated/models/compliance_management_partner_collection_response.py b/msgraph/generated/models/compliance_management_partner_collection_response.py index e0478bd74d5..7f274939e35 100644 --- a/msgraph/generated/models/compliance_management_partner_collection_response.py +++ b/msgraph/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/generated/models/conditional_access_all_external_tenants.py b/msgraph/generated/models/conditional_access_all_external_tenants.py index 4b87acf9e0e..422d0ca8fc3 100644 --- a/msgraph/generated/models/conditional_access_all_external_tenants.py +++ b/msgraph/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/generated/models/conditional_access_applications.py b/msgraph/generated/models/conditional_access_applications.py index 13c68125a21..2b5516108af 100644 --- a/msgraph/generated/models/conditional_access_applications.py +++ b/msgraph/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/generated/models/conditional_access_client_applications.py b/msgraph/generated/models/conditional_access_client_applications.py index 7181a8da8a8..f7a3838af26 100644 --- a/msgraph/generated/models/conditional_access_client_applications.py +++ b/msgraph/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/generated/models/conditional_access_condition_set.py b/msgraph/generated/models/conditional_access_condition_set.py index 905e314c57a..76930a61eea 100644 --- a/msgraph/generated/models/conditional_access_condition_set.py +++ b/msgraph/generated/models/conditional_access_condition_set.py @@ -107,6 +107,16 @@ 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_client_app import ConditionalAccessClientApp + from .conditional_access_client_applications import ConditionalAccessClientApplications + from .conditional_access_devices import ConditionalAccessDevices + 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_collection_of_enum_values("clientAppTypes", self.client_app_types) writer.write_object_value("clientApplications", self.client_applications) diff --git a/msgraph/generated/models/conditional_access_devices.py b/msgraph/generated/models/conditional_access_devices.py index bbeb47a7ea4..9b21d03efb0 100644 --- a/msgraph/generated/models/conditional_access_devices.py +++ b/msgraph/generated/models/conditional_access_devices.py @@ -53,6 +53,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_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/conditional_access_enumerated_external_tenants.py b/msgraph/generated/models/conditional_access_enumerated_external_tenants.py index 70b9dbe10c1..393ab0520d4 100644 --- a/msgraph/generated/models/conditional_access_enumerated_external_tenants.py +++ b/msgraph/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/generated/models/conditional_access_external_tenants.py b/msgraph/generated/models/conditional_access_external_tenants.py index fe0dd31f206..2f09ff5fb8b 100644 --- a/msgraph/generated/models/conditional_access_external_tenants.py +++ b/msgraph/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/generated/models/conditional_access_filter.py b/msgraph/generated/models/conditional_access_filter.py index fc9802951b2..d991f8bd365 100644 --- a/msgraph/generated/models/conditional_access_filter.py +++ b/msgraph/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/generated/models/conditional_access_grant_controls.py b/msgraph/generated/models/conditional_access_grant_controls.py index ffafe571cb6..2fdf9f25c1c 100644 --- a/msgraph/generated/models/conditional_access_grant_controls.py +++ b/msgraph/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/generated/models/conditional_access_guests_or_external_users.py b/msgraph/generated/models/conditional_access_guests_or_external_users.py index 16de579c270..754063b1faa 100644 --- a/msgraph/generated/models/conditional_access_guests_or_external_users.py +++ b/msgraph/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/generated/models/conditional_access_platforms.py b/msgraph/generated/models/conditional_access_platforms.py index eead41fbf98..fb46e4ca720 100644 --- a/msgraph/generated/models/conditional_access_platforms.py +++ b/msgraph/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/generated/models/conditional_access_policy.py b/msgraph/generated/models/conditional_access_policy.py index dd3ae7f9435..99eddac9343 100644 --- a/msgraph/generated/models/conditional_access_policy.py +++ b/msgraph/generated/models/conditional_access_policy.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 .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 .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/generated/models/conditional_access_policy_collection_response.py b/msgraph/generated/models/conditional_access_policy_collection_response.py index ea0f44b3e87..2e05aecfede 100644 --- a/msgraph/generated/models/conditional_access_policy_collection_response.py +++ b/msgraph/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/generated/models/conditional_access_policy_detail.py b/msgraph/generated/models/conditional_access_policy_detail.py index 781f26c0ae3..10a3d2b4ae0 100644 --- a/msgraph/generated/models/conditional_access_policy_detail.py +++ b/msgraph/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/generated/models/conditional_access_root.py b/msgraph/generated/models/conditional_access_root.py index 27584e4f9ee..3381ae9c5c0 100644 --- a/msgraph/generated/models/conditional_access_root.py +++ b/msgraph/generated/models/conditional_access_root.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 .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_collection_of_object_values("namedLocations", self.named_locations) diff --git a/msgraph/generated/models/conditional_access_session_control.py b/msgraph/generated/models/conditional_access_session_control.py index 02dde7db169..043d4d3258a 100644 --- a/msgraph/generated/models/conditional_access_session_control.py +++ b/msgraph/generated/models/conditional_access_session_control.py @@ -32,7 +32,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(): @@ -82,6 +83,11 @@ 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 .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/generated/models/conditional_access_session_controls.py b/msgraph/generated/models/conditional_access_session_controls.py index f803e484a2c..914e6e78a53 100644 --- a/msgraph/generated/models/conditional_access_session_controls.py +++ b/msgraph/generated/models/conditional_access_session_controls.py @@ -74,6 +74,11 @@ 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 .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_bool_value("disableResilienceDefaults", self.disable_resilience_defaults) diff --git a/msgraph/generated/models/conditional_access_template.py b/msgraph/generated/models/conditional_access_template.py index f0ac79bfa52..af55e548851 100644 --- a/msgraph/generated/models/conditional_access_template.py +++ b/msgraph/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/generated/models/conditional_access_template_collection_response.py b/msgraph/generated/models/conditional_access_template_collection_response.py index d79e77ddf00..65a5acea1f5 100644 --- a/msgraph/generated/models/conditional_access_template_collection_response.py +++ b/msgraph/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/generated/models/conditional_access_users.py b/msgraph/generated/models/conditional_access_users.py index 19f9ba34d42..b5b5c56cbd5 100644 --- a/msgraph/generated/models/conditional_access_users.py +++ b/msgraph/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/generated/models/configuration_manager_collection_assignment_target.py b/msgraph/generated/models/configuration_manager_collection_assignment_target.py index 267a8b45d88..f5a00ce029a 100644 --- a/msgraph/generated/models/configuration_manager_collection_assignment_target.py +++ b/msgraph/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/generated/models/connected_organization.py b/msgraph/generated/models/connected_organization.py index 33d88f84263..b2b2d3b1e73 100644 --- a/msgraph/generated/models/connected_organization.py +++ b/msgraph/generated/models/connected_organization.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 .connected_organization_state import ConnectedOrganizationState + from .directory_object import DirectoryObject + from .entity import Entity + from .identity_source import IdentitySource + 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/generated/models/connected_organization_collection_response.py b/msgraph/generated/models/connected_organization_collection_response.py index 78ee855fcbd..af664634764 100644 --- a/msgraph/generated/models/connected_organization_collection_response.py +++ b/msgraph/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/generated/models/connected_organization_members.py b/msgraph/generated/models/connected_organization_members.py index 6e8671d14ec..86025c205c7 100644 --- a/msgraph/generated/models/connected_organization_members.py +++ b/msgraph/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 .subject_set import SubjectSet + writer.write_str_value("connectedOrganizationId", self.connected_organization_id) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/contact.py b/msgraph/generated/models/contact.py index 9a431bfb2c5..748054bfaff 100644 --- a/msgraph/generated/models/contact.py +++ b/msgraph/generated/models/contact.py @@ -178,6 +178,14 @@ 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 .extension import Extension + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_item import OutlookItem + from .physical_address import PhysicalAddress + from .profile_photo import ProfilePhoto + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_str_value("assistantName", self.assistant_name) writer.write_datetime_value("birthday", self.birthday) writer.write_object_value("businessAddress", self.business_address) diff --git a/msgraph/generated/models/contact_collection_response.py b/msgraph/generated/models/contact_collection_response.py index cfddf796f43..47c85a57139 100644 --- a/msgraph/generated/models/contact_collection_response.py +++ b/msgraph/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/generated/models/contact_folder.py b/msgraph/generated/models/contact_folder.py index a6e93e89a14..6599b06e06c 100644 --- a/msgraph/generated/models/contact_folder.py +++ b/msgraph/generated/models/contact_folder.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 .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/generated/models/contact_folder_collection_response.py b/msgraph/generated/models/contact_folder_collection_response.py index 89955bb86a8..d4191481d68 100644 --- a/msgraph/generated/models/contact_folder_collection_response.py +++ b/msgraph/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/generated/models/content_customization.py b/msgraph/generated/models/content_customization.py index 97a7f8b2e24..370dd08bea3 100644 --- a/msgraph/generated/models/content_customization.py +++ b/msgraph/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/generated/models/content_sharing_session.py b/msgraph/generated/models/content_sharing_session.py index 1d77a87d76a..32201736c00 100644 --- a/msgraph/generated/models/content_sharing_session.py +++ b/msgraph/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/generated/models/content_sharing_session_collection_response.py b/msgraph/generated/models/content_sharing_session_collection_response.py index e51c1ae069e..0b094c2f0ed 100644 --- a/msgraph/generated/models/content_sharing_session_collection_response.py +++ b/msgraph/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/generated/models/content_type.py b/msgraph/generated/models/content_type.py index fca2a14e127..ef1a4c874bc 100644 --- a/msgraph/generated/models/content_type.py +++ b/msgraph/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/generated/models/content_type_collection_response.py b/msgraph/generated/models/content_type_collection_response.py index 1b5a634447a..64c5809f90c 100644 --- a/msgraph/generated/models/content_type_collection_response.py +++ b/msgraph/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/generated/models/contract.py b/msgraph/generated/models/contract.py index 13ca4b58d3d..2e1de7d65b9 100644 --- a/msgraph/generated/models/contract.py +++ b/msgraph/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/generated/models/contract_collection_response.py b/msgraph/generated/models/contract_collection_response.py index 52483183b28..4b14c9100fa 100644 --- a/msgraph/generated/models/contract_collection_response.py +++ b/msgraph/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/generated/models/conversation.py b/msgraph/generated/models/conversation.py index f6e8cceb95a..7561845b3ea 100644 --- a/msgraph/generated/models/conversation.py +++ b/msgraph/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/generated/models/conversation_collection_response.py b/msgraph/generated/models/conversation_collection_response.py index 16288a33f77..3319f353467 100644 --- a/msgraph/generated/models/conversation_collection_response.py +++ b/msgraph/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/generated/models/conversation_member.py b/msgraph/generated/models/conversation_member.py index c630042e895..5008cdfea05 100644 --- a/msgraph/generated/models/conversation_member.py +++ b/msgraph/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/generated/models/conversation_member_collection_response.py b/msgraph/generated/models/conversation_member_collection_response.py index ea333d19336..265ee0c6246 100644 --- a/msgraph/generated/models/conversation_member_collection_response.py +++ b/msgraph/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/generated/models/conversation_member_role_updated_event_message_detail.py b/msgraph/generated/models/conversation_member_role_updated_event_message_detail.py index 9c7e2cf4733..01095815f32 100644 --- a/msgraph/generated/models/conversation_member_role_updated_event_message_detail.py +++ b/msgraph/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/generated/models/conversation_thread.py b/msgraph/generated/models/conversation_thread.py index 83b88434a7e..441dd3ecb11 100644 --- a/msgraph/generated/models/conversation_thread.py +++ b/msgraph/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/generated/models/conversation_thread_collection_response.py b/msgraph/generated/models/conversation_thread_collection_response.py index d289f5dd0e9..a5055a0c309 100644 --- a/msgraph/generated/models/conversation_thread_collection_response.py +++ b/msgraph/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/generated/models/convert_id_result.py b/msgraph/generated/models/convert_id_result.py index 1cfaa47a385..fcf8125be9d 100644 --- a/msgraph/generated/models/convert_id_result.py +++ b/msgraph/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/generated/models/copy_notebook_model.py b/msgraph/generated/models/copy_notebook_model.py index 32699b0b3ab..4d2966e6675 100644 --- a/msgraph/generated/models/copy_notebook_model.py +++ b/msgraph/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/generated/models/country_named_location.py b/msgraph/generated/models/country_named_location.py index cb53ecfcd3a..7fae730e815 100644 --- a/msgraph/generated/models/country_named_location.py +++ b/msgraph/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/generated/models/cross_cloud_azure_active_directory_tenant.py b/msgraph/generated/models/cross_cloud_azure_active_directory_tenant.py index 1d6f8332002..c1d6de4cb23 100644 --- a/msgraph/generated/models/cross_cloud_azure_active_directory_tenant.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy.py b/msgraph/generated/models/cross_tenant_access_policy.py index c869742ae2e..010fb1f9192 100644 --- a/msgraph/generated/models/cross_tenant_access_policy.py +++ b/msgraph/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_base import PolicyBase + from .policy_template import PolicyTemplate + 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/generated/models/cross_tenant_access_policy_b2_b_setting.py b/msgraph/generated/models/cross_tenant_access_policy_b2_b_setting.py index 99e5c027fdd..84fe5464069 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_b2_b_setting.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy_configuration_default.py b/msgraph/generated/models/cross_tenant_access_policy_configuration_default.py index dc3ee7b476c..50a06960397 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_configuration_default.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy_configuration_partner.py b/msgraph/generated/models/cross_tenant_access_policy_configuration_partner.py index 82883f0d08e..bdf0188e500 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_configuration_partner.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py b/msgraph/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py index caf7d9b2b8f..eb4cb79c8aa 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy_target.py b/msgraph/generated/models/cross_tenant_access_policy_target.py index 6c1112b176c..48bc13ba916 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_target.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy_target_configuration.py b/msgraph/generated/models/cross_tenant_access_policy_target_configuration.py index 371df1d9a1c..f7409327cd8 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_target_configuration.py +++ b/msgraph/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/generated/models/cross_tenant_access_policy_tenant_restrictions.py b/msgraph/generated/models/cross_tenant_access_policy_tenant_restrictions.py index be6de13a14c..37f62379aef 100644 --- a/msgraph/generated/models/cross_tenant_access_policy_tenant_restrictions.py +++ b/msgraph/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/generated/models/cross_tenant_identity_sync_policy_partner.py b/msgraph/generated/models/cross_tenant_identity_sync_policy_partner.py index 21696fefe9f..660e7c58a52 100644 --- a/msgraph/generated/models/cross_tenant_identity_sync_policy_partner.py +++ b/msgraph/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/generated/models/custom_app_management_configuration.py b/msgraph/generated/models/custom_app_management_configuration.py index d941e4b663c..fec3e250e21 100644 --- a/msgraph/generated/models/custom_app_management_configuration.py +++ b/msgraph/generated/models/custom_app_management_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/generated/models/custom_authentication_extension.py b/msgraph/generated/models/custom_authentication_extension.py index f3d652c4a78..f316a7bbb25 100644 --- a/msgraph/generated/models/custom_authentication_extension.py +++ b/msgraph/generated/models/custom_authentication_extension.py @@ -24,7 +24,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.onTokenIssuanceStartCustomExtension".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 .custom_callout_extension import CustomCalloutExtension + from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension + diff --git a/msgraph/generated/models/custom_authentication_extension_collection_response.py b/msgraph/generated/models/custom_authentication_extension_collection_response.py index 2b48571ed0e..588e9883996 100644 --- a/msgraph/generated/models/custom_authentication_extension_collection_response.py +++ b/msgraph/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/generated/models/custom_callout_extension.py b/msgraph/generated/models/custom_callout_extension.py index e88c9d4e605..f0181bfed17 100644 --- a/msgraph/generated/models/custom_callout_extension.py +++ b/msgraph/generated/models/custom_callout_extension.py @@ -41,7 +41,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(): @@ -111,6 +112,16 @@ 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_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_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/generated/models/custom_callout_extension_collection_response.py b/msgraph/generated/models/custom_callout_extension_collection_response.py index 4a93788352d..93d4dd13a89 100644 --- a/msgraph/generated/models/custom_callout_extension_collection_response.py +++ b/msgraph/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/generated/models/custom_extension_authentication_configuration.py b/msgraph/generated/models/custom_extension_authentication_configuration.py index 876bb7a02b2..7c55ec44f28 100644 --- a/msgraph/generated/models/custom_extension_authentication_configuration.py +++ b/msgraph/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/generated/models/custom_extension_callback_configuration.py b/msgraph/generated/models/custom_extension_callback_configuration.py index fc82709d2c1..dc9c5315aae 100644 --- a/msgraph/generated/models/custom_extension_callback_configuration.py +++ b/msgraph/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/generated/models/custom_extension_callout_instance.py b/msgraph/generated/models/custom_extension_callout_instance.py index 13720a9f272..dc27ecaa160 100644 --- a/msgraph/generated/models/custom_extension_callout_instance.py +++ b/msgraph/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/generated/models/custom_extension_data.py b/msgraph/generated/models/custom_extension_data.py index 74066528abf..c71b937bc7d 100644 --- a/msgraph/generated/models/custom_extension_data.py +++ b/msgraph/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/generated/models/custom_extension_endpoint_configuration.py b/msgraph/generated/models/custom_extension_endpoint_configuration.py index 4ebb906017e..f1b77bec768 100644 --- a/msgraph/generated/models/custom_extension_endpoint_configuration.py +++ b/msgraph/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/generated/models/custom_extension_overwrite_configuration.py b/msgraph/generated/models/custom_extension_overwrite_configuration.py index b0c9d2304c5..fab860e727a 100644 --- a/msgraph/generated/models/custom_extension_overwrite_configuration.py +++ b/msgraph/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/generated/models/custom_extension_stage_setting.py b/msgraph/generated/models/custom_extension_stage_setting.py index 16ceaa2498c..e3b4451c404 100644 --- a/msgraph/generated/models/custom_extension_stage_setting.py +++ b/msgraph/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/generated/models/custom_extension_stage_setting_collection_response.py b/msgraph/generated/models/custom_extension_stage_setting_collection_response.py index bdb3539cfd6..92f1ecb098d 100644 --- a/msgraph/generated/models/custom_extension_stage_setting_collection_response.py +++ b/msgraph/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/generated/models/custom_security_attribute_definition.py b/msgraph/generated/models/custom_security_attribute_definition.py index f96bb3f11b5..ea8d3d7abb3 100644 --- a/msgraph/generated/models/custom_security_attribute_definition.py +++ b/msgraph/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/generated/models/custom_security_attribute_definition_collection_response.py b/msgraph/generated/models/custom_security_attribute_definition_collection_response.py index 9c68c167e77..873c335a197 100644 --- a/msgraph/generated/models/custom_security_attribute_definition_collection_response.py +++ b/msgraph/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/generated/models/custom_time_zone.py b/msgraph/generated/models/custom_time_zone.py index b6ecdf10fec..008badc8312 100644 --- a/msgraph/generated/models/custom_time_zone.py +++ b/msgraph/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/generated/models/custom_training_setting.py b/msgraph/generated/models/custom_training_setting.py index e7a5541e923..a03835c10b0 100644 --- a/msgraph/generated/models/custom_training_setting.py +++ b/msgraph/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/generated/models/data_policy_operation.py b/msgraph/generated/models/data_policy_operation.py index 27128e9a7af..c10588c2803 100644 --- a/msgraph/generated/models/data_policy_operation.py +++ b/msgraph/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/generated/models/data_policy_operation_collection_response.py b/msgraph/generated/models/data_policy_operation_collection_response.py index 8928b3107a8..11661a68051 100644 --- a/msgraph/generated/models/data_policy_operation_collection_response.py +++ b/msgraph/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/generated/models/daylight_time_zone_offset.py b/msgraph/generated/models/daylight_time_zone_offset.py index ac4a6f9bcf5..02d4d6d6bb9 100644 --- a/msgraph/generated/models/daylight_time_zone_offset.py +++ b/msgraph/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/generated/models/default_invitation_redemption_identity_provider_configuration.py b/msgraph/generated/models/default_invitation_redemption_identity_provider_configuration.py index 49915fdde01..fca18acaa56 100644 --- a/msgraph/generated/models/default_invitation_redemption_identity_provider_configuration.py +++ b/msgraph/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/generated/models/default_managed_app_protection.py b/msgraph/generated/models/default_managed_app_protection.py index 98bebc7be62..87768f9c7fd 100644 --- a/msgraph/generated/models/default_managed_app_protection.py +++ b/msgraph/generated/models/default_managed_app_protection.py @@ -99,6 +99,12 @@ 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_protection import ManagedAppProtection + from .managed_mobile_app import ManagedMobileApp + writer.write_enum_value("appDataEncryptionType", self.app_data_encryption_type) writer.write_collection_of_object_values("apps", self.apps) writer.write_collection_of_object_values("customSettings", self.custom_settings) diff --git a/msgraph/generated/models/default_managed_app_protection_collection_response.py b/msgraph/generated/models/default_managed_app_protection_collection_response.py index 05567bde747..3b3e946fc23 100644 --- a/msgraph/generated/models/default_managed_app_protection_collection_response.py +++ b/msgraph/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/generated/models/defender_detected_malware_actions.py b/msgraph/generated/models/defender_detected_malware_actions.py index 5346d1f2b02..998b1aee830 100644 --- a/msgraph/generated/models/defender_detected_malware_actions.py +++ b/msgraph/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/generated/models/delegated_admin_access_assignment.py b/msgraph/generated/models/delegated_admin_access_assignment.py index c043a2a1a55..4ff992ec87a 100644 --- a/msgraph/generated/models/delegated_admin_access_assignment.py +++ b/msgraph/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/generated/models/delegated_admin_access_assignment_collection_response.py b/msgraph/generated/models/delegated_admin_access_assignment_collection_response.py index 0573d2b9d02..aa39650d599 100644 --- a/msgraph/generated/models/delegated_admin_access_assignment_collection_response.py +++ b/msgraph/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/generated/models/delegated_admin_access_container.py b/msgraph/generated/models/delegated_admin_access_container.py index e06bbc67e70..0ed4dbd30d2 100644 --- a/msgraph/generated/models/delegated_admin_access_container.py +++ b/msgraph/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/generated/models/delegated_admin_access_details.py b/msgraph/generated/models/delegated_admin_access_details.py index 954b1092cb2..4dfd01fa002 100644 --- a/msgraph/generated/models/delegated_admin_access_details.py +++ b/msgraph/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/generated/models/delegated_admin_customer.py b/msgraph/generated/models/delegated_admin_customer.py index d5c3a2050c8..f22f7703546 100644 --- a/msgraph/generated/models/delegated_admin_customer.py +++ b/msgraph/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/generated/models/delegated_admin_customer_collection_response.py b/msgraph/generated/models/delegated_admin_customer_collection_response.py index d29a77dd863..ba88791aa2b 100644 --- a/msgraph/generated/models/delegated_admin_customer_collection_response.py +++ b/msgraph/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/generated/models/delegated_admin_relationship.py b/msgraph/generated/models/delegated_admin_relationship.py index 655b52fc164..db8ebfc5141 100644 --- a/msgraph/generated/models/delegated_admin_relationship.py +++ b/msgraph/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/generated/models/delegated_admin_relationship_collection_response.py b/msgraph/generated/models/delegated_admin_relationship_collection_response.py index f1f3796407c..8767bc2ecc9 100644 --- a/msgraph/generated/models/delegated_admin_relationship_collection_response.py +++ b/msgraph/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/generated/models/delegated_admin_relationship_operation.py b/msgraph/generated/models/delegated_admin_relationship_operation.py index 385d164b31e..37bf0df34ec 100644 --- a/msgraph/generated/models/delegated_admin_relationship_operation.py +++ b/msgraph/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/generated/models/delegated_admin_relationship_operation_collection_response.py b/msgraph/generated/models/delegated_admin_relationship_operation_collection_response.py index 23ce06e99f8..6abc0e20f5a 100644 --- a/msgraph/generated/models/delegated_admin_relationship_operation_collection_response.py +++ b/msgraph/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/generated/models/delegated_admin_relationship_request.py b/msgraph/generated/models/delegated_admin_relationship_request.py index aec125499b7..f6477e2d5be 100644 --- a/msgraph/generated/models/delegated_admin_relationship_request.py +++ b/msgraph/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/generated/models/delegated_admin_relationship_request_collection_response.py b/msgraph/generated/models/delegated_admin_relationship_request_collection_response.py index 7b2007d0886..fdb2c88b3c2 100644 --- a/msgraph/generated/models/delegated_admin_relationship_request_collection_response.py +++ b/msgraph/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/generated/models/delegated_admin_service_management_detail.py b/msgraph/generated/models/delegated_admin_service_management_detail.py index 4dc729d50f5..1ed84f3378b 100644 --- a/msgraph/generated/models/delegated_admin_service_management_detail.py +++ b/msgraph/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/generated/models/delegated_admin_service_management_detail_collection_response.py b/msgraph/generated/models/delegated_admin_service_management_detail_collection_response.py index ea0e52a359a..b808ff08352 100644 --- a/msgraph/generated/models/delegated_admin_service_management_detail_collection_response.py +++ b/msgraph/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/generated/models/delegated_permission_classification.py b/msgraph/generated/models/delegated_permission_classification.py index 727e5f13cd1..595ffc9ac35 100644 --- a/msgraph/generated/models/delegated_permission_classification.py +++ b/msgraph/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/generated/models/delegated_permission_classification_collection_response.py b/msgraph/generated/models/delegated_permission_classification_collection_response.py index 40d302995af..700c6ba7aba 100644 --- a/msgraph/generated/models/delegated_permission_classification_collection_response.py +++ b/msgraph/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/generated/models/delete_user_from_shared_apple_device_action_result.py b/msgraph/generated/models/delete_user_from_shared_apple_device_action_result.py index 22bf012ec06..67ed5235579 100644 --- a/msgraph/generated/models/delete_user_from_shared_apple_device_action_result.py +++ b/msgraph/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/generated/models/deleted_chat.py b/msgraph/generated/models/deleted_chat.py index f583d139de6..086f51ddfef 100644 --- a/msgraph/generated/models/deleted_chat.py +++ b/msgraph/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/generated/models/deleted_chat_collection_response.py b/msgraph/generated/models/deleted_chat_collection_response.py index aabe77af128..1f7a755c93a 100644 --- a/msgraph/generated/models/deleted_chat_collection_response.py +++ b/msgraph/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/generated/models/deleted_item_container.py b/msgraph/generated/models/deleted_item_container.py index 5d0a33b0618..9415ff46e89 100644 --- a/msgraph/generated/models/deleted_item_container.py +++ b/msgraph/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/generated/models/deleted_team.py b/msgraph/generated/models/deleted_team.py index c256090c248..c8137526ae9 100644 --- a/msgraph/generated/models/deleted_team.py +++ b/msgraph/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/generated/models/deleted_team_collection_response.py b/msgraph/generated/models/deleted_team_collection_response.py index 2479a83d5f2..a0afbfee5cf 100644 --- a/msgraph/generated/models/deleted_team_collection_response.py +++ b/msgraph/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/generated/models/delta_participants.py b/msgraph/generated/models/delta_participants.py index 47d9dd4b415..31b10777b6b 100644 --- a/msgraph/generated/models/delta_participants.py +++ b/msgraph/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/generated/models/detected_app.py b/msgraph/generated/models/detected_app.py index 2cc9b77959a..9726de0e8ac 100644 --- a/msgraph/generated/models/detected_app.py +++ b/msgraph/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/generated/models/detected_app_collection_response.py b/msgraph/generated/models/detected_app_collection_response.py index e4fbddf11ee..337717b934f 100644 --- a/msgraph/generated/models/detected_app_collection_response.py +++ b/msgraph/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/generated/models/device.py b/msgraph/generated/models/device.py index 85ebb379196..89960257616 100644 --- a/msgraph/generated/models/device.py +++ b/msgraph/generated/models/device.py @@ -160,6 +160,10 @@ 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 .directory_object import DirectoryObject + from .extension import Extension + 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/generated/models/device_action_result.py b/msgraph/generated/models/device_action_result.py index b858d8fa852..76645c7471b 100644 --- a/msgraph/generated/models/device_action_result.py +++ b/msgraph/generated/models/device_action_result.py @@ -45,7 +45,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.deleteUserFromSharedAppleDeviceActionResult".casefold(): @@ -112,6 +113,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_state import ActionState + 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 .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/generated/models/device_and_app_management_assignment_target.py b/msgraph/generated/models/device_and_app_management_assignment_target.py index f508ad71752..92a782dba89 100644 --- a/msgraph/generated/models/device_and_app_management_assignment_target.py +++ b/msgraph/generated/models/device_and_app_management_assignment_target.py @@ -34,7 +34,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(): @@ -89,6 +90,12 @@ 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 .configuration_manager_collection_assignment_target import ConfigurationManagerCollectionAssignmentTarget + from .exclusion_group_assignment_target import ExclusionGroupAssignmentTarget + from .group_assignment_target import GroupAssignmentTarget + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/device_and_app_management_role_assignment.py b/msgraph/generated/models/device_and_app_management_role_assignment.py index 759fd593039..f61d6494c8e 100644 --- a/msgraph/generated/models/device_and_app_management_role_assignment.py +++ b/msgraph/generated/models/device_and_app_management_role_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 .role_assignment import RoleAssignment + writer.write_collection_of_primitive_values("members", self.members) diff --git a/msgraph/generated/models/device_and_app_management_role_assignment_collection_response.py b/msgraph/generated/models/device_and_app_management_role_assignment_collection_response.py index 6f56712d3dd..366174b31f3 100644 --- a/msgraph/generated/models/device_and_app_management_role_assignment_collection_response.py +++ b/msgraph/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/generated/models/device_and_app_management_role_definition.py b/msgraph/generated/models/device_and_app_management_role_definition.py index 4373aa6639a..9b408f417a4 100644 --- a/msgraph/generated/models/device_and_app_management_role_definition.py +++ b/msgraph/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/generated/models/device_app_management.py b/msgraph/generated/models/device_app_management.py index 1787331cfa0..20422a7656d 100644 --- a/msgraph/generated/models/device_app_management.py +++ b/msgraph/generated/models/device_app_management.py @@ -148,6 +148,22 @@ 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_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 .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + from .mobile_app import MobileApp + from .mobile_app_category import MobileAppCategory + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + from .vpp_token import VppToken + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + 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("iosManagedAppProtections", self.ios_managed_app_protections) diff --git a/msgraph/generated/models/device_category.py b/msgraph/generated/models/device_category.py index 5fda4380277..81b74c1ae5e 100644 --- a/msgraph/generated/models/device_category.py +++ b/msgraph/generated/models/device_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 .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/device_category_collection_response.py b/msgraph/generated/models/device_category_collection_response.py index 6fc4d16b0db..87fc77eb6e7 100644 --- a/msgraph/generated/models/device_category_collection_response.py +++ b/msgraph/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/generated/models/device_collection_response.py b/msgraph/generated/models/device_collection_response.py index cbb9b7a5a75..9b1c0614259 100644 --- a/msgraph/generated/models/device_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_action_item.py b/msgraph/generated/models/device_compliance_action_item.py index 10d151357ee..4e9a57cf7d0 100644 --- a/msgraph/generated/models/device_compliance_action_item.py +++ b/msgraph/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/generated/models/device_compliance_action_item_collection_response.py b/msgraph/generated/models/device_compliance_action_item_collection_response.py index f8c1b2dc3a5..c119d928f81 100644 --- a/msgraph/generated/models/device_compliance_action_item_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_device_overview.py b/msgraph/generated/models/device_compliance_device_overview.py index bdafef52b39..3baaeb9be81 100644 --- a/msgraph/generated/models/device_compliance_device_overview.py +++ b/msgraph/generated/models/device_compliance_device_overview.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_int_value("configurationVersion", self.configuration_version) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph/generated/models/device_compliance_device_status.py b/msgraph/generated/models/device_compliance_device_status.py index 8acc6642f2a..c0fa0b188ff 100644 --- a/msgraph/generated/models/device_compliance_device_status.py +++ b/msgraph/generated/models/device_compliance_device_status.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_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/generated/models/device_compliance_device_status_collection_response.py b/msgraph/generated/models/device_compliance_device_status_collection_response.py index a194f4359fc..83eb18fa085 100644 --- a/msgraph/generated/models/device_compliance_device_status_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_policy.py b/msgraph/generated/models/device_compliance_policy.py index 09f82c721f7..9cbbefd6c6e 100644 --- a/msgraph/generated/models/device_compliance_policy.py +++ b/msgraph/generated/models/device_compliance_policy.py @@ -66,7 +66,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(): @@ -169,6 +170,23 @@ 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_work_profile_compliance_policy import AndroidWorkProfileCompliancePolicy + 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/generated/models/device_compliance_policy_assignment.py b/msgraph/generated/models/device_compliance_policy_assignment.py index 3c5a214321b..dbee4afbf97 100644 --- a/msgraph/generated/models/device_compliance_policy_assignment.py +++ b/msgraph/generated/models/device_compliance_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/generated/models/device_compliance_policy_assignment_collection_response.py b/msgraph/generated/models/device_compliance_policy_assignment_collection_response.py index 48047ff2a17..30759e7f04f 100644 --- a/msgraph/generated/models/device_compliance_policy_assignment_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_policy_collection_response.py b/msgraph/generated/models/device_compliance_policy_collection_response.py index af15e2d2f6d..237df1ba7a2 100644 --- a/msgraph/generated/models/device_compliance_policy_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_policy_device_state_summary.py b/msgraph/generated/models/device_compliance_policy_device_state_summary.py index ac32804fcea..4a0848aa351 100644 --- a/msgraph/generated/models/device_compliance_policy_device_state_summary.py +++ b/msgraph/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/generated/models/device_compliance_policy_setting_state.py b/msgraph/generated/models/device_compliance_policy_setting_state.py index e23deadc901..2ca3bc12dc7 100644 --- a/msgraph/generated/models/device_compliance_policy_setting_state.py +++ b/msgraph/generated/models/device_compliance_policy_setting_state.py @@ -92,6 +92,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/generated/models/device_compliance_policy_setting_state_summary.py b/msgraph/generated/models/device_compliance_policy_setting_state_summary.py index 6c3c285f726..47831c54a66 100644 --- a/msgraph/generated/models/device_compliance_policy_setting_state_summary.py +++ b/msgraph/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/generated/models/device_compliance_policy_setting_state_summary_collection_response.py b/msgraph/generated/models/device_compliance_policy_setting_state_summary_collection_response.py index db5e6a7f651..ecab433730d 100644 --- a/msgraph/generated/models/device_compliance_policy_setting_state_summary_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_policy_state.py b/msgraph/generated/models/device_compliance_policy_state.py index 78d08566e8c..0bffac4ef55 100644 --- a/msgraph/generated/models/device_compliance_policy_state.py +++ b/msgraph/generated/models/device_compliance_policy_state.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 .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/generated/models/device_compliance_policy_state_collection_response.py b/msgraph/generated/models/device_compliance_policy_state_collection_response.py index 94a1dc6376b..4ca3d85fbe0 100644 --- a/msgraph/generated/models/device_compliance_policy_state_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_scheduled_action_for_rule.py b/msgraph/generated/models/device_compliance_scheduled_action_for_rule.py index 82684c8baba..f33a99f252e 100644 --- a/msgraph/generated/models/device_compliance_scheduled_action_for_rule.py +++ b/msgraph/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/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py b/msgraph/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py index 87366858e0f..f8642455e5a 100644 --- a/msgraph/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_setting_state.py b/msgraph/generated/models/device_compliance_setting_state.py index 5e3b441cb3c..4ded679b1e3 100644 --- a/msgraph/generated/models/device_compliance_setting_state.py +++ b/msgraph/generated/models/device_compliance_setting_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 .compliance_status import ComplianceStatus + 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/generated/models/device_compliance_setting_state_collection_response.py b/msgraph/generated/models/device_compliance_setting_state_collection_response.py index 23476d0d950..72accd553f6 100644 --- a/msgraph/generated/models/device_compliance_setting_state_collection_response.py +++ b/msgraph/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/generated/models/device_compliance_user_overview.py b/msgraph/generated/models/device_compliance_user_overview.py index dae766285a2..4abf6b6d993 100644 --- a/msgraph/generated/models/device_compliance_user_overview.py +++ b/msgraph/generated/models/device_compliance_user_overview.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_int_value("configurationVersion", self.configuration_version) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph/generated/models/device_compliance_user_status.py b/msgraph/generated/models/device_compliance_user_status.py index e4ae425753b..1d7292da08a 100644 --- a/msgraph/generated/models/device_compliance_user_status.py +++ b/msgraph/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/generated/models/device_compliance_user_status_collection_response.py b/msgraph/generated/models/device_compliance_user_status_collection_response.py index 74e00cb618b..b847bb6c53d 100644 --- a/msgraph/generated/models/device_compliance_user_status_collection_response.py +++ b/msgraph/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/generated/models/device_configuration.py b/msgraph/generated/models/device_configuration.py index 2cf5685a2a7..98f4c1dfcbb 100644 --- a/msgraph/generated/models/device_configuration.py +++ b/msgraph/generated/models/device_configuration.py @@ -81,7 +81,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.androidCustomConfiguration".casefold(): @@ -289,6 +290,40 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_custom_configuration import AndroidCustomConfiguration + from .android_general_device_configuration import AndroidGeneralDeviceConfiguration + from .android_work_profile_custom_configuration import AndroidWorkProfileCustomConfiguration + from .android_work_profile_general_device_configuration import AndroidWorkProfileGeneralDeviceConfiguration + from .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .device_configuration_assignment import DeviceConfigurationAssignment + from .device_configuration_device_overview import DeviceConfigurationDeviceOverview + from .device_configuration_device_status import DeviceConfigurationDeviceStatus + from .device_configuration_user_overview import DeviceConfigurationUserOverview + from .device_configuration_user_status import DeviceConfigurationUserStatus + from .edition_upgrade_configuration import EditionUpgradeConfiguration + from .entity import Entity + from .ios_certificate_profile import IosCertificateProfile + from .ios_custom_configuration import IosCustomConfiguration + from .ios_device_features_configuration import IosDeviceFeaturesConfiguration + from .ios_general_device_configuration import IosGeneralDeviceConfiguration + from .ios_update_configuration import IosUpdateConfiguration + from .mac_o_s_custom_configuration import MacOSCustomConfiguration + from .mac_o_s_device_features_configuration import MacOSDeviceFeaturesConfiguration + from .mac_o_s_general_device_configuration import MacOSGeneralDeviceConfiguration + from .setting_state_device_summary import SettingStateDeviceSummary + from .shared_p_c_configuration import SharedPCConfiguration + from .windows10_custom_configuration import Windows10CustomConfiguration + from .windows10_endpoint_protection_configuration import Windows10EndpointProtectionConfiguration + from .windows10_enterprise_modern_app_management_configuration import Windows10EnterpriseModernAppManagementConfiguration + from .windows10_general_configuration import Windows10GeneralConfiguration + from .windows10_secure_assessment_configuration import Windows10SecureAssessmentConfiguration + from .windows10_team_general_configuration import Windows10TeamGeneralConfiguration + from .windows81_general_configuration import Windows81GeneralConfiguration + from .windows_defender_advanced_threat_protection_configuration import WindowsDefenderAdvancedThreatProtectionConfiguration + from .windows_phone81_custom_configuration import WindowsPhone81CustomConfiguration + from .windows_phone81_general_configuration import WindowsPhone81GeneralConfiguration + from .windows_update_for_business_configuration import WindowsUpdateForBusinessConfiguration + 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/generated/models/device_configuration_assignment.py b/msgraph/generated/models/device_configuration_assignment.py index 59142a73f60..3166a882d6d 100644 --- a/msgraph/generated/models/device_configuration_assignment.py +++ b/msgraph/generated/models/device_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/generated/models/device_configuration_assignment_collection_response.py b/msgraph/generated/models/device_configuration_assignment_collection_response.py index 3baf4d32d20..88a62d909f6 100644 --- a/msgraph/generated/models/device_configuration_assignment_collection_response.py +++ b/msgraph/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/generated/models/device_configuration_collection_response.py b/msgraph/generated/models/device_configuration_collection_response.py index fa25bde043a..17f1c4bae78 100644 --- a/msgraph/generated/models/device_configuration_collection_response.py +++ b/msgraph/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/generated/models/device_configuration_device_overview.py b/msgraph/generated/models/device_configuration_device_overview.py index 6b65927ef34..231eea2ed9f 100644 --- a/msgraph/generated/models/device_configuration_device_overview.py +++ b/msgraph/generated/models/device_configuration_device_overview.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_int_value("configurationVersion", self.configuration_version) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph/generated/models/device_configuration_device_state_summary.py b/msgraph/generated/models/device_configuration_device_state_summary.py index 4376ed50cea..a1c8b66111e 100644 --- a/msgraph/generated/models/device_configuration_device_state_summary.py +++ b/msgraph/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/generated/models/device_configuration_device_status.py b/msgraph/generated/models/device_configuration_device_status.py index c22a1ef0fca..8c796c87e53 100644 --- a/msgraph/generated/models/device_configuration_device_status.py +++ b/msgraph/generated/models/device_configuration_device_status.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_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/generated/models/device_configuration_device_status_collection_response.py b/msgraph/generated/models/device_configuration_device_status_collection_response.py index 9ee6c36b764..66b611ce866 100644 --- a/msgraph/generated/models/device_configuration_device_status_collection_response.py +++ b/msgraph/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/generated/models/device_configuration_setting_state.py b/msgraph/generated/models/device_configuration_setting_state.py index e418a12d4da..90ce4f56be8 100644 --- a/msgraph/generated/models/device_configuration_setting_state.py +++ b/msgraph/generated/models/device_configuration_setting_state.py @@ -92,6 +92,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/generated/models/device_configuration_state.py b/msgraph/generated/models/device_configuration_state.py index 2214fe34a25..29107bf8024 100644 --- a/msgraph/generated/models/device_configuration_state.py +++ b/msgraph/generated/models/device_configuration_state.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 .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/generated/models/device_configuration_state_collection_response.py b/msgraph/generated/models/device_configuration_state_collection_response.py index 0c1979c80b4..83245a79a41 100644 --- a/msgraph/generated/models/device_configuration_state_collection_response.py +++ b/msgraph/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/generated/models/device_configuration_user_overview.py b/msgraph/generated/models/device_configuration_user_overview.py index 39ec97b594e..4a9719ba808 100644 --- a/msgraph/generated/models/device_configuration_user_overview.py +++ b/msgraph/generated/models/device_configuration_user_overview.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_int_value("configurationVersion", self.configuration_version) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph/generated/models/device_configuration_user_status.py b/msgraph/generated/models/device_configuration_user_status.py index 576004a5237..097e76139cd 100644 --- a/msgraph/generated/models/device_configuration_user_status.py +++ b/msgraph/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/generated/models/device_configuration_user_status_collection_response.py b/msgraph/generated/models/device_configuration_user_status_collection_response.py index 4e2611bdd97..00a94dc6bf9 100644 --- a/msgraph/generated/models/device_configuration_user_status_collection_response.py +++ b/msgraph/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/generated/models/device_enrollment_configuration.py b/msgraph/generated/models/device_enrollment_configuration.py index 9c25aba1905..02810b620d7 100644 --- a/msgraph/generated/models/device_enrollment_configuration.py +++ b/msgraph/generated/models/device_enrollment_configuration.py @@ -46,7 +46,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.deviceEnrollmentLimitConfiguration".casefold(): @@ -108,6 +109,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_limit_configuration import DeviceEnrollmentLimitConfiguration + from .device_enrollment_platform_restrictions_configuration import DeviceEnrollmentPlatformRestrictionsConfiguration + 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/generated/models/device_enrollment_configuration_collection_response.py b/msgraph/generated/models/device_enrollment_configuration_collection_response.py index 39280c05b65..991cc041598 100644 --- a/msgraph/generated/models/device_enrollment_configuration_collection_response.py +++ b/msgraph/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/generated/models/device_enrollment_limit_configuration.py b/msgraph/generated/models/device_enrollment_limit_configuration.py index 0272cd5dc12..4c9d2b057d4 100644 --- a/msgraph/generated/models/device_enrollment_limit_configuration.py +++ b/msgraph/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/generated/models/device_enrollment_platform_restrictions_configuration.py b/msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py index 71b88be7d39..98494b88f1a 100644 --- a/msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py +++ b/msgraph/generated/models/device_enrollment_platform_restrictions_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 .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_enrollment_platform_restriction import DeviceEnrollmentPlatformRestriction + writer.write_object_value("androidRestriction", self.android_restriction) writer.write_object_value("iosRestriction", self.ios_restriction) writer.write_object_value("macOSRestriction", self.mac_o_s_restriction) diff --git a/msgraph/generated/models/device_enrollment_windows_hello_for_business_configuration.py b/msgraph/generated/models/device_enrollment_windows_hello_for_business_configuration.py index 326e3dcc657..f3a3dbad7f9 100644 --- a/msgraph/generated/models/device_enrollment_windows_hello_for_business_configuration.py +++ b/msgraph/generated/models/device_enrollment_windows_hello_for_business_configuration.py @@ -93,6 +93,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("pinExpirationInDays", self.pin_expiration_in_days) writer.write_enum_value("pinLowercaseCharactersUsage", self.pin_lowercase_characters_usage) diff --git a/msgraph/generated/models/device_install_state.py b/msgraph/generated/models/device_install_state.py index 6710311f125..7259fb7324d 100644 --- a/msgraph/generated/models/device_install_state.py +++ b/msgraph/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/generated/models/device_install_state_collection_response.py b/msgraph/generated/models/device_install_state_collection_response.py index cceb6a63953..d89c4b1cf17 100644 --- a/msgraph/generated/models/device_install_state_collection_response.py +++ b/msgraph/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/generated/models/device_local_credential.py b/msgraph/generated/models/device_local_credential.py index 5fe4ce3502e..72f1708ae8e 100644 --- a/msgraph/generated/models/device_local_credential.py +++ b/msgraph/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/generated/models/device_local_credential_info.py b/msgraph/generated/models/device_local_credential_info.py index fecf7ce084b..55da7833e89 100644 --- a/msgraph/generated/models/device_local_credential_info.py +++ b/msgraph/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/generated/models/device_local_credential_info_collection_response.py b/msgraph/generated/models/device_local_credential_info_collection_response.py index 571eaebd5ba..2f4c7e41722 100644 --- a/msgraph/generated/models/device_local_credential_info_collection_response.py +++ b/msgraph/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/generated/models/device_log_collection_response.py b/msgraph/generated/models/device_log_collection_response.py index e8bb413c71e..6eafd5b5fe5 100644 --- a/msgraph/generated/models/device_log_collection_response.py +++ b/msgraph/generated/models/device_log_collection_response.py @@ -80,6 +80,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_datetime_value("expirationDateTimeUTC", self.expiration_date_time_u_t_c) writer.write_str_value("initiatedByUserPrincipalName", self.initiated_by_user_principal_name) diff --git a/msgraph/generated/models/device_log_collection_response_collection_response.py b/msgraph/generated/models/device_log_collection_response_collection_response.py index b480c89c08b..f8d7e07a069 100644 --- a/msgraph/generated/models/device_log_collection_response_collection_response.py +++ b/msgraph/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/generated/models/device_management.py b/msgraph/generated/models/device_management.py index 4a4753909f4..21c60066f40 100644 --- a/msgraph/generated/models/device_management.py +++ b/msgraph/generated/models/device_management.py @@ -436,6 +436,71 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_push_notification_certificate import ApplePushNotificationCertificate + from .audit_event import AuditEvent + from .compliance_management_partner import ComplianceManagementPartner + from .detected_app import DetectedApp + 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_configuration import DeviceConfiguration + from .device_configuration_device_state_summary import DeviceConfigurationDeviceStateSummary + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_management_exchange_connector import DeviceManagementExchangeConnector + from .device_management_partner import DeviceManagementPartner + from .device_management_reports import DeviceManagementReports + from .device_management_settings import DeviceManagementSettings + from .device_management_subscription_state import DeviceManagementSubscriptionState + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + from .device_protection_overview import DeviceProtectionOverview + from .entity import Entity + from .imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + from .intune_brand import IntuneBrand + from .ios_update_device_status import IosUpdateDeviceStatus + from .managed_device import ManagedDevice + from .managed_device_overview import ManagedDeviceOverview + from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent + from .mobile_threat_defense_connector import MobileThreatDefenseConnector + from .notification_message_template import NotificationMessageTemplate + from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings + from .remote_assistance_partner import RemoteAssistancePartner + from .resource_operation import ResourceOperation + from .role_definition import RoleDefinition + from .software_update_status_summary import SoftwareUpdateStatusSummary + from .telecom_expense_management_partner import TelecomExpenseManagementPartner + from .terms_and_conditions import TermsAndConditions + from .user_experience_analytics_app_health_application_performance import UserExperienceAnalyticsAppHealthApplicationPerformance + 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_category import UserExperienceAnalyticsCategory + from .user_experience_analytics_device_performance import UserExperienceAnalyticsDevicePerformance + 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_metric_history import UserExperienceAnalyticsMetricHistory + from .user_experience_analytics_model_scores import UserExperienceAnalyticsModelScores + from .user_experience_analytics_overview import UserExperienceAnalyticsOverview + 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 .virtual_endpoint import VirtualEndpoint + from .windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + 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 + writer.write_object_value("applePushNotificationCertificate", self.apple_push_notification_certificate) writer.write_collection_of_object_values("auditEvents", self.audit_events) writer.write_collection_of_object_values("complianceManagementPartners", self.compliance_management_partners) diff --git a/msgraph/generated/models/device_management_cached_report_configuration.py b/msgraph/generated/models/device_management_cached_report_configuration.py index a0d007db283..5ec6cd07042 100644 --- a/msgraph/generated/models/device_management_cached_report_configuration.py +++ b/msgraph/generated/models/device_management_cached_report_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 .entity import Entity + diff --git a/msgraph/generated/models/device_management_exchange_connector.py b/msgraph/generated/models/device_management_exchange_connector.py index 480c0657193..7ed593e9a47 100644 --- a/msgraph/generated/models/device_management_exchange_connector.py +++ b/msgraph/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/generated/models/device_management_exchange_connector_collection_response.py b/msgraph/generated/models/device_management_exchange_connector_collection_response.py index 2e7bd5f57cd..7a6396c93e2 100644 --- a/msgraph/generated/models/device_management_exchange_connector_collection_response.py +++ b/msgraph/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/generated/models/device_management_export_job.py b/msgraph/generated/models/device_management_export_job.py index afe50a0ab79..7eda00a7c43 100644 --- a/msgraph/generated/models/device_management_export_job.py +++ b/msgraph/generated/models/device_management_export_job.py @@ -21,7 +21,7 @@ class DeviceManagementExportJob(Entity): expiration_date_time: Optional[datetime.datetime] = None # Filters applied on the report filter: Optional[str] = None - # Possible values for the file format of a report. + # Possible values for the file format of a report to be exported. format: Optional[DeviceManagementReportFileFormat] = None # Configures how the requested export job is localized. localization_type: Optional[DeviceManagementExportJobLocalizationType] = None @@ -91,6 +91,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/generated/models/device_management_export_job_collection_response.py b/msgraph/generated/models/device_management_export_job_collection_response.py index c272ab5e553..9f2bf9ef836 100644 --- a/msgraph/generated/models/device_management_export_job_collection_response.py +++ b/msgraph/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/generated/models/device_management_partner.py b/msgraph/generated/models/device_management_partner.py index 57e12f5e099..96e395bd929 100644 --- a/msgraph/generated/models/device_management_partner.py +++ b/msgraph/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/generated/models/device_management_partner_assignment.py b/msgraph/generated/models/device_management_partner_assignment.py index 8cf01a757da..05b1782c723 100644 --- a/msgraph/generated/models/device_management_partner_assignment.py +++ b/msgraph/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/generated/models/device_management_partner_collection_response.py b/msgraph/generated/models/device_management_partner_collection_response.py index 0418fafd251..7cde63a4652 100644 --- a/msgraph/generated/models/device_management_partner_collection_response.py +++ b/msgraph/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/generated/models/device_management_reports.py b/msgraph/generated/models/device_management_reports.py index 10ae2258dcf..493c800ee53 100644 --- a/msgraph/generated/models/device_management_reports.py +++ b/msgraph/generated/models/device_management_reports.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_export_job import DeviceManagementExportJob + from .entity import Entity + writer.write_collection_of_object_values("exportJobs", self.export_jobs) diff --git a/msgraph/generated/models/device_management_troubleshooting_event.py b/msgraph/generated/models/device_management_troubleshooting_event.py index db512bfa9d2..2735752c358 100644 --- a/msgraph/generated/models/device_management_troubleshooting_event.py +++ b/msgraph/generated/models/device_management_troubleshooting_event.py @@ -32,7 +32,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.enrollmentTroubleshootingEvent".casefold(): @@ -69,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .enrollment_troubleshooting_event import EnrollmentTroubleshootingEvent + from .entity import Entity + writer.write_str_value("correlationId", self.correlation_id) writer.write_datetime_value("eventDateTime", self.event_date_time) diff --git a/msgraph/generated/models/device_management_troubleshooting_event_collection_response.py b/msgraph/generated/models/device_management_troubleshooting_event_collection_response.py index 79ce84b5bd8..ab632d988b5 100644 --- a/msgraph/generated/models/device_management_troubleshooting_event_collection_response.py +++ b/msgraph/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/generated/models/device_registration_membership.py b/msgraph/generated/models/device_registration_membership.py index f1324f88d19..e84941dc9ae 100644 --- a/msgraph/generated/models/device_registration_membership.py +++ b/msgraph/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/generated/models/device_registration_policy.py b/msgraph/generated/models/device_registration_policy.py index 334a010df46..a8026be2a1a 100644 --- a/msgraph/generated/models/device_registration_policy.py +++ b/msgraph/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/generated/models/devices_filter.py b/msgraph/generated/models/devices_filter.py index 17bf9f7aa74..cc85cacf433 100644 --- a/msgraph/generated/models/devices_filter.py +++ b/msgraph/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/generated/models/dictionary.py b/msgraph/generated/models/dictionary.py index 69d7adb0a28..331b5cc4cc3 100644 --- a/msgraph/generated/models/dictionary.py +++ b/msgraph/generated/models/dictionary.py @@ -28,7 +28,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.fileStorageContainerCustomPropertyDictionary".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + 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/generated/models/directory.py b/msgraph/generated/models/directory.py index cfee8d88f76..bc9767c8e32 100644 --- a/msgraph/generated/models/directory.py +++ b/msgraph/generated/models/directory.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 .administrative_unit import AdministrativeUnit + from .attribute_set import AttributeSet + 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 .identity_provider_base import IdentityProviderBase + from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization + writer.write_collection_of_object_values("administrativeUnits", self.administrative_units) writer.write_collection_of_object_values("attributeSets", self.attribute_sets) writer.write_collection_of_object_values("customSecurityAttributeDefinitions", self.custom_security_attribute_definitions) diff --git a/msgraph/generated/models/directory_audit.py b/msgraph/generated/models/directory_audit.py index d1094c8283c..e2355beda71 100644 --- a/msgraph/generated/models/directory_audit.py +++ b/msgraph/generated/models/directory_audit.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 .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/generated/models/directory_audit_collection_response.py b/msgraph/generated/models/directory_audit_collection_response.py index 2e0ae80bef5..79acc4eb289 100644 --- a/msgraph/generated/models/directory_audit_collection_response.py +++ b/msgraph/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/generated/models/directory_definition.py b/msgraph/generated/models/directory_definition.py index 6a445295b37..8d1687021da 100644 --- a/msgraph/generated/models/directory_definition.py +++ b/msgraph/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/generated/models/directory_definition_collection_response.py b/msgraph/generated/models/directory_definition_collection_response.py index 9235af448ef..fd4e9ec241d 100644 --- a/msgraph/generated/models/directory_definition_collection_response.py +++ b/msgraph/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/generated/models/directory_object.py b/msgraph/generated/models/directory_object.py index a5e1dd6ff31..e75e22e74f0 100644 --- a/msgraph/generated/models/directory_object.py +++ b/msgraph/generated/models/directory_object.py @@ -57,7 +57,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(): @@ -273,6 +274,39 @@ 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 .app_role_assignment import AppRoleAssignment + from .authorization_policy import AuthorizationPolicy + 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 .endpoint import Endpoint + from .entity import Entity + from .extension_property import ExtensionProperty + from .group import Group + from .group_setting_template import GroupSettingTemplate + 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 .permission_grant_policy import PermissionGrantPolicy + from .policy_base import PolicyBase + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .service_principal import ServicePrincipal + from .sts_policy import StsPolicy + from .tenant_app_management_policy import TenantAppManagementPolicy + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + from .user import User + writer.write_datetime_value("deletedDateTime", self.deleted_date_time) diff --git a/msgraph/generated/models/directory_object_collection_response.py b/msgraph/generated/models/directory_object_collection_response.py index 4b32239b486..ad391a35e82 100644 --- a/msgraph/generated/models/directory_object_collection_response.py +++ b/msgraph/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/generated/models/directory_object_partner_reference.py b/msgraph/generated/models/directory_object_partner_reference.py index a87de893590..062aa84284f 100644 --- a/msgraph/generated/models/directory_object_partner_reference.py +++ b/msgraph/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/generated/models/directory_role.py b/msgraph/generated/models/directory_role.py index fbc54ab9799..52aca90f05f 100644 --- a/msgraph/generated/models/directory_role.py +++ b/msgraph/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/generated/models/directory_role_collection_response.py b/msgraph/generated/models/directory_role_collection_response.py index a3e97ccfab8..553bda92a15 100644 --- a/msgraph/generated/models/directory_role_collection_response.py +++ b/msgraph/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/generated/models/directory_role_template.py b/msgraph/generated/models/directory_role_template.py index 076d8246125..3fd1641b800 100644 --- a/msgraph/generated/models/directory_role_template.py +++ b/msgraph/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/generated/models/directory_role_template_collection_response.py b/msgraph/generated/models/directory_role_template_collection_response.py index 9c4b96f1be8..22f3cce01f9 100644 --- a/msgraph/generated/models/directory_role_template_collection_response.py +++ b/msgraph/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/generated/models/disable_and_delete_user_apply_action.py b/msgraph/generated/models/disable_and_delete_user_apply_action.py index e0d0cbf2be5..d31bcb0bd13 100644 --- a/msgraph/generated/models/disable_and_delete_user_apply_action.py +++ b/msgraph/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/generated/models/document_set.py b/msgraph/generated/models/document_set.py index 492833805c6..d4d25f0a0a5 100644 --- a/msgraph/generated/models/document_set.py +++ b/msgraph/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/generated/models/document_set_content.py b/msgraph/generated/models/document_set_content.py index 0d5ff4e3b67..9c6946c2f84 100644 --- a/msgraph/generated/models/document_set_content.py +++ b/msgraph/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/generated/models/document_set_version.py b/msgraph/generated/models/document_set_version.py index a2581eb4b12..275eb6f8416 100644 --- a/msgraph/generated/models/document_set_version.py +++ b/msgraph/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/generated/models/document_set_version_collection_response.py b/msgraph/generated/models/document_set_version_collection_response.py index f5cac5f2924..e323f12681d 100644 --- a/msgraph/generated/models/document_set_version_collection_response.py +++ b/msgraph/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/generated/models/domain.py b/msgraph/generated/models/domain.py index c09522e7f11..0ee96527f84 100644 --- a/msgraph/generated/models/domain.py +++ b/msgraph/generated/models/domain.py @@ -114,6 +114,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 .domain_dns_record import DomainDnsRecord + from .domain_state import DomainState + from .entity import Entity + from .internal_domain_federation import InternalDomainFederation + 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/generated/models/domain_collection_response.py b/msgraph/generated/models/domain_collection_response.py index 2a19667c608..93ac00369e3 100644 --- a/msgraph/generated/models/domain_collection_response.py +++ b/msgraph/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/generated/models/domain_dns_cname_record.py b/msgraph/generated/models/domain_dns_cname_record.py index f77947994e7..2574e80cd49 100644 --- a/msgraph/generated/models/domain_dns_cname_record.py +++ b/msgraph/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/generated/models/domain_dns_mx_record.py b/msgraph/generated/models/domain_dns_mx_record.py index f01eab6f2ee..94a7e133ccc 100644 --- a/msgraph/generated/models/domain_dns_mx_record.py +++ b/msgraph/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/generated/models/domain_dns_record.py b/msgraph/generated/models/domain_dns_record.py index 73ce8df1429..23425dc49c5 100644 --- a/msgraph/generated/models/domain_dns_record.py +++ b/msgraph/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/generated/models/domain_dns_record_collection_response.py b/msgraph/generated/models/domain_dns_record_collection_response.py index 8d662c9bd89..ac3005caf96 100644 --- a/msgraph/generated/models/domain_dns_record_collection_response.py +++ b/msgraph/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/generated/models/domain_dns_srv_record.py b/msgraph/generated/models/domain_dns_srv_record.py index bbc24673c58..97082899363 100644 --- a/msgraph/generated/models/domain_dns_srv_record.py +++ b/msgraph/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/generated/models/domain_dns_txt_record.py b/msgraph/generated/models/domain_dns_txt_record.py index ce2b8c2f5bf..44835552832 100644 --- a/msgraph/generated/models/domain_dns_txt_record.py +++ b/msgraph/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/generated/models/domain_dns_unavailable_record.py b/msgraph/generated/models/domain_dns_unavailable_record.py index 043971e6d70..c0f17e67ca6 100644 --- a/msgraph/generated/models/domain_dns_unavailable_record.py +++ b/msgraph/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/generated/models/domain_identity_source.py b/msgraph/generated/models/domain_identity_source.py index 0aab7c27614..688b272ef76 100644 --- a/msgraph/generated/models/domain_identity_source.py +++ b/msgraph/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/generated/models/drive.py b/msgraph/generated/models/drive.py index 1622ccb9c11..a4ee8238c44 100644 --- a/msgraph/generated/models/drive.py +++ b/msgraph/generated/models/drive.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 .base_item import BaseItem + from .drive_item import DriveItem + from .identity_set import IdentitySet + from .list_ import List_ + from .quota import Quota + from .sharepoint_ids import SharepointIds + from .system_facet import SystemFacet + writer.write_collection_of_object_values("bundles", self.bundles) writer.write_str_value("driveType", self.drive_type) writer.write_collection_of_object_values("following", self.following) diff --git a/msgraph/generated/models/drive_collection_response.py b/msgraph/generated/models/drive_collection_response.py index cdc6102fa0c..02614590854 100644 --- a/msgraph/generated/models/drive_collection_response.py +++ b/msgraph/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/generated/models/drive_item.py b/msgraph/generated/models/drive_item.py index 83bfee546f1..9c1411b538d 100644 --- a/msgraph/generated/models/drive_item.py +++ b/msgraph/generated/models/drive_item.py @@ -231,6 +231,36 @@ 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_version import DriveItemVersion + 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_analytics import ItemAnalytics + from .item_retention_label import ItemRetentionLabel + from .list_item import ListItem + from .malware import Malware + 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_object_value("analytics", self.analytics) writer.write_object_value("audio", self.audio) writer.write_object_value("bundle", self.bundle) diff --git a/msgraph/generated/models/drive_item_collection_response.py b/msgraph/generated/models/drive_item_collection_response.py index ac199e2df08..cf62d61ba5b 100644 --- a/msgraph/generated/models/drive_item_collection_response.py +++ b/msgraph/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/generated/models/drive_item_source.py b/msgraph/generated/models/drive_item_source.py index c4b3aed54c9..250cdee4986 100644 --- a/msgraph/generated/models/drive_item_source.py +++ b/msgraph/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/generated/models/drive_item_uploadable_properties.py b/msgraph/generated/models/drive_item_uploadable_properties.py index da1bc18595d..c7ffb102544 100644 --- a/msgraph/generated/models/drive_item_uploadable_properties.py +++ b/msgraph/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/generated/models/drive_item_version.py b/msgraph/generated/models/drive_item_version.py index 5023c08644c..bf2f4d9f15c 100644 --- a/msgraph/generated/models/drive_item_version.py +++ b/msgraph/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/generated/models/drive_item_version_collection_response.py b/msgraph/generated/models/drive_item_version_collection_response.py index 28ecfd72b07..440bf92a0f8 100644 --- a/msgraph/generated/models/drive_item_version_collection_response.py +++ b/msgraph/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/generated/models/drive_protection_rule.py b/msgraph/generated/models/drive_protection_rule.py index 5f331791f70..a59757913db 100644 --- a/msgraph/generated/models/drive_protection_rule.py +++ b/msgraph/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/generated/models/drive_protection_rule_collection_response.py b/msgraph/generated/models/drive_protection_rule_collection_response.py index f26a4a20395..099df75f51a 100644 --- a/msgraph/generated/models/drive_protection_rule_collection_response.py +++ b/msgraph/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/generated/models/drive_protection_unit.py b/msgraph/generated/models/drive_protection_unit.py index 98f4375e579..85b706d10eb 100644 --- a/msgraph/generated/models/drive_protection_unit.py +++ b/msgraph/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/generated/models/drive_protection_unit_collection_response.py b/msgraph/generated/models/drive_protection_unit_collection_response.py index 35acd78eea0..5a12921b6f5 100644 --- a/msgraph/generated/models/drive_protection_unit_collection_response.py +++ b/msgraph/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/generated/models/drive_restore_artifact.py b/msgraph/generated/models/drive_restore_artifact.py index 6fa5b97a16d..a485c3c983d 100644 --- a/msgraph/generated/models/drive_restore_artifact.py +++ b/msgraph/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/generated/models/drive_restore_artifact_collection_response.py b/msgraph/generated/models/drive_restore_artifact_collection_response.py index 92abf7b70bd..12bde6b5c24 100644 --- a/msgraph/generated/models/drive_restore_artifact_collection_response.py +++ b/msgraph/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/generated/models/e_book_install_summary.py b/msgraph/generated/models/e_book_install_summary.py index 96611cb8aab..909dfa100e7 100644 --- a/msgraph/generated/models/e_book_install_summary.py +++ b/msgraph/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/generated/models/edge.py b/msgraph/generated/models/edge.py index a482e99c100..8ae686bc3ec 100644 --- a/msgraph/generated/models/edge.py +++ b/msgraph/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/generated/models/edge_search_engine.py b/msgraph/generated/models/edge_search_engine.py index 018e04e8019..3e712f1b3c3 100644 --- a/msgraph/generated/models/edge_search_engine.py +++ b/msgraph/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/generated/models/edge_search_engine_base.py b/msgraph/generated/models/edge_search_engine_base.py index 54af0d97d33..216e26baf7b 100644 --- a/msgraph/generated/models/edge_search_engine_base.py +++ b/msgraph/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/generated/models/edge_search_engine_custom.py b/msgraph/generated/models/edge_search_engine_custom.py index bd52ff06dee..08a0d50eb46 100644 --- a/msgraph/generated/models/edge_search_engine_custom.py +++ b/msgraph/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/generated/models/edition_upgrade_configuration.py b/msgraph/generated/models/edition_upgrade_configuration.py index 040a1114bb2..f119b4c9281 100644 --- a/msgraph/generated/models/edition_upgrade_configuration.py +++ b/msgraph/generated/models/edition_upgrade_configuration.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 .device_configuration import DeviceConfiguration + from .edition_upgrade_license_type import EditionUpgradeLicenseType + from .windows10_edition_type import Windows10EditionType + 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/generated/models/education_assignment.py b/msgraph/generated/models/education_assignment.py index 6af24c8d3bc..29fbf602629 100644 --- a/msgraph/generated/models/education_assignment.py +++ b/msgraph/generated/models/education_assignment.py @@ -169,6 +169,20 @@ 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_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/generated/models/education_assignment_class_recipient.py b/msgraph/generated/models/education_assignment_class_recipient.py index 6ac80348714..6a648bc5d3d 100644 --- a/msgraph/generated/models/education_assignment_class_recipient.py +++ b/msgraph/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/generated/models/education_assignment_collection_response.py b/msgraph/generated/models/education_assignment_collection_response.py index 6bfb5f1497b..ddb710a51b3 100644 --- a/msgraph/generated/models/education_assignment_collection_response.py +++ b/msgraph/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/generated/models/education_assignment_defaults.py b/msgraph/generated/models/education_assignment_defaults.py index 82cc8365d96..4728ad77874 100644 --- a/msgraph/generated/models/education_assignment_defaults.py +++ b/msgraph/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/generated/models/education_assignment_grade.py b/msgraph/generated/models/education_assignment_grade.py index fcbe9f6f304..2a74620344d 100644 --- a/msgraph/generated/models/education_assignment_grade.py +++ b/msgraph/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/generated/models/education_assignment_grade_type.py b/msgraph/generated/models/education_assignment_grade_type.py index fb00a026c7d..11c879c74c2 100644 --- a/msgraph/generated/models/education_assignment_grade_type.py +++ b/msgraph/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/generated/models/education_assignment_group_recipient.py b/msgraph/generated/models/education_assignment_group_recipient.py index d9a060750d1..38820fd4fee 100644 --- a/msgraph/generated/models/education_assignment_group_recipient.py +++ b/msgraph/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/generated/models/education_assignment_individual_recipient.py b/msgraph/generated/models/education_assignment_individual_recipient.py index 4c298f6739a..3c2b8325171 100644 --- a/msgraph/generated/models/education_assignment_individual_recipient.py +++ b/msgraph/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/generated/models/education_assignment_points_grade.py b/msgraph/generated/models/education_assignment_points_grade.py index 3bd3b40bf32..62a65c9b722 100644 --- a/msgraph/generated/models/education_assignment_points_grade.py +++ b/msgraph/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/generated/models/education_assignment_points_grade_type.py b/msgraph/generated/models/education_assignment_points_grade_type.py index 80fea55d90f..3f7c1cf03cb 100644 --- a/msgraph/generated/models/education_assignment_points_grade_type.py +++ b/msgraph/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/generated/models/education_assignment_recipient.py b/msgraph/generated/models/education_assignment_recipient.py index 1398f587fb8..4a22e94446c 100644 --- a/msgraph/generated/models/education_assignment_recipient.py +++ b/msgraph/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/generated/models/education_assignment_resource.py b/msgraph/generated/models/education_assignment_resource.py index e281e017be5..32725fa2f8b 100644 --- a/msgraph/generated/models/education_assignment_resource.py +++ b/msgraph/generated/models/education_assignment_resource.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_resource import EducationResource + from .entity import Entity + writer.write_bool_value("distributeForStudentWork", self.distribute_for_student_work) writer.write_object_value("resource", self.resource) diff --git a/msgraph/generated/models/education_assignment_resource_collection_response.py b/msgraph/generated/models/education_assignment_resource_collection_response.py index 610b4eb6ec6..8d957883062 100644 --- a/msgraph/generated/models/education_assignment_resource_collection_response.py +++ b/msgraph/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/generated/models/education_assignment_settings.py b/msgraph/generated/models/education_assignment_settings.py index d686559cb2d..13bb8f579a8 100644 --- a/msgraph/generated/models/education_assignment_settings.py +++ b/msgraph/generated/models/education_assignment_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 .education_grading_category import EducationGradingCategory + from .entity import Entity + writer.write_collection_of_object_values("gradingCategories", self.grading_categories) writer.write_bool_value("submissionAnimationDisabled", self.submission_animation_disabled) diff --git a/msgraph/generated/models/education_category.py b/msgraph/generated/models/education_category.py index 7927957c4ce..1c3af7ecdd3 100644 --- a/msgraph/generated/models/education_category.py +++ b/msgraph/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/generated/models/education_category_collection_response.py b/msgraph/generated/models/education_category_collection_response.py index 5ee82806ed9..8a3ab40d53a 100644 --- a/msgraph/generated/models/education_category_collection_response.py +++ b/msgraph/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/generated/models/education_channel_resource.py b/msgraph/generated/models/education_channel_resource.py index d0bc12b1501..a53a20aaf72 100644 --- a/msgraph/generated/models/education_channel_resource.py +++ b/msgraph/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/generated/models/education_class.py b/msgraph/generated/models/education_class.py index 57cb9e3ddf2..bbea32fd19e 100644 --- a/msgraph/generated/models/education_class.py +++ b/msgraph/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/generated/models/education_class_collection_response.py b/msgraph/generated/models/education_class_collection_response.py index 6978201bc79..124e5d874b8 100644 --- a/msgraph/generated/models/education_class_collection_response.py +++ b/msgraph/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/generated/models/education_excel_resource.py b/msgraph/generated/models/education_excel_resource.py index 2b68ad51c69..28b19b55b55 100644 --- a/msgraph/generated/models/education_excel_resource.py +++ b/msgraph/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/generated/models/education_external_resource.py b/msgraph/generated/models/education_external_resource.py index 81fc93e8122..77e14e7cfee 100644 --- a/msgraph/generated/models/education_external_resource.py +++ b/msgraph/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/generated/models/education_feedback.py b/msgraph/generated/models/education_feedback.py index 8bfb8c87c9b..c74af7bed95 100644 --- a/msgraph/generated/models/education_feedback.py +++ b/msgraph/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/generated/models/education_feedback_outcome.py b/msgraph/generated/models/education_feedback_outcome.py index 8d44e4d4060..045fada9a34 100644 --- a/msgraph/generated/models/education_feedback_outcome.py +++ b/msgraph/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/generated/models/education_feedback_resource_outcome.py b/msgraph/generated/models/education_feedback_resource_outcome.py index 12131d167da..b722262cc35 100644 --- a/msgraph/generated/models/education_feedback_resource_outcome.py +++ b/msgraph/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/generated/models/education_file_resource.py b/msgraph/generated/models/education_file_resource.py index ea40ff57099..47d1c4f49af 100644 --- a/msgraph/generated/models/education_file_resource.py +++ b/msgraph/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/generated/models/education_grading_category.py b/msgraph/generated/models/education_grading_category.py index bb053c0efc7..503db6b1195 100644 --- a/msgraph/generated/models/education_grading_category.py +++ b/msgraph/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/generated/models/education_grading_category_collection_response.py b/msgraph/generated/models/education_grading_category_collection_response.py index 1c8ad214b05..bc925b45048 100644 --- a/msgraph/generated/models/education_grading_category_collection_response.py +++ b/msgraph/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/generated/models/education_item_body.py b/msgraph/generated/models/education_item_body.py index 5bcd5449acf..b7ebd32a482 100644 --- a/msgraph/generated/models/education_item_body.py +++ b/msgraph/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/generated/models/education_link_resource.py b/msgraph/generated/models/education_link_resource.py index b20566d20af..de399480f20 100644 --- a/msgraph/generated/models/education_link_resource.py +++ b/msgraph/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/generated/models/education_linked_assignment_resource.py b/msgraph/generated/models/education_linked_assignment_resource.py index 9d81b545ddb..900d9cb22bd 100644 --- a/msgraph/generated/models/education_linked_assignment_resource.py +++ b/msgraph/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/generated/models/education_media_resource.py b/msgraph/generated/models/education_media_resource.py index da2ff032f7b..17f339efb8e 100644 --- a/msgraph/generated/models/education_media_resource.py +++ b/msgraph/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/generated/models/education_module.py b/msgraph/generated/models/education_module.py index 5a23896e963..1ba7426b74e 100644 --- a/msgraph/generated/models/education_module.py +++ b/msgraph/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/generated/models/education_module_collection_response.py b/msgraph/generated/models/education_module_collection_response.py index 91c85c0bdbd..4575dfb1b22 100644 --- a/msgraph/generated/models/education_module_collection_response.py +++ b/msgraph/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/generated/models/education_module_resource.py b/msgraph/generated/models/education_module_resource.py index 07e8e06c5e1..a5aa8a24713 100644 --- a/msgraph/generated/models/education_module_resource.py +++ b/msgraph/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/generated/models/education_module_resource_collection_response.py b/msgraph/generated/models/education_module_resource_collection_response.py index c9f91bd0ff8..bfc8ad4da45 100644 --- a/msgraph/generated/models/education_module_resource_collection_response.py +++ b/msgraph/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/generated/models/education_organization.py b/msgraph/generated/models/education_organization.py index 9eab1174fe2..ab49190a5d6 100644 --- a/msgraph/generated/models/education_organization.py +++ b/msgraph/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/generated/models/education_outcome.py b/msgraph/generated/models/education_outcome.py index 4f4c8f44190..3f17c25acaa 100644 --- a/msgraph/generated/models/education_outcome.py +++ b/msgraph/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/generated/models/education_outcome_collection_response.py b/msgraph/generated/models/education_outcome_collection_response.py index e70b8c0cb20..555edbe34c5 100644 --- a/msgraph/generated/models/education_outcome_collection_response.py +++ b/msgraph/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/generated/models/education_points_outcome.py b/msgraph/generated/models/education_points_outcome.py index 8f2828dc425..18e138dbab5 100644 --- a/msgraph/generated/models/education_points_outcome.py +++ b/msgraph/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/generated/models/education_power_point_resource.py b/msgraph/generated/models/education_power_point_resource.py index 94b7bf037fd..48a917d9d90 100644 --- a/msgraph/generated/models/education_power_point_resource.py +++ b/msgraph/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/generated/models/education_resource.py b/msgraph/generated/models/education_resource.py index d4f5b81b359..3042d587721 100644 --- a/msgraph/generated/models/education_resource.py +++ b/msgraph/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/generated/models/education_root.py b/msgraph/generated/models/education_root.py index fdab4af8b05..acf6ed9455b 100644 --- a/msgraph/generated/models/education_root.py +++ b/msgraph/generated/models/education_root.py @@ -68,6 +68,10 @@ 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_user import EducationUser + 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) diff --git a/msgraph/generated/models/education_rubric.py b/msgraph/generated/models/education_rubric.py index dd7fb13cda7..92e95731328 100644 --- a/msgraph/generated/models/education_rubric.py +++ b/msgraph/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/generated/models/education_rubric_collection_response.py b/msgraph/generated/models/education_rubric_collection_response.py index cbcd62b2aa2..dd694efe5df 100644 --- a/msgraph/generated/models/education_rubric_collection_response.py +++ b/msgraph/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/generated/models/education_rubric_outcome.py b/msgraph/generated/models/education_rubric_outcome.py index e8a23dfa3e9..50ba6899833 100644 --- a/msgraph/generated/models/education_rubric_outcome.py +++ b/msgraph/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/generated/models/education_school.py b/msgraph/generated/models/education_school.py index a67871192ce..55e46b2bb9a 100644 --- a/msgraph/generated/models/education_school.py +++ b/msgraph/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/generated/models/education_school_collection_response.py b/msgraph/generated/models/education_school_collection_response.py index 2f8e75733de..93567b31817 100644 --- a/msgraph/generated/models/education_school_collection_response.py +++ b/msgraph/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/generated/models/education_student.py b/msgraph/generated/models/education_student.py index 692dfc78687..1ef0c298695 100644 --- a/msgraph/generated/models/education_student.py +++ b/msgraph/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/generated/models/education_submission.py b/msgraph/generated/models/education_submission.py index 8541fd2ac4e..b2cd0b6c09e 100644 --- a/msgraph/generated/models/education_submission.py +++ b/msgraph/generated/models/education_submission.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 .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/generated/models/education_submission_collection_response.py b/msgraph/generated/models/education_submission_collection_response.py index d640eac3c2c..5b2bffec2c7 100644 --- a/msgraph/generated/models/education_submission_collection_response.py +++ b/msgraph/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/generated/models/education_submission_individual_recipient.py b/msgraph/generated/models/education_submission_individual_recipient.py index e11bc4fa9ad..b278e9e21db 100644 --- a/msgraph/generated/models/education_submission_individual_recipient.py +++ b/msgraph/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/generated/models/education_submission_recipient.py b/msgraph/generated/models/education_submission_recipient.py index 7be38c58286..d7b6840cecd 100644 --- a/msgraph/generated/models/education_submission_recipient.py +++ b/msgraph/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/generated/models/education_submission_resource.py b/msgraph/generated/models/education_submission_resource.py index 64b48d4c1d2..cb0b2eab578 100644 --- a/msgraph/generated/models/education_submission_resource.py +++ b/msgraph/generated/models/education_submission_resource.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_resource import EducationResource + from .entity import Entity + writer.write_str_value("assignmentResourceUrl", self.assignment_resource_url) writer.write_object_value("resource", self.resource) diff --git a/msgraph/generated/models/education_submission_resource_collection_response.py b/msgraph/generated/models/education_submission_resource_collection_response.py index d7b0978e657..b34fa2dfaf5 100644 --- a/msgraph/generated/models/education_submission_resource_collection_response.py +++ b/msgraph/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/generated/models/education_teams_app_resource.py b/msgraph/generated/models/education_teams_app_resource.py index 270a145382e..5b090aee71f 100644 --- a/msgraph/generated/models/education_teams_app_resource.py +++ b/msgraph/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/generated/models/education_user.py b/msgraph/generated/models/education_user.py index d88b7ba8fa8..5f13be18975 100644 --- a/msgraph/generated/models/education_user.py +++ b/msgraph/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/generated/models/education_user_collection_response.py b/msgraph/generated/models/education_user_collection_response.py index f6799c444f3..69c19effe2d 100644 --- a/msgraph/generated/models/education_user_collection_response.py +++ b/msgraph/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/generated/models/education_word_resource.py b/msgraph/generated/models/education_word_resource.py index 7c8754011be..c03c175c637 100644 --- a/msgraph/generated/models/education_word_resource.py +++ b/msgraph/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/generated/models/email_authentication_method.py b/msgraph/generated/models/email_authentication_method.py index f61b323ab5f..c45ae55e81a 100644 --- a/msgraph/generated/models/email_authentication_method.py +++ b/msgraph/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/generated/models/email_authentication_method_collection_response.py b/msgraph/generated/models/email_authentication_method_collection_response.py index bc9f64f9944..6807655d942 100644 --- a/msgraph/generated/models/email_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/email_authentication_method_configuration.py b/msgraph/generated/models/email_authentication_method_configuration.py index cc0995b14f0..b1831981d49 100644 --- a/msgraph/generated/models/email_authentication_method_configuration.py +++ b/msgraph/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/generated/models/email_file_assessment_request.py b/msgraph/generated/models/email_file_assessment_request.py index e17617653b8..f06639dbad6 100644 --- a/msgraph/generated/models/email_file_assessment_request.py +++ b/msgraph/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/generated/models/email_identity.py b/msgraph/generated/models/email_identity.py index d97f5ff4ddf..e008a6d1c0b 100644 --- a/msgraph/generated/models/email_identity.py +++ b/msgraph/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/generated/models/email_payload_detail.py b/msgraph/generated/models/email_payload_detail.py index 5e362099275..5fa144b07b3 100644 --- a/msgraph/generated/models/email_payload_detail.py +++ b/msgraph/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/generated/models/employee_experience.py b/msgraph/generated/models/employee_experience.py index 4acb1a13ca5..77b7889fd6c 100644 --- a/msgraph/generated/models/employee_experience.py +++ b/msgraph/generated/models/employee_experience.py @@ -74,6 +74,11 @@ 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 .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_collection_of_object_values("learningCourseActivities", self.learning_course_activities) diff --git a/msgraph/generated/models/employee_experience_user.py b/msgraph/generated/models/employee_experience_user.py index 43d57c71dba..2a34e6d5523 100644 --- a/msgraph/generated/models/employee_experience_user.py +++ b/msgraph/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/generated/models/end_user_notification.py b/msgraph/generated/models/end_user_notification.py index 01bf6dc1bfe..e74bd1e0655 100644 --- a/msgraph/generated/models/end_user_notification.py +++ b/msgraph/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/generated/models/end_user_notification_collection_response.py b/msgraph/generated/models/end_user_notification_collection_response.py index d7b231d3f1d..4aa05632907 100644 --- a/msgraph/generated/models/end_user_notification_collection_response.py +++ b/msgraph/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/generated/models/end_user_notification_detail.py b/msgraph/generated/models/end_user_notification_detail.py index eba0d92c45e..523c0ce2629 100644 --- a/msgraph/generated/models/end_user_notification_detail.py +++ b/msgraph/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/generated/models/end_user_notification_detail_collection_response.py b/msgraph/generated/models/end_user_notification_detail_collection_response.py index 6f4be18266b..a272c5a4f2e 100644 --- a/msgraph/generated/models/end_user_notification_detail_collection_response.py +++ b/msgraph/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/generated/models/end_user_notification_setting.py b/msgraph/generated/models/end_user_notification_setting.py index 5be968b10ba..d3a914c1260 100644 --- a/msgraph/generated/models/end_user_notification_setting.py +++ b/msgraph/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/generated/models/endpoint.py b/msgraph/generated/models/endpoint.py index 414902f49ce..395ca906f35 100644 --- a/msgraph/generated/models/endpoint.py +++ b/msgraph/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/generated/models/endpoint_collection_response.py b/msgraph/generated/models/endpoint_collection_response.py index de01a058837..991f42925fc 100644 --- a/msgraph/generated/models/endpoint_collection_response.py +++ b/msgraph/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/generated/models/engagement_async_operation.py b/msgraph/generated/models/engagement_async_operation.py index 7ca6c90057d..7943812aa1a 100644 --- a/msgraph/generated/models/engagement_async_operation.py +++ b/msgraph/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/generated/models/engagement_async_operation_collection_response.py b/msgraph/generated/models/engagement_async_operation_collection_response.py index cc54d109b36..85d2d79b30d 100644 --- a/msgraph/generated/models/engagement_async_operation_collection_response.py +++ b/msgraph/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/generated/models/enrollment_configuration_assignment.py b/msgraph/generated/models/enrollment_configuration_assignment.py index 72be3df2b19..2b8125fb055 100644 --- a/msgraph/generated/models/enrollment_configuration_assignment.py +++ b/msgraph/generated/models/enrollment_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/generated/models/enrollment_configuration_assignment_collection_response.py b/msgraph/generated/models/enrollment_configuration_assignment_collection_response.py index d48ceef0cd1..7e505e34738 100644 --- a/msgraph/generated/models/enrollment_configuration_assignment_collection_response.py +++ b/msgraph/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/generated/models/enrollment_troubleshooting_event.py b/msgraph/generated/models/enrollment_troubleshooting_event.py index 1cc76f9d540..b1ba93de936 100644 --- a/msgraph/generated/models/enrollment_troubleshooting_event.py +++ b/msgraph/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/generated/models/enterprise_code_signing_certificate.py b/msgraph/generated/models/enterprise_code_signing_certificate.py index ec66fb6d9b3..b7907515fc5 100644 --- a/msgraph/generated/models/enterprise_code_signing_certificate.py +++ b/msgraph/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/generated/models/entitlement_management.py b/msgraph/generated/models/entitlement_management.py index 2577d119734..70b09c434a2 100644 --- a/msgraph/generated/models/entitlement_management.py +++ b/msgraph/generated/models/entitlement_management.py @@ -120,6 +120,20 @@ 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_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 .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("accessPackages", self.access_packages) writer.write_collection_of_object_values("assignmentPolicies", self.assignment_policies) diff --git a/msgraph/generated/models/entitlement_management_schedule.py b/msgraph/generated/models/entitlement_management_schedule.py index 0ac9dc69e75..86852dec73d 100644 --- a/msgraph/generated/models/entitlement_management_schedule.py +++ b/msgraph/generated/models/entitlement_management_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/generated/models/entitlement_management_settings.py b/msgraph/generated/models/entitlement_management_settings.py index eb1af8741af..bf7635b65d6 100644 --- a/msgraph/generated/models/entitlement_management_settings.py +++ b/msgraph/generated/models/entitlement_management_settings.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_package_external_user_lifecycle_action import AccessPackageExternalUserLifecycleAction + from .entity import Entity + writer.write_timedelta_value("durationUntilExternalUserDeletedAfterBlocked", self.duration_until_external_user_deleted_after_blocked) writer.write_enum_value("externalUserLifecycleAction", self.external_user_lifecycle_action) diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index 70e34a0bdc7..9c08e4ae5a3 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -986,7 +986,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(): @@ -6770,6 +6771,965 @@ 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_workflow_extension import AccessPackageAssignmentWorkflowExtension + from .access_package_catalog import AccessPackageCatalog + from .access_package_multiple_choice_question import AccessPackageMultipleChoiceQuestion + from .access_package_question import AccessPackageQuestion + 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_package_text_input_question import AccessPackageTextInputQuestion + 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_reviewer import AccessReviewReviewer + from .access_review_schedule_definition import AccessReviewScheduleDefinition + from .access_review_set import AccessReviewSet + from .access_review_stage import AccessReviewStage + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .activity_history_item import ActivityHistoryItem + from .add_large_gallery_view_operation import AddLargeGalleryViewOperation + from .administrative_unit import AdministrativeUnit + from .admin_consent_request_policy import AdminConsentRequestPolicy + from .admin_microsoft365_apps import AdminMicrosoft365Apps + from .admin_report_settings import AdminReportSettings + 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_value import AllowedValue + from .android_compliance_policy import AndroidCompliancePolicy + from .android_custom_configuration import AndroidCustomConfiguration + from .android_general_device_configuration import AndroidGeneralDeviceConfiguration + from .android_lob_app import AndroidLobApp + from .android_managed_app_protection import AndroidManagedAppProtection + from .android_managed_app_registration import AndroidManagedAppRegistration + from .android_store_app import AndroidStoreApp + from .android_work_profile_compliance_policy import AndroidWorkProfileCompliancePolicy + from .android_work_profile_custom_configuration import AndroidWorkProfileCustomConfiguration + from .android_work_profile_general_device_configuration import AndroidWorkProfileGeneralDeviceConfiguration + from .anonymous_guest_conversation_member import AnonymousGuestConversationMember + from .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .apple_managed_identity_provider import AppleManagedIdentityProvider + from .apple_push_notification_certificate import ApplePushNotificationCertificate + from .application import Application + from .application_template import ApplicationTemplate + from .approval import Approval + from .approval_stage import ApprovalStage + from .app_catalogs import AppCatalogs + from .app_consent_approval_route import AppConsentApprovalRoute + from .app_consent_request import AppConsentRequest + 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 .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 .audit_log_root import AuditLogRoot + from .authentication import Authentication + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + from .authentication_context_class_reference import AuthenticationContextClassReference + from .authentication_events_flow import AuthenticationEventsFlow + from .authentication_event_listener import AuthenticationEventListener + from .authentication_flows_policy import AuthenticationFlowsPolicy + 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 .azure_communication_services_user_conversation_member import AzureCommunicationServicesUserConversationMember + 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_customer_base import BookingCustomerBase + from .booking_custom_question import BookingCustomQuestion + from .booking_service import BookingService + from .booking_staff_member import BookingStaffMember + from .booking_staff_member_base import BookingStaffMemberBase + 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 .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_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 .certificate_based_auth_configuration import CertificateBasedAuthConfiguration + from .change_tracked_entity import ChangeTrackedEntity + from .channel import Channel + from .chat import Chat + from .chat_message import ChatMessage + from .chat_message_hosted_content import ChatMessageHostedContent + from .chat_message_info import ChatMessageInfo + from .checklist_item import ChecklistItem + from .claims_mapping_policy import ClaimsMappingPolicy + from .cloud_clipboard_item import CloudClipboardItem + from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_pc_audit_event import CloudPcAuditEvent + from .cloud_pc_device_image import CloudPcDeviceImage + from .cloud_pc_gallery_image import CloudPcGalleryImage + from .cloud_pc_on_premises_connection import CloudPcOnPremisesConnection + from .cloud_pc_provisioning_policy import CloudPcProvisioningPolicy + from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_user_setting import CloudPcUserSetting + from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment + from .cloud_p_c import CloudPC + from .column_definition import ColumnDefinition + from .column_link import ColumnLink + from .comms_operation import CommsOperation + from .community import Community + from .company_subscription import CompanySubscription + from .compliance_management_partner import ComplianceManagementPartner + from .conditional_access_policy import ConditionalAccessPolicy + from .conditional_access_root import ConditionalAccessRoot + from .conditional_access_template import ConditionalAccessTemplate + from .connected_organization import ConnectedOrganization + from .contact import Contact + from .contact_folder import ContactFolder + from .content_sharing_session import ContentSharingSession + from .content_type import ContentType + from .contract import Contract + from .conversation import Conversation + from .conversation_member import ConversationMember + from .conversation_thread import ConversationThread + from .country_named_location import CountryNamedLocation + from .cross_tenant_access_policy import CrossTenantAccessPolicy + from .cross_tenant_access_policy_configuration_default import CrossTenantAccessPolicyConfigurationDefault + from .custom_authentication_extension import CustomAuthenticationExtension + from .custom_callout_extension import CustomCalloutExtension + from .custom_extension_stage_setting import CustomExtensionStageSetting + from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + from .data_policy_operation import DataPolicyOperation + from .default_managed_app_protection import DefaultManagedAppProtection + 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 .detected_app import DetectedApp + from .device import Device + 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_category import DeviceCategory + 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_setting_state_summary import DeviceCompliancePolicySettingStateSummary + from .device_compliance_policy_state import DeviceCompliancePolicyState + from .device_compliance_scheduled_action_for_rule import DeviceComplianceScheduledActionForRule + 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_device_overview import DeviceConfigurationDeviceOverview + from .device_configuration_device_state_summary import DeviceConfigurationDeviceStateSummary + from .device_configuration_device_status import DeviceConfigurationDeviceStatus + from .device_configuration_state import DeviceConfigurationState + from .device_configuration_user_overview import DeviceConfigurationUserOverview + from .device_configuration_user_status import DeviceConfigurationUserStatus + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_enrollment_limit_configuration import DeviceEnrollmentLimitConfiguration + from .device_enrollment_platform_restrictions_configuration import DeviceEnrollmentPlatformRestrictionsConfiguration + from .device_enrollment_windows_hello_for_business_configuration import DeviceEnrollmentWindowsHelloForBusinessConfiguration + from .device_install_state import DeviceInstallState + from .device_local_credential_info import DeviceLocalCredentialInfo + from .device_log_collection_response import DeviceLogCollectionResponse + from .device_management import DeviceManagement + from .device_management_cached_report_configuration import DeviceManagementCachedReportConfiguration + from .device_management_exchange_connector import DeviceManagementExchangeConnector + from .device_management_export_job import DeviceManagementExportJob + from .device_management_partner import DeviceManagementPartner + from .device_management_reports import DeviceManagementReports + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + from .device_registration_policy import DeviceRegistrationPolicy + 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_template import DirectoryRoleTemplate + 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 .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_restore_artifact import DriveRestoreArtifact + from .edge import Edge + from .edition_upgrade_configuration import EditionUpgradeConfiguration + 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_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_user import EducationUser + from .email_authentication_method import EmailAuthenticationMethod + from .email_authentication_method_configuration import EmailAuthenticationMethodConfiguration + from .email_file_assessment_request import EmailFileAssessmentRequest + from .employee_experience_user import EmployeeExperienceUser + from .endpoint import Endpoint + 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_troubleshooting_event import EnrollmentTroubleshootingEvent + from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate + from .entitlement_management import EntitlementManagement + from .entitlement_management_settings import EntitlementManagementSettings + from .event import Event + from .event_message import EventMessage + from .event_message_request import EventMessageRequest + from .event_message_response import EventMessageResponse + from .exchange_protection_policy import ExchangeProtectionPolicy + from .exchange_restore_session import ExchangeRestoreSession + from .extension import Extension + from .extension_property import ExtensionProperty + from .external_connectors.connection_operation import ConnectionOperation + 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_users_self_service_sign_up_events_flow import ExternalUsersSelfServiceSignUpEventsFlow + from .e_book_install_summary import EBookInstallSummary + from .feature_rollout_policy import FeatureRolloutPolicy + from .federated_identity_credential import FederatedIdentityCredential + 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_storage import FileStorage + from .file_storage_container import FileStorageContainer + from .filter_operator_schema import FilterOperatorSchema + from .governance_insight import GovernanceInsight + from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + from .group import Group + from .group_lifecycle_policy import GroupLifecyclePolicy + from .group_setting import GroupSetting + from .group_setting_template import GroupSettingTemplate + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .horizontal_section import HorizontalSection + from .horizontal_section_column import HorizontalSectionColumn + from .identity_api_connector import IdentityApiConnector + from .identity_built_in_user_flow_attribute import IdentityBuiltInUserFlowAttribute + from .identity_container import IdentityContainer + from .identity_custom_user_flow_attribute import IdentityCustomUserFlowAttribute + 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 .imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + from .imported_windows_autopilot_device_identity_upload import ImportedWindowsAutopilotDeviceIdentityUpload + from .inference_classification import InferenceClassification + from .inference_classification_override import InferenceClassificationOverride + from .insights_settings import InsightsSettings + from .internal_domain_federation import InternalDomainFederation + from .internet_explorer_mode import InternetExplorerMode + from .invitation import Invitation + from .invite_participants_operation import InviteParticipantsOperation + from .iosi_pad_o_s_web_clip import IosiPadOSWebClip + from .ios_certificate_profile import IosCertificateProfile + from .ios_compliance_policy import IosCompliancePolicy + from .ios_custom_configuration import IosCustomConfiguration + from .ios_device_features_configuration import IosDeviceFeaturesConfiguration + from .ios_general_device_configuration import IosGeneralDeviceConfiguration + from .ios_lob_app import IosLobApp + from .ios_lob_app_provisioning_configuration_assignment import IosLobAppProvisioningConfigurationAssignment + from .ios_managed_app_protection import IosManagedAppProtection + from .ios_managed_app_registration import IosManagedAppRegistration + from .ios_mobile_app_configuration import IosMobileAppConfiguration + from .ios_store_app import IosStoreApp + from .ios_update_configuration import IosUpdateConfiguration + from .ios_update_device_status import IosUpdateDeviceStatus + from .ios_vpp_app import IosVppApp + from .ios_vpp_e_book import IosVppEBook + from .ios_vpp_e_book_assignment import IosVppEBookAssignment + from .ip_named_location import IpNamedLocation + from .item_activity import ItemActivity + from .item_activity_stat import ItemActivityStat + from .item_analytics import ItemAnalytics + from .item_attachment import ItemAttachment + from .item_insights import ItemInsights + from .item_retention_label import ItemRetentionLabel + from .landing_page import LandingPage + from .landing_page_detail import LandingPageDetail + 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 .m365_apps_installation_options import M365AppsInstallationOptions + from .mac_o_s_compliance_policy import MacOSCompliancePolicy + 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_general_device_configuration import MacOSGeneralDeviceConfiguration + 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 .mailbox_protection_rule import MailboxProtectionRule + from .mailbox_protection_unit import MailboxProtectionUnit + from .mailbox_restore_artifact import MailboxRestoreArtifact + 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_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_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_registration import ManagedAppRegistration + from .managed_app_status import ManagedAppStatus + from .managed_app_status_raw import ManagedAppStatusRaw + from .managed_device import ManagedDevice + 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_user_status import ManagedDeviceMobileAppConfigurationUserStatus + from .managed_device_mobile_app_configuration_user_summary import ManagedDeviceMobileAppConfigurationUserSummary + from .managed_device_overview import ManagedDeviceOverview + from .managed_e_book import ManagedEBook + from .managed_e_book_assignment import ManagedEBookAssignment + 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 .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + from .meeting_attendance_report import MeetingAttendanceReport + from .membership_outlier_insight import MembershipOutlierInsight + from .message import Message + from .message_rule import MessageRule + from .microsoft_account_user_conversation_member import MicrosoftAccountUserConversationMember + 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 .mobile_app import MobileApp + from .mobile_app_assignment import MobileAppAssignment + from .mobile_app_category import MobileAppCategory + from .mobile_app_content import MobileAppContent + from .mobile_app_content_file import MobileAppContentFile + 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 .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_participant_operation import MuteParticipantOperation + from .named_location import NamedLocation + from .notebook import Notebook + from .notification_message_template import NotificationMessageTemplate + from .offer_shift_request import OfferShiftRequest + from .office_graph_insights import OfficeGraphInsights + 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_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener + from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener + from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings + from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization + 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_shift import OpenShift + from .open_shift_change_request import OpenShiftChangeRequest + from .open_type_extension import OpenTypeExtension + from .operation import Operation + from .organization import Organization + from .organizational_branding import OrganizationalBranding + from .organizational_branding_localization import OrganizationalBrandingLocalization + from .organizational_branding_properties import OrganizationalBrandingProperties + from .org_contact import OrgContact + from .outlook_category import OutlookCategory + from .outlook_item import OutlookItem + from .outlook_user import OutlookUser + from .o_auth2_permission_grant import OAuth2PermissionGrant + from .participant import Participant + from .participant_joining_notification import ParticipantJoiningNotification + from .participant_left_notification import ParticipantLeftNotification + 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 .password_authentication_method import PasswordAuthenticationMethod + from .payload import Payload + from .people_admin_settings import PeopleAdminSettings + from .permission import Permission + from .permission_grant_condition_set import PermissionGrantConditionSet + from .permission_grant_policy import PermissionGrantPolicy + from .person import Person + 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_group import PlannerGroup + 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 + from .play_prompt_operation import PlayPromptOperation + from .policy_base import PolicyBase + from .policy_root import PolicyRoot + from .policy_template import PolicyTemplate + from .post import Post + from .presence import Presence + 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_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 .profile_card_property import ProfileCardProperty + from .profile_photo import ProfilePhoto + from .pronouns_settings import PronounsSettings + from .protection_policy_base import ProtectionPolicyBase + from .protection_rule_base import ProtectionRuleBase + from .protection_unit_base import ProtectionUnitBase + from .provisioning_object_summary import ProvisioningObjectSummary + from .rbac_application import RbacApplication + from .record_operation import RecordOperation + from .reference_attachment import ReferenceAttachment + from .relying_party_detailed_summary import RelyingPartyDetailedSummary + from .remote_assistance_partner import RemoteAssistancePartner + from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + 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_artifact_base import RestoreArtifactBase + from .restore_point import RestorePoint + from .restore_session_base import RestoreSessionBase + 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 .role_assignment import RoleAssignment + from .role_definition import RoleDefinition + from .room import Room + from .room_list import RoomList + from .saml_or_ws_fed_external_domain_federation import SamlOrWsFedExternalDomainFederation + from .saml_or_ws_fed_provider import SamlOrWsFedProvider + from .schedule import Schedule + from .schedule_change_request import ScheduleChangeRequest + from .scheduling_group import SchedulingGroup + 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 .section_group import SectionGroup + from .secure_score import SecureScore + from .secure_score_control_profile import SecureScoreControlProfile + from .security.alert import Alert + from .security.article import Article + from .security.article_indicator import ArticleIndicator + from .security.artifact import Artifact + 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.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.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_hold_operation import EdiscoveryHoldOperation + 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.file_plan_descriptor import FilePlanDescriptor + from .security.file_plan_descriptor_template import FilePlanDescriptorTemplate + from .security.file_plan_reference_template import FilePlanReferenceTemplate + from .security.health_issue import HealthIssue + from .security.host import Host + from .security.hostname import Hostname + from .security.host_component import HostComponent + 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.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.passive_dns_record import PassiveDnsRecord + from .security.retention_event import RetentionEvent + from .security.retention_event_type import RetentionEventType + from .security.retention_label import RetentionLabel + from .security.search import Search + from .security.security import Security + 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.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.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_reports_root import SecurityReportsRoot + from .send_dtmf_tones_operation import SendDtmfTonesOperation + 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_principal import ServicePrincipal + from .service_principal_risk_detection import ServicePrincipalRiskDetection + 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_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 .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_restore_artifact import SiteRestoreArtifact + 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 .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 .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 .swap_shifts_change_request import SwapShiftsChangeRequest + 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_policy_assignment import TargetedManagedAppPolicyAssignment + from .targeted_managed_app_protection import TargetedManagedAppProtection + from .target_device_group import TargetDeviceGroup + from .task_file_attachment import TaskFileAttachment + from .team import Team + from .teams_app import TeamsApp + from .teams_app_definition import TeamsAppDefinition + 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_hosted_content import TeamworkHostedContent + from .teamwork_tag import TeamworkTag + from .teamwork_tag_member import TeamworkTagMember + from .team_info import TeamInfo + 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 .terms_and_conditions import TermsAndConditions + from .terms_and_conditions_acceptance_status import TermsAndConditionsAcceptanceStatus + from .terms_and_conditions_assignment import TermsAndConditionsAssignment + 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_web_part import TextWebPart + from .threat_assessment_request import ThreatAssessmentRequest + from .threat_assessment_result import ThreatAssessmentResult + from .thumbnail_set import ThumbnailSet + from .time_off import TimeOff + from .time_off_reason import TimeOffReason + from .time_off_request import TimeOffRequest + 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 .training import Training + from .training_language_detail import TrainingLanguageDetail + from .trending import Trending + from .unified_rbac_resource_action import UnifiedRbacResourceAction + 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 + 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 .unmute_participant_operation import UnmuteParticipantOperation + from .update_recording_status_operation import UpdateRecordingStatusOperation + from .url_assessment_request import UrlAssessmentRequest + from .used_insight import UsedInsight + from .user import User + from .user_activity import UserActivity + from .user_consent_request import UserConsentRequest + from .user_experience_analytics_app_health_application_performance import UserExperienceAnalyticsAppHealthApplicationPerformance + 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_category import UserExperienceAnalyticsCategory + from .user_experience_analytics_device_performance import UserExperienceAnalyticsDevicePerformance + 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_metric import UserExperienceAnalyticsMetric + from .user_experience_analytics_metric_history import UserExperienceAnalyticsMetricHistory + from .user_experience_analytics_model_scores import UserExperienceAnalyticsModelScores + from .user_experience_analytics_overview import UserExperienceAnalyticsOverview + 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_settings import UserInsightsSettings + from .user_install_state_summary import UserInstallStateSummary + from .user_registration_details import UserRegistrationDetails + from .user_scope_teams_app_installation import UserScopeTeamsAppInstallation + from .user_settings import UserSettings + from .user_sign_in_insight import UserSignInInsight + from .user_solution_root import UserSolutionRoot + from .user_storage import UserStorage + from .user_teamwork import UserTeamwork + from .vertical_section import VerticalSection + 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 .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration + from .vpp_token import VppToken + from .web_app import WebApp + from .web_part import WebPart + from .win32_lob_app import Win32LobApp + from .windows10_compliance_policy import Windows10CompliancePolicy + from .windows10_custom_configuration import Windows10CustomConfiguration + from .windows10_endpoint_protection_configuration import Windows10EndpointProtectionConfiguration + from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration + from .windows10_enterprise_modern_app_management_configuration import Windows10EnterpriseModernAppManagementConfiguration + from .windows10_general_configuration import Windows10GeneralConfiguration + from .windows10_mobile_compliance_policy import Windows10MobileCompliancePolicy + from .windows10_secure_assessment_configuration import Windows10SecureAssessmentConfiguration + from .windows10_team_general_configuration import Windows10TeamGeneralConfiguration + from .windows81_compliance_policy import Windows81CompliancePolicy + from .windows81_general_configuration import Windows81GeneralConfiguration + from .windows_app_x import WindowsAppX + from .windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + from .windows_autopilot_deployment_profile_assignment import WindowsAutopilotDeploymentProfileAssignment + from .windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + from .windows_defender_advanced_threat_protection_configuration import WindowsDefenderAdvancedThreatProtectionConfiguration + from .windows_device_malware_state import WindowsDeviceMalwareState + from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod + 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_network_learning_summary import WindowsInformationProtectionNetworkLearningSummary + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + from .windows_malware_information import WindowsMalwareInformation + from .windows_microsoft_edge_app import WindowsMicrosoftEdgeApp + from .windows_mobile_m_s_i import WindowsMobileMSI + from .windows_phone81_compliance_policy import WindowsPhone81CompliancePolicy + from .windows_phone81_custom_configuration import WindowsPhone81CustomConfiguration + from .windows_phone81_general_configuration import WindowsPhone81GeneralConfiguration + from .windows_protection_state import WindowsProtectionState + from .windows_setting import WindowsSetting + from .windows_setting_instance import WindowsSettingInstance + from .windows_universal_app_x import WindowsUniversalAppX + from .windows_universal_app_x_contained_app import WindowsUniversalAppXContainedApp + from .windows_update_for_business_configuration import WindowsUpdateForBusinessConfiguration + from .windows_web_app import WindowsWebApp + 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_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 .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration + 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/generated/models/enumerated_device_registration_membership.py b/msgraph/generated/models/enumerated_device_registration_membership.py index 96c8b442374..27cba12c8f2 100644 --- a/msgraph/generated/models/enumerated_device_registration_membership.py +++ b/msgraph/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/generated/models/event.py b/msgraph/generated/models/event.py index 4fc3ff1a0da..7245caf6503 100644 --- a/msgraph/generated/models/event.py +++ b/msgraph/generated/models/event.py @@ -229,6 +229,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/generated/models/event_collection_response.py b/msgraph/generated/models/event_collection_response.py index f92eeff4482..40f3bac402b 100644 --- a/msgraph/generated/models/event_collection_response.py +++ b/msgraph/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/generated/models/event_message.py b/msgraph/generated/models/event_message.py index edcace63599..4a51375d3d2 100644 --- a/msgraph/generated/models/event_message.py +++ b/msgraph/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/generated/models/event_message_detail.py b/msgraph/generated/models/event_message_detail.py index 4164688d0a8..3bf8eab513a 100644 --- a/msgraph/generated/models/event_message_detail.py +++ b/msgraph/generated/models/event_message_detail.py @@ -56,7 +56,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(): @@ -261,6 +262,37 @@ 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_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/generated/models/event_message_request.py b/msgraph/generated/models/event_message_request.py index 2a7e37b6559..e8c0c244e9e 100644 --- a/msgraph/generated/models/event_message_request.py +++ b/msgraph/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/generated/models/event_message_response.py b/msgraph/generated/models/event_message_response.py index 19b5a033c44..b6a55b22e1a 100644 --- a/msgraph/generated/models/event_message_response.py +++ b/msgraph/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/generated/models/exchange_protection_policy.py b/msgraph/generated/models/exchange_protection_policy.py index 0f958c017e3..39d76f7a674 100644 --- a/msgraph/generated/models/exchange_protection_policy.py +++ b/msgraph/generated/models/exchange_protection_policy.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 .mailbox_protection_rule import MailboxProtectionRule + from .mailbox_protection_unit import MailboxProtectionUnit + 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) diff --git a/msgraph/generated/models/exchange_protection_policy_collection_response.py b/msgraph/generated/models/exchange_protection_policy_collection_response.py index 865ecb3d032..918da24128a 100644 --- a/msgraph/generated/models/exchange_protection_policy_collection_response.py +++ b/msgraph/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/generated/models/exchange_restore_session.py b/msgraph/generated/models/exchange_restore_session.py index f99084d8200..8a1ae259a3a 100644 --- a/msgraph/generated/models/exchange_restore_session.py +++ b/msgraph/generated/models/exchange_restore_session.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 .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + from .mailbox_restore_artifact import MailboxRestoreArtifact + 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) diff --git a/msgraph/generated/models/exchange_restore_session_collection_response.py b/msgraph/generated/models/exchange_restore_session_collection_response.py index d14cf06d774..a448acc2896 100644 --- a/msgraph/generated/models/exchange_restore_session_collection_response.py +++ b/msgraph/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/generated/models/exclude_target.py b/msgraph/generated/models/exclude_target.py index 254eb33dab5..1fe5f8f5c17 100644 --- a/msgraph/generated/models/exclude_target.py +++ b/msgraph/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/generated/models/exclusion_group_assignment_target.py b/msgraph/generated/models/exclusion_group_assignment_target.py index 6dd51bb20c0..e44780bc800 100644 --- a/msgraph/generated/models/exclusion_group_assignment_target.py +++ b/msgraph/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/generated/models/expiration_pattern.py b/msgraph/generated/models/expiration_pattern.py index 0b21ccbc7bf..6d7ce427924 100644 --- a/msgraph/generated/models/expiration_pattern.py +++ b/msgraph/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/generated/models/expression_input_object.py b/msgraph/generated/models/expression_input_object.py index 7f284bbd1e8..1569fc19df7 100644 --- a/msgraph/generated/models/expression_input_object.py +++ b/msgraph/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/generated/models/extension.py b/msgraph/generated/models/extension.py index e74808884ab..6ed84f47453 100644 --- a/msgraph/generated/models/extension.py +++ b/msgraph/generated/models/extension.py @@ -24,7 +24,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(): @@ -59,5 +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 + from .open_type_extension import OpenTypeExtension + diff --git a/msgraph/generated/models/extension_collection_response.py b/msgraph/generated/models/extension_collection_response.py index 5ca5478d76f..acf26857ff5 100644 --- a/msgraph/generated/models/extension_collection_response.py +++ b/msgraph/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/generated/models/extension_property.py b/msgraph/generated/models/extension_property.py index ca8fd4cf473..91c1a057714 100644 --- a/msgraph/generated/models/extension_property.py +++ b/msgraph/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/generated/models/extension_property_collection_response.py b/msgraph/generated/models/extension_property_collection_response.py index 61326a88971..da5bc5496dc 100644 --- a/msgraph/generated/models/extension_property_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/acl.py b/msgraph/generated/models/external_connectors/acl.py index fddf7da1944..d8eae8fbafe 100644 --- a/msgraph/generated/models/external_connectors/acl.py +++ b/msgraph/generated/models/external_connectors/acl.py @@ -62,6 +62,9 @@ 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 + writer.write_enum_value("accessType", self.access_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) diff --git a/msgraph/generated/models/external_connectors/activity_settings.py b/msgraph/generated/models/external_connectors/activity_settings.py index 3ace9fef435..44901f5b86a 100644 --- a/msgraph/generated/models/external_connectors/activity_settings.py +++ b/msgraph/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/generated/models/external_connectors/connection_operation.py b/msgraph/generated/models/external_connectors/connection_operation.py index 818a2cbba72..e7e620cdf4c 100644 --- a/msgraph/generated/models/external_connectors/connection_operation.py +++ b/msgraph/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/generated/models/external_connectors/connection_operation_collection_response.py b/msgraph/generated/models/external_connectors/connection_operation_collection_response.py index 63683265c87..7d195c838f1 100644 --- a/msgraph/generated/models/external_connectors/connection_operation_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/display_template.py b/msgraph/generated/models/external_connectors/display_template.py index 0e1951efb79..a6e9ad9b12d 100644 --- a/msgraph/generated/models/external_connectors/display_template.py +++ b/msgraph/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/generated/models/external_connectors/external.py b/msgraph/generated/models/external_connectors/external.py index 3e15b8b230a..0698783265c 100644 --- a/msgraph/generated/models/external_connectors/external.py +++ b/msgraph/generated/models/external_connectors/external.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_connection import ExternalConnection + writer.write_collection_of_object_values("connections", self.connections) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/external_connectors/external_activity.py b/msgraph/generated/models/external_connectors/external_activity.py index cf3dee82d79..e8a97790172 100644 --- a/msgraph/generated/models/external_connectors/external_activity.py +++ b/msgraph/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/generated/models/external_connectors/external_activity_collection_response.py b/msgraph/generated/models/external_connectors/external_activity_collection_response.py index 2d34bfe45e2..05403d6cdc0 100644 --- a/msgraph/generated/models/external_connectors/external_activity_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/external_activity_result.py b/msgraph/generated/models/external_connectors/external_activity_result.py index 84089ea34c2..555495e7607 100644 --- a/msgraph/generated/models/external_connectors/external_activity_result.py +++ b/msgraph/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/generated/models/external_connectors/external_connection.py b/msgraph/generated/models/external_connectors/external_connection.py index b2814bfb559..67910308352 100644 --- a/msgraph/generated/models/external_connectors/external_connection.py +++ b/msgraph/generated/models/external_connectors/external_connection.py @@ -105,6 +105,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 .activity_settings import ActivitySettings + from .configuration import Configuration + from .connection_operation import ConnectionOperation + from .connection_state import ConnectionState + 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("configuration", self.configuration) writer.write_str_value("connectorId", self.connector_id) diff --git a/msgraph/generated/models/external_connectors/external_connection_collection_response.py b/msgraph/generated/models/external_connectors/external_connection_collection_response.py index abbb7827303..9f3da3f59d1 100644 --- a/msgraph/generated/models/external_connectors/external_connection_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/external_group.py b/msgraph/generated/models/external_connectors/external_group.py index 52e154d48d6..9cf265d1e26 100644 --- a/msgraph/generated/models/external_connectors/external_group.py +++ b/msgraph/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/generated/models/external_connectors/external_group_collection_response.py b/msgraph/generated/models/external_connectors/external_group_collection_response.py index 5c672261b98..8b9f1b108a5 100644 --- a/msgraph/generated/models/external_connectors/external_group_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/external_item.py b/msgraph/generated/models/external_connectors/external_item.py index 24441faa83d..5f837e4325d 100644 --- a/msgraph/generated/models/external_connectors/external_item.py +++ b/msgraph/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/generated/models/external_connectors/external_item_collection_response.py b/msgraph/generated/models/external_connectors/external_item_collection_response.py index 656f88ddc3d..4e1a0d43ffb 100644 --- a/msgraph/generated/models/external_connectors/external_item_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/external_item_content.py b/msgraph/generated/models/external_connectors/external_item_content.py index 683f1de7c8a..5a404843beb 100644 --- a/msgraph/generated/models/external_connectors/external_item_content.py +++ b/msgraph/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/generated/models/external_connectors/identity.py b/msgraph/generated/models/external_connectors/identity.py index 7bb29f28c3d..5b60ac214d8 100644 --- a/msgraph/generated/models/external_connectors/identity.py +++ b/msgraph/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/generated/models/external_connectors/identity_collection_response.py b/msgraph/generated/models/external_connectors/identity_collection_response.py index 294f654046f..d06dd4c089e 100644 --- a/msgraph/generated/models/external_connectors/identity_collection_response.py +++ b/msgraph/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/generated/models/external_connectors/item_id_resolver.py b/msgraph/generated/models/external_connectors/item_id_resolver.py index 851b34b2964..adb5fc01651 100644 --- a/msgraph/generated/models/external_connectors/item_id_resolver.py +++ b/msgraph/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/generated/models/external_connectors/property_.py b/msgraph/generated/models/external_connectors/property_.py index 65d0f0e3c6c..4886e9293ed 100644 --- a/msgraph/generated/models/external_connectors/property_.py +++ b/msgraph/generated/models/external_connectors/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/generated/models/external_connectors/property_rule.py b/msgraph/generated/models/external_connectors/property_rule.py index 7c446041bc2..cd72e3177a1 100644 --- a/msgraph/generated/models/external_connectors/property_rule.py +++ b/msgraph/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/generated/models/external_connectors/schema.py b/msgraph/generated/models/external_connectors/schema.py index b2203e8458f..566d15286dd 100644 --- a/msgraph/generated/models/external_connectors/schema.py +++ b/msgraph/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/generated/models/external_connectors/search_settings.py b/msgraph/generated/models/external_connectors/search_settings.py index 5470641feb9..8a3940e24da 100644 --- a/msgraph/generated/models/external_connectors/search_settings.py +++ b/msgraph/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/generated/models/external_connectors/url_to_item_resolver_base.py b/msgraph/generated/models/external_connectors/url_to_item_resolver_base.py index f891b3a38d8..589164dc9a4 100644 --- a/msgraph/generated/models/external_connectors/url_to_item_resolver_base.py +++ b/msgraph/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/generated/models/external_domain_federation.py b/msgraph/generated/models/external_domain_federation.py index 52ca616cafc..58adfcc9f05 100644 --- a/msgraph/generated/models/external_domain_federation.py +++ b/msgraph/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/generated/models/external_domain_name.py b/msgraph/generated/models/external_domain_name.py index f2a1890615e..bbd76af4af4 100644 --- a/msgraph/generated/models/external_domain_name.py +++ b/msgraph/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/generated/models/external_sponsors.py b/msgraph/generated/models/external_sponsors.py index 81ff11227f5..55157bf9985 100644 --- a/msgraph/generated/models/external_sponsors.py +++ b/msgraph/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 .subject_set import SubjectSet + diff --git a/msgraph/generated/models/external_users_self_service_sign_up_events_flow.py b/msgraph/generated/models/external_users_self_service_sign_up_events_flow.py index 31d4e4a59a3..332d4b4a306 100644 --- a/msgraph/generated/models/external_users_self_service_sign_up_events_flow.py +++ b/msgraph/generated/models/external_users_self_service_sign_up_events_flow.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_events_flow import AuthenticationEventsFlow + from .on_attribute_collection_handler import OnAttributeCollectionHandler + 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("onAuthenticationMethodLoadStart", self.on_authentication_method_load_start) writer.write_object_value("onInteractiveAuthFlowStart", self.on_interactive_auth_flow_start) diff --git a/msgraph/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py b/msgraph/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py index 074dbd7490f..4c18326b667 100644 --- a/msgraph/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py +++ b/msgraph/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/generated/models/extract_sensitivity_labels_result.py b/msgraph/generated/models/extract_sensitivity_labels_result.py index c699bea4d35..ced14ceca6f 100644 --- a/msgraph/generated/models/extract_sensitivity_labels_result.py +++ b/msgraph/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/generated/models/feature_rollout_policy.py b/msgraph/generated/models/feature_rollout_policy.py index c74b702a159..951f80b16cb 100644 --- a/msgraph/generated/models/feature_rollout_policy.py +++ b/msgraph/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/generated/models/feature_rollout_policy_collection_response.py b/msgraph/generated/models/feature_rollout_policy_collection_response.py index b417b8ed647..2b0328c6e02 100644 --- a/msgraph/generated/models/feature_rollout_policy_collection_response.py +++ b/msgraph/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/generated/models/feature_target.py b/msgraph/generated/models/feature_target.py index f2e9cd65334..0287612b0b4 100644 --- a/msgraph/generated/models/feature_target.py +++ b/msgraph/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/generated/models/federated_identity_credential.py b/msgraph/generated/models/federated_identity_credential.py index 8b3f5dd0e4c..3dd2953a6f5 100644 --- a/msgraph/generated/models/federated_identity_credential.py +++ b/msgraph/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/generated/models/federated_identity_credential_collection_response.py b/msgraph/generated/models/federated_identity_credential_collection_response.py index 73daa12f0bf..a0148440b32 100644 --- a/msgraph/generated/models/federated_identity_credential_collection_response.py +++ b/msgraph/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/generated/models/fido2_authentication_method.py b/msgraph/generated/models/fido2_authentication_method.py index 0a79c1a222d..abe1c63882e 100644 --- a/msgraph/generated/models/fido2_authentication_method.py +++ b/msgraph/generated/models/fido2_authentication_method.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 .attestation_level import AttestationLevel + from .authentication_method import AuthenticationMethod + 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/generated/models/fido2_authentication_method_collection_response.py b/msgraph/generated/models/fido2_authentication_method_collection_response.py index ee8abe0ebcb..06d6e9494ef 100644 --- a/msgraph/generated/models/fido2_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/fido2_authentication_method_configuration.py b/msgraph/generated/models/fido2_authentication_method_configuration.py index e3fe8d1140b..ed59345f9c0 100644 --- a/msgraph/generated/models/fido2_authentication_method_configuration.py +++ b/msgraph/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 .authentication_method_target import AuthenticationMethodTarget + from .fido2_key_restrictions import Fido2KeyRestrictions + 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/generated/models/fido2_combination_configuration.py b/msgraph/generated/models/fido2_combination_configuration.py index 2e4d21d4748..4b1f08293f3 100644 --- a/msgraph/generated/models/fido2_combination_configuration.py +++ b/msgraph/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/generated/models/fido2_key_restrictions.py b/msgraph/generated/models/fido2_key_restrictions.py index 281749c807c..ec1fa781bfb 100644 --- a/msgraph/generated/models/fido2_key_restrictions.py +++ b/msgraph/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/generated/models/field_value_set.py b/msgraph/generated/models/field_value_set.py index 05519d24679..48e9415c025 100644 --- a/msgraph/generated/models/field_value_set.py +++ b/msgraph/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/generated/models/file.py b/msgraph/generated/models/file.py index 477ff6b9870..ac7e50f1537 100644 --- a/msgraph/generated/models/file.py +++ b/msgraph/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/generated/models/file_assessment_request.py b/msgraph/generated/models/file_assessment_request.py index 3ae4bbaeaf8..1e56d6ffbb4 100644 --- a/msgraph/generated/models/file_assessment_request.py +++ b/msgraph/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/generated/models/file_attachment.py b/msgraph/generated/models/file_attachment.py index 9decb013a8e..a0e1640dc78 100644 --- a/msgraph/generated/models/file_attachment.py +++ b/msgraph/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/generated/models/file_hash.py b/msgraph/generated/models/file_hash.py index 6dfabec114b..40450d23b42 100644 --- a/msgraph/generated/models/file_hash.py +++ b/msgraph/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/generated/models/file_security_state.py b/msgraph/generated/models/file_security_state.py index da01a72a550..eff148f9cbf 100644 --- a/msgraph/generated/models/file_security_state.py +++ b/msgraph/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/generated/models/file_storage.py b/msgraph/generated/models/file_storage.py index 95e272bb48d..b16363db31b 100644 --- a/msgraph/generated/models/file_storage.py +++ b/msgraph/generated/models/file_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 .file_storage_container import FileStorageContainer + writer.write_collection_of_object_values("containers", self.containers) diff --git a/msgraph/generated/models/file_storage_container.py b/msgraph/generated/models/file_storage_container.py index f73d0675497..dd8abea80be 100644 --- a/msgraph/generated/models/file_storage_container.py +++ b/msgraph/generated/models/file_storage_container.py @@ -9,6 +9,7 @@ from .drive import Drive from .entity import Entity from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + 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 @@ -33,6 +34,8 @@ class FileStorageContainer(Entity): odata_type: Optional[str] = None # The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. permissions: Optional[List[Permission]] = None + # The settings property + settings: Optional[FileStorageContainerSettings] = None # Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. status: Optional[FileStorageContainerStatus] = None # Data specific to the current user. Read-only. @@ -57,6 +60,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .drive import Drive from .entity import Entity from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + 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 @@ -64,6 +68,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .drive import Drive from .entity import Entity from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + 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 @@ -76,6 +81,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "drive": lambda n : setattr(self, 'drive', n.get_object_value(Drive)), "permissions": lambda n : setattr(self, 'permissions', n.get_collection_of_object_values(Permission)), + "settings": lambda n : setattr(self, 'settings', n.get_object_value(FileStorageContainerSettings)), "status": lambda n : setattr(self, 'status', n.get_enum_value(FileStorageContainerStatus)), "viewpoint": lambda n : setattr(self, 'viewpoint', n.get_object_value(FileStorageContainerViewpoint)), } @@ -92,6 +98,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive import Drive + from .entity import Entity + from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + 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 + writer.write_uuid_value("containerTypeId", self.container_type_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("customProperties", self.custom_properties) @@ -99,6 +113,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("displayName", self.display_name) writer.write_object_value("drive", self.drive) writer.write_collection_of_object_values("permissions", self.permissions) + writer.write_object_value("settings", self.settings) writer.write_enum_value("status", self.status) writer.write_object_value("viewpoint", self.viewpoint) diff --git a/msgraph/generated/models/file_storage_container_collection_response.py b/msgraph/generated/models/file_storage_container_collection_response.py index 1d62281803d..c185583c876 100644 --- a/msgraph/generated/models/file_storage_container_collection_response.py +++ b/msgraph/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/generated/models/file_storage_container_custom_property_dictionary.py b/msgraph/generated/models/file_storage_container_custom_property_dictionary.py index 22cd903a487..8f794d4d46b 100644 --- a/msgraph/generated/models/file_storage_container_custom_property_dictionary.py +++ b/msgraph/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/generated/models/file_storage_container_settings.py b/msgraph/generated/models/file_storage_container_settings.py new file mode 100644 index 00000000000..be1350dde1c --- /dev/null +++ b/msgraph/generated/models/file_storage_container_settings.py @@ -0,0 +1,53 @@ +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 FileStorageContainerSettings(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) + # Indicates whether optical character recognition (OCR) is enabled for a given container. When OCR is enabled on a container, OCR extraction is performed for new and updated documents of supported types. The extracted fields are added to the metadata of the document, enabling end-user search and search-driven solutions. Changing this property from true to false doesn't remove OCR metadata that was created while it was true. Default value is false. + is_ocr_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> FileStorageContainerSettings: + """ + 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: FileStorageContainerSettings + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return FileStorageContainerSettings() + + 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]] = { + "isOcrEnabled": lambda n : setattr(self, 'is_ocr_enabled', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_bool_value("isOcrEnabled", self.is_ocr_enabled) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/filter.py b/msgraph/generated/models/filter.py index e7b23be364e..1f8a44e4cf9 100644 --- a/msgraph/generated/models/filter.py +++ b/msgraph/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/generated/models/filter_clause.py b/msgraph/generated/models/filter_clause.py index e6753d1f554..4f056f415bc 100644 --- a/msgraph/generated/models/filter_clause.py +++ b/msgraph/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/generated/models/filter_group.py b/msgraph/generated/models/filter_group.py index 272e342eb88..48d9383e645 100644 --- a/msgraph/generated/models/filter_group.py +++ b/msgraph/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/generated/models/filter_operator_schema.py b/msgraph/generated/models/filter_operator_schema.py index c46d2761f25..ced815daca2 100644 --- a/msgraph/generated/models/filter_operator_schema.py +++ b/msgraph/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/generated/models/filter_operator_schema_collection_response.py b/msgraph/generated/models/filter_operator_schema_collection_response.py index 3c33d16c229..ba53da64312 100644 --- a/msgraph/generated/models/filter_operator_schema_collection_response.py +++ b/msgraph/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/generated/models/folder.py b/msgraph/generated/models/folder.py index 2b20c8ede4c..4b823a4e89f 100644 --- a/msgraph/generated/models/folder.py +++ b/msgraph/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/generated/models/followup_flag.py b/msgraph/generated/models/followup_flag.py index 1f104f09dfa..232e391cb3d 100644 --- a/msgraph/generated/models/followup_flag.py +++ b/msgraph/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/generated/models/governance_insight.py b/msgraph/generated/models/governance_insight.py index 4d201ea21b5..d260ca9c638 100644 --- a/msgraph/generated/models/governance_insight.py +++ b/msgraph/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/generated/models/governance_insight_collection_response.py b/msgraph/generated/models/governance_insight_collection_response.py index 5640557bf9f..e76e7157b1e 100644 --- a/msgraph/generated/models/governance_insight_collection_response.py +++ b/msgraph/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/generated/models/granular_mailbox_restore_artifact.py b/msgraph/generated/models/granular_mailbox_restore_artifact.py index f11b1158f86..3017a97045e 100644 --- a/msgraph/generated/models/granular_mailbox_restore_artifact.py +++ b/msgraph/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/generated/models/granular_mailbox_restore_artifact_collection_response.py b/msgraph/generated/models/granular_mailbox_restore_artifact_collection_response.py index 25485314574..1cb611c840c 100644 --- a/msgraph/generated/models/granular_mailbox_restore_artifact_collection_response.py +++ b/msgraph/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/generated/models/group.py b/msgraph/generated/models/group.py index cad73e43f7a..db93b2e4504 100644 --- a/msgraph/generated/models/group.py +++ b/msgraph/generated/models/group.py @@ -316,6 +316,28 @@ 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 .conversation import Conversation + from .conversation_thread import ConversationThread + from .directory_object import DirectoryObject + from .drive import Drive + from .event import Event + from .extension import Extension + from .group_lifecycle_policy import GroupLifecyclePolicy + from .group_setting import GroupSetting + from .license_processing_state import LicenseProcessingState + 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_bool_value("allowExternalSenders", self.allow_external_senders) writer.write_collection_of_object_values("appRoleAssignments", self.app_role_assignments) diff --git a/msgraph/generated/models/group_assignment_target.py b/msgraph/generated/models/group_assignment_target.py index 9d67438c741..7ab8fd74fa0 100644 --- a/msgraph/generated/models/group_assignment_target.py +++ b/msgraph/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/generated/models/group_collection_response.py b/msgraph/generated/models/group_collection_response.py index 424ff71c85e..87934ae21b3 100644 --- a/msgraph/generated/models/group_collection_response.py +++ b/msgraph/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/generated/models/group_lifecycle_policy.py b/msgraph/generated/models/group_lifecycle_policy.py index 3e774507930..dcbf53ff2de 100644 --- a/msgraph/generated/models/group_lifecycle_policy.py +++ b/msgraph/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/generated/models/group_lifecycle_policy_collection_response.py b/msgraph/generated/models/group_lifecycle_policy_collection_response.py index 32bbca01e91..9cdefecd3e3 100644 --- a/msgraph/generated/models/group_lifecycle_policy_collection_response.py +++ b/msgraph/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/generated/models/group_members.py b/msgraph/generated/models/group_members.py index 66886dff930..4486563b211 100644 --- a/msgraph/generated/models/group_members.py +++ b/msgraph/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 .subject_set import SubjectSet + writer.write_str_value("description", self.description) writer.write_str_value("groupId", self.group_id) diff --git a/msgraph/generated/models/group_peer_outlier_recommendation_insight_settings.py b/msgraph/generated/models/group_peer_outlier_recommendation_insight_settings.py index d4b295988ab..b2ba63737d9 100644 --- a/msgraph/generated/models/group_peer_outlier_recommendation_insight_settings.py +++ b/msgraph/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/generated/models/group_setting.py b/msgraph/generated/models/group_setting.py index 0caa79cdb73..58fca4df93a 100644 --- a/msgraph/generated/models/group_setting.py +++ b/msgraph/generated/models/group_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/generated/models/group_setting_collection_response.py b/msgraph/generated/models/group_setting_collection_response.py index 010dfc561f6..659a2595a5e 100644 --- a/msgraph/generated/models/group_setting_collection_response.py +++ b/msgraph/generated/models/group_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 .group_setting import GroupSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/group_setting_template.py b/msgraph/generated/models/group_setting_template.py index 0a9b1b5c79f..7cac9705902 100644 --- a/msgraph/generated/models/group_setting_template.py +++ b/msgraph/generated/models/group_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/generated/models/group_setting_template_collection_response.py b/msgraph/generated/models/group_setting_template_collection_response.py index 82719b1351e..c0ed15202ee 100644 --- a/msgraph/generated/models/group_setting_template_collection_response.py +++ b/msgraph/generated/models/group_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 .group_setting_template import GroupSettingTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/home_realm_discovery_policy.py b/msgraph/generated/models/home_realm_discovery_policy.py index e0480293168..3cd2d6b44da 100644 --- a/msgraph/generated/models/home_realm_discovery_policy.py +++ b/msgraph/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/generated/models/home_realm_discovery_policy_collection_response.py b/msgraph/generated/models/home_realm_discovery_policy_collection_response.py index bfd3d879daf..dea8755339a 100644 --- a/msgraph/generated/models/home_realm_discovery_policy_collection_response.py +++ b/msgraph/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/generated/models/horizontal_section.py b/msgraph/generated/models/horizontal_section.py index 0a85fd752c9..e77ae1fc2af 100644 --- a/msgraph/generated/models/horizontal_section.py +++ b/msgraph/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/generated/models/horizontal_section_collection_response.py b/msgraph/generated/models/horizontal_section_collection_response.py index 1046b02b931..0dbfa19add8 100644 --- a/msgraph/generated/models/horizontal_section_collection_response.py +++ b/msgraph/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/generated/models/horizontal_section_column.py b/msgraph/generated/models/horizontal_section_column.py index 12cdb056f11..d7eeea11829 100644 --- a/msgraph/generated/models/horizontal_section_column.py +++ b/msgraph/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/generated/models/horizontal_section_column_collection_response.py b/msgraph/generated/models/horizontal_section_column_collection_response.py index de2152a8d14..3f57bba136e 100644 --- a/msgraph/generated/models/horizontal_section_column_collection_response.py +++ b/msgraph/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/generated/models/http_request_endpoint.py b/msgraph/generated/models/http_request_endpoint.py index 9d540e9adc0..36c7ae25234 100644 --- a/msgraph/generated/models/http_request_endpoint.py +++ b/msgraph/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/generated/models/i_pv4_cidr_range.py b/msgraph/generated/models/i_pv4_cidr_range.py index 2cdc2c62f99..2a44de687a3 100644 --- a/msgraph/generated/models/i_pv4_cidr_range.py +++ b/msgraph/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/generated/models/i_pv4_range.py b/msgraph/generated/models/i_pv4_range.py index 81b00429783..c293254e52b 100644 --- a/msgraph/generated/models/i_pv4_range.py +++ b/msgraph/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/generated/models/i_pv6_cidr_range.py b/msgraph/generated/models/i_pv6_cidr_range.py index 88dc55b9afd..dba79ecfebc 100644 --- a/msgraph/generated/models/i_pv6_cidr_range.py +++ b/msgraph/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/generated/models/i_pv6_range.py b/msgraph/generated/models/i_pv6_range.py index d8b622e0d07..b82381f4bf5 100644 --- a/msgraph/generated/models/i_pv6_range.py +++ b/msgraph/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/generated/models/identity.py b/msgraph/generated/models/identity.py index 91c10a54f73..72f60a65ab1 100644 --- a/msgraph/generated/models/identity.py +++ b/msgraph/generated/models/identity.py @@ -50,7 +50,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.azureCommunicationServicesUserIdentity".casefold(): @@ -199,6 +200,27 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + 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 .provisioned_identity import ProvisionedIdentity + from .provisioning_service_principal import ProvisioningServicePrincipal + from .provisioning_system import ProvisioningSystem + from .service_principal_identity import ServicePrincipalIdentity + from .share_point_identity import SharePointIdentity + 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/generated/models/identity_api_connector.py b/msgraph/generated/models/identity_api_connector.py index 159f69caaaa..6d5672a75c6 100644 --- a/msgraph/generated/models/identity_api_connector.py +++ b/msgraph/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/generated/models/identity_api_connector_collection_response.py b/msgraph/generated/models/identity_api_connector_collection_response.py index 3e450f69328..d7a28fee892 100644 --- a/msgraph/generated/models/identity_api_connector_collection_response.py +++ b/msgraph/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/generated/models/identity_built_in_user_flow_attribute.py b/msgraph/generated/models/identity_built_in_user_flow_attribute.py index 78b646c3650..70979f20cf2 100644 --- a/msgraph/generated/models/identity_built_in_user_flow_attribute.py +++ b/msgraph/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/generated/models/identity_container.py b/msgraph/generated/models/identity_container.py index 2e60a2ae0e6..0cc87c9cc37 100644 --- a/msgraph/generated/models/identity_container.py +++ b/msgraph/generated/models/identity_container.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 .authentication_events_flow import AuthenticationEventsFlow + from .authentication_event_listener import AuthenticationEventListener + from .b2x_identity_user_flow import B2xIdentityUserFlow + from .conditional_access_root import ConditionalAccessRoot + from .custom_authentication_extension import CustomAuthenticationExtension + from .entity import Entity + from .identity_api_connector import IdentityApiConnector + from .identity_provider_base import IdentityProviderBase + 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/generated/models/identity_custom_user_flow_attribute.py b/msgraph/generated/models/identity_custom_user_flow_attribute.py index c3d9d46082b..6f25338f56d 100644 --- a/msgraph/generated/models/identity_custom_user_flow_attribute.py +++ b/msgraph/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/generated/models/identity_governance/attribute_change_trigger.py b/msgraph/generated/models/identity_governance/attribute_change_trigger.py index 7309b526651..5d30947a8a9 100644 --- a/msgraph/generated/models/identity_governance/attribute_change_trigger.py +++ b/msgraph/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/generated/models/identity_governance/custom_task_extension.py b/msgraph/generated/models/identity_governance/custom_task_extension.py index 4ee6e1e5d24..b57427f7bad 100644 --- a/msgraph/generated/models/identity_governance/custom_task_extension.py +++ b/msgraph/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/generated/models/identity_governance/custom_task_extension_callback_configuration.py b/msgraph/generated/models/identity_governance/custom_task_extension_callback_configuration.py index 6e06ecebd3d..366145f003c 100644 --- a/msgraph/generated/models/identity_governance/custom_task_extension_callback_configuration.py +++ b/msgraph/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/generated/models/identity_governance/custom_task_extension_callback_data.py b/msgraph/generated/models/identity_governance/custom_task_extension_callback_data.py index ae23c2699aa..3a3840fec0f 100644 --- a/msgraph/generated/models/identity_governance/custom_task_extension_callback_data.py +++ b/msgraph/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/generated/models/identity_governance/custom_task_extension_callout_data.py b/msgraph/generated/models/identity_governance/custom_task_extension_callout_data.py index 69852b780a2..312e26a19cd 100644 --- a/msgraph/generated/models/identity_governance/custom_task_extension_callout_data.py +++ b/msgraph/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/generated/models/identity_governance/custom_task_extension_collection_response.py b/msgraph/generated/models/identity_governance/custom_task_extension_collection_response.py index e6de1037972..c8af7ad9bc5 100644 --- a/msgraph/generated/models/identity_governance/custom_task_extension_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/group_based_subject_set.py b/msgraph/generated/models/identity_governance/group_based_subject_set.py index 7bb0f71258f..ecdc69f8549 100644 --- a/msgraph/generated/models/identity_governance/group_based_subject_set.py +++ b/msgraph/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/generated/models/identity_governance/identity_governance.py b/msgraph/generated/models/identity_governance/identity_governance.py index 526cecec163..17e0152ec1c 100644 --- a/msgraph/generated/models/identity_governance/identity_governance.py +++ b/msgraph/generated/models/identity_governance/identity_governance.py @@ -83,6 +83,13 @@ 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 ..privileged_access_root import PrivilegedAccessRoot + 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/generated/models/identity_governance/insights.py b/msgraph/generated/models/identity_governance/insights.py index f732455f5d4..f967e1179bf 100644 --- a/msgraph/generated/models/identity_governance/insights.py +++ b/msgraph/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/generated/models/identity_governance/lifecycle_management_settings.py b/msgraph/generated/models/identity_governance/lifecycle_management_settings.py index c63bfd0e4e9..98c36fb14a7 100644 --- a/msgraph/generated/models/identity_governance/lifecycle_management_settings.py +++ b/msgraph/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/generated/models/identity_governance/lifecycle_workflows_container.py b/msgraph/generated/models/identity_governance/lifecycle_workflows_container.py index 27a539cb7a4..3205f4eb0a5 100644 --- a/msgraph/generated/models/identity_governance/lifecycle_workflows_container.py +++ b/msgraph/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/generated/models/identity_governance/membership_change_trigger.py b/msgraph/generated/models/identity_governance/membership_change_trigger.py index 21daf72cdd8..9aed1af4005 100644 --- a/msgraph/generated/models/identity_governance/membership_change_trigger.py +++ b/msgraph/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/generated/models/identity_governance/on_demand_execution_only.py b/msgraph/generated/models/identity_governance/on_demand_execution_only.py index c5b97dec3d6..0bd9b3208e3 100644 --- a/msgraph/generated/models/identity_governance/on_demand_execution_only.py +++ b/msgraph/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/generated/models/identity_governance/parameter.py b/msgraph/generated/models/identity_governance/parameter.py index c6040e224b3..3a1e4f53550 100644 --- a/msgraph/generated/models/identity_governance/parameter.py +++ b/msgraph/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/generated/models/identity_governance/rule_based_subject_set.py b/msgraph/generated/models/identity_governance/rule_based_subject_set.py index cbbe238fa41..10bbd0c229a 100644 --- a/msgraph/generated/models/identity_governance/rule_based_subject_set.py +++ b/msgraph/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/generated/models/identity_governance/run.py b/msgraph/generated/models/identity_governance/run.py index a4c6c78a897..21473420e3a 100644 --- a/msgraph/generated/models/identity_governance/run.py +++ b/msgraph/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/generated/models/identity_governance/run_collection_response.py b/msgraph/generated/models/identity_governance/run_collection_response.py index bef20882bf7..dcc7166e16e 100644 --- a/msgraph/generated/models/identity_governance/run_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/task.py b/msgraph/generated/models/identity_governance/task.py index fcdb1d14fa7..8965e239218 100644 --- a/msgraph/generated/models/identity_governance/task.py +++ b/msgraph/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/generated/models/identity_governance/task_collection_response.py b/msgraph/generated/models/identity_governance/task_collection_response.py index ae7d6475635..410907480ec 100644 --- a/msgraph/generated/models/identity_governance/task_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/task_definition.py b/msgraph/generated/models/identity_governance/task_definition.py index b86ca6c62a5..6e5bc8d581c 100644 --- a/msgraph/generated/models/identity_governance/task_definition.py +++ b/msgraph/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/generated/models/identity_governance/task_definition_collection_response.py b/msgraph/generated/models/identity_governance/task_definition_collection_response.py index a20e45ad7ca..1a5e9a6b863 100644 --- a/msgraph/generated/models/identity_governance/task_definition_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/task_processing_result.py b/msgraph/generated/models/identity_governance/task_processing_result.py index 899957621f5..243a606023b 100644 --- a/msgraph/generated/models/identity_governance/task_processing_result.py +++ b/msgraph/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/generated/models/identity_governance/task_processing_result_collection_response.py b/msgraph/generated/models/identity_governance/task_processing_result_collection_response.py index 78d9cbf64bb..40ed7cf9ced 100644 --- a/msgraph/generated/models/identity_governance/task_processing_result_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/task_report.py b/msgraph/generated/models/identity_governance/task_report.py index 2fe1eb53958..7e22e1d6cec 100644 --- a/msgraph/generated/models/identity_governance/task_report.py +++ b/msgraph/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/generated/models/identity_governance/task_report_collection_response.py b/msgraph/generated/models/identity_governance/task_report_collection_response.py index 767388d136d..1f6d7a10548 100644 --- a/msgraph/generated/models/identity_governance/task_report_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/time_based_attribute_trigger.py b/msgraph/generated/models/identity_governance/time_based_attribute_trigger.py index 118cb651e9d..942aa967650 100644 --- a/msgraph/generated/models/identity_governance/time_based_attribute_trigger.py +++ b/msgraph/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/generated/models/identity_governance/top_workflows_insights_summary.py b/msgraph/generated/models/identity_governance/top_workflows_insights_summary.py index df6be390a2a..3be69c78392 100644 --- a/msgraph/generated/models/identity_governance/top_workflows_insights_summary.py +++ b/msgraph/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/generated/models/identity_governance/trigger_and_scope_based_conditions.py b/msgraph/generated/models/identity_governance/trigger_and_scope_based_conditions.py index bb8af31957a..f45a47d7700 100644 --- a/msgraph/generated/models/identity_governance/trigger_and_scope_based_conditions.py +++ b/msgraph/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/generated/models/identity_governance/user_processing_result.py b/msgraph/generated/models/identity_governance/user_processing_result.py index e0fd794e970..922e58bbb10 100644 --- a/msgraph/generated/models/identity_governance/user_processing_result.py +++ b/msgraph/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/generated/models/identity_governance/user_processing_result_collection_response.py b/msgraph/generated/models/identity_governance/user_processing_result_collection_response.py index d0b6dca2fee..8aeb03ff6de 100644 --- a/msgraph/generated/models/identity_governance/user_processing_result_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/workflow.py b/msgraph/generated/models/identity_governance/workflow.py index d90d5e3388d..e9720139f1c 100644 --- a/msgraph/generated/models/identity_governance/workflow.py +++ b/msgraph/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/generated/models/identity_governance/workflow_base.py b/msgraph/generated/models/identity_governance/workflow_base.py index cf6d93f4056..5c9938a1ff7 100644 --- a/msgraph/generated/models/identity_governance/workflow_base.py +++ b/msgraph/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/generated/models/identity_governance/workflow_collection_response.py b/msgraph/generated/models/identity_governance/workflow_collection_response.py index 86fbd783a74..e2f2c493acc 100644 --- a/msgraph/generated/models/identity_governance/workflow_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/workflow_execution_conditions.py b/msgraph/generated/models/identity_governance/workflow_execution_conditions.py index 81bc14a3a97..d7ebedfbbea 100644 --- a/msgraph/generated/models/identity_governance/workflow_execution_conditions.py +++ b/msgraph/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/generated/models/identity_governance/workflow_execution_trigger.py b/msgraph/generated/models/identity_governance/workflow_execution_trigger.py index 9103a5c6059..6587a6330ff 100644 --- a/msgraph/generated/models/identity_governance/workflow_execution_trigger.py +++ b/msgraph/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/generated/models/identity_governance/workflow_template.py b/msgraph/generated/models/identity_governance/workflow_template.py index ec84e278eba..b181486388b 100644 --- a/msgraph/generated/models/identity_governance/workflow_template.py +++ b/msgraph/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/generated/models/identity_governance/workflow_template_collection_response.py b/msgraph/generated/models/identity_governance/workflow_template_collection_response.py index 2fb73e68fad..eff6c7b0d34 100644 --- a/msgraph/generated/models/identity_governance/workflow_template_collection_response.py +++ b/msgraph/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/generated/models/identity_governance/workflow_version.py b/msgraph/generated/models/identity_governance/workflow_version.py index e14fe81083b..30e757b3570 100644 --- a/msgraph/generated/models/identity_governance/workflow_version.py +++ b/msgraph/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/generated/models/identity_governance/workflow_version_collection_response.py b/msgraph/generated/models/identity_governance/workflow_version_collection_response.py index a3ca8691b5d..289b43d0939 100644 --- a/msgraph/generated/models/identity_governance/workflow_version_collection_response.py +++ b/msgraph/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/generated/models/identity_protection_root.py b/msgraph/generated/models/identity_protection_root.py index f3a1c3af7a5..102811e309a 100644 --- a/msgraph/generated/models/identity_protection_root.py +++ b/msgraph/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/generated/models/identity_provider.py b/msgraph/generated/models/identity_provider.py index c4ed9fcf11e..577a2f2496e 100644 --- a/msgraph/generated/models/identity_provider.py +++ b/msgraph/generated/models/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 .entity import Entity + 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/generated/models/identity_provider_base.py b/msgraph/generated/models/identity_provider_base.py index e6bf37ee5fa..a86b6fa816d 100644 --- a/msgraph/generated/models/identity_provider_base.py +++ b/msgraph/generated/models/identity_provider_base.py @@ -31,7 +31,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(): @@ -97,6 +98,14 @@ 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 .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/generated/models/identity_provider_base_collection_response.py b/msgraph/generated/models/identity_provider_base_collection_response.py index 4ace66f24b0..2aa49364182 100644 --- a/msgraph/generated/models/identity_provider_base_collection_response.py +++ b/msgraph/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/generated/models/identity_provider_collection_response.py b/msgraph/generated/models/identity_provider_collection_response.py index c65cb8b9a98..52cf82fd439 100644 --- a/msgraph/generated/models/identity_provider_collection_response.py +++ b/msgraph/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/generated/models/identity_security_defaults_enforcement_policy.py b/msgraph/generated/models/identity_security_defaults_enforcement_policy.py index 7ec400d32e8..502a283802d 100644 --- a/msgraph/generated/models/identity_security_defaults_enforcement_policy.py +++ b/msgraph/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/generated/models/identity_set.py b/msgraph/generated/models/identity_set.py index 8ad2c4544fb..b2cd5212d11 100644 --- a/msgraph/generated/models/identity_set.py +++ b/msgraph/generated/models/identity_set.py @@ -38,7 +38,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.chatMessageFromIdentitySet".casefold(): @@ -98,6 +99,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + 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/generated/models/identity_source.py b/msgraph/generated/models/identity_source.py index c05f49d8f8c..d4eb74d38fd 100644 --- a/msgraph/generated/models/identity_source.py +++ b/msgraph/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/generated/models/identity_user_flow.py b/msgraph/generated/models/identity_user_flow.py index c0d28847965..68010a4e118 100644 --- a/msgraph/generated/models/identity_user_flow.py +++ b/msgraph/generated/models/identity_user_flow.py @@ -29,7 +29,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.b2xIdentityUserFlow".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 .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/generated/models/identity_user_flow_attribute.py b/msgraph/generated/models/identity_user_flow_attribute.py index 2d6cde2f358..cb24db99dee 100644 --- a/msgraph/generated/models/identity_user_flow_attribute.py +++ b/msgraph/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/generated/models/identity_user_flow_attribute_assignment.py b/msgraph/generated/models/identity_user_flow_attribute_assignment.py index 7c4871f67f2..ead14eee62d 100644 --- a/msgraph/generated/models/identity_user_flow_attribute_assignment.py +++ b/msgraph/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/generated/models/identity_user_flow_attribute_assignment_collection_response.py b/msgraph/generated/models/identity_user_flow_attribute_assignment_collection_response.py index 082e52e0939..9407e98afdb 100644 --- a/msgraph/generated/models/identity_user_flow_attribute_assignment_collection_response.py +++ b/msgraph/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/generated/models/identity_user_flow_attribute_collection_response.py b/msgraph/generated/models/identity_user_flow_attribute_collection_response.py index bb3359293e4..b154b6f3fad 100644 --- a/msgraph/generated/models/identity_user_flow_attribute_collection_response.py +++ b/msgraph/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/generated/models/imported_windows_autopilot_device_identity.py b/msgraph/generated/models/imported_windows_autopilot_device_identity.py index db23b1e212f..634cb32aa19 100644 --- a/msgraph/generated/models/imported_windows_autopilot_device_identity.py +++ b/msgraph/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/generated/models/imported_windows_autopilot_device_identity_collection_response.py b/msgraph/generated/models/imported_windows_autopilot_device_identity_collection_response.py index bd136c48dc3..b3b3a8877f9 100644 --- a/msgraph/generated/models/imported_windows_autopilot_device_identity_collection_response.py +++ b/msgraph/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/generated/models/imported_windows_autopilot_device_identity_state.py b/msgraph/generated/models/imported_windows_autopilot_device_identity_state.py index a2f5dee0f44..a063d5056bd 100644 --- a/msgraph/generated/models/imported_windows_autopilot_device_identity_state.py +++ b/msgraph/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/generated/models/imported_windows_autopilot_device_identity_upload.py b/msgraph/generated/models/imported_windows_autopilot_device_identity_upload.py index df2a3c8474e..03a6ec8bd51 100644 --- a/msgraph/generated/models/imported_windows_autopilot_device_identity_upload.py +++ b/msgraph/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/generated/models/include_all_account_target_content.py b/msgraph/generated/models/include_all_account_target_content.py index cdd42570a72..9666cdc8ce5 100644 --- a/msgraph/generated/models/include_all_account_target_content.py +++ b/msgraph/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/generated/models/incoming_call_options.py b/msgraph/generated/models/incoming_call_options.py index 1a6b9858df0..99d4cc119ba 100644 --- a/msgraph/generated/models/incoming_call_options.py +++ b/msgraph/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/generated/models/incoming_context.py b/msgraph/generated/models/incoming_context.py index 93435503018..ea308e8fdf4 100644 --- a/msgraph/generated/models/incoming_context.py +++ b/msgraph/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/generated/models/inference_classification.py b/msgraph/generated/models/inference_classification.py index 566b15a24e6..24e75dcf83d 100644 --- a/msgraph/generated/models/inference_classification.py +++ b/msgraph/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/generated/models/inference_classification_override.py b/msgraph/generated/models/inference_classification_override.py index 833db6d41d4..89ffe366dff 100644 --- a/msgraph/generated/models/inference_classification_override.py +++ b/msgraph/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/generated/models/inference_classification_override_collection_response.py b/msgraph/generated/models/inference_classification_override_collection_response.py index aa7dccaee32..b133e79810b 100644 --- a/msgraph/generated/models/inference_classification_override_collection_response.py +++ b/msgraph/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/generated/models/information_protection.py b/msgraph/generated/models/information_protection.py index cfddde559a5..34efc14754b 100644 --- a/msgraph/generated/models/information_protection.py +++ b/msgraph/generated/models/information_protection.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bitlocker import Bitlocker + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_object_value("bitlocker", self.bitlocker) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("threatAssessmentRequests", self.threat_assessment_requests) diff --git a/msgraph/generated/models/initiator.py b/msgraph/generated/models/initiator.py index 1f84dd9d515..0c4c99489d6 100644 --- a/msgraph/generated/models/initiator.py +++ b/msgraph/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/generated/models/insight_value_double.py b/msgraph/generated/models/insight_value_double.py index fcf2d573bf4..7561e129cea 100644 --- a/msgraph/generated/models/insight_value_double.py +++ b/msgraph/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/generated/models/insight_value_int.py b/msgraph/generated/models/insight_value_int.py index f88b1fedbc5..3d7aa51e147 100644 --- a/msgraph/generated/models/insight_value_int.py +++ b/msgraph/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/generated/models/insights_settings.py b/msgraph/generated/models/insights_settings.py index cf670fa939e..f345e8df6df 100644 --- a/msgraph/generated/models/insights_settings.py +++ b/msgraph/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/generated/models/internal_domain_federation.py b/msgraph/generated/models/internal_domain_federation.py index 682a6bbea48..1d72d63dc6d 100644 --- a/msgraph/generated/models/internal_domain_federation.py +++ b/msgraph/generated/models/internal_domain_federation.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 .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/generated/models/internal_domain_federation_collection_response.py b/msgraph/generated/models/internal_domain_federation_collection_response.py index 68e1ddbc721..80eb1790630 100644 --- a/msgraph/generated/models/internal_domain_federation_collection_response.py +++ b/msgraph/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/generated/models/internal_sponsors.py b/msgraph/generated/models/internal_sponsors.py index 96647db80bd..93f49628bca 100644 --- a/msgraph/generated/models/internal_sponsors.py +++ b/msgraph/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 .subject_set import SubjectSet + diff --git a/msgraph/generated/models/internet_explorer_mode.py b/msgraph/generated/models/internet_explorer_mode.py index d486853de1e..82e21baf24d 100644 --- a/msgraph/generated/models/internet_explorer_mode.py +++ b/msgraph/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/generated/models/intune_brand.py b/msgraph/generated/models/intune_brand.py index 9a2a2c54b85..bc4606cee40 100644 --- a/msgraph/generated/models/intune_brand.py +++ b/msgraph/generated/models/intune_brand.py @@ -98,6 +98,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mime_content import MimeContent + from .rgb_color import RgbColor + writer.write_str_value("contactITEmailAddress", self.contact_i_t_email_address) writer.write_str_value("contactITName", self.contact_i_t_name) writer.write_str_value("contactITNotes", self.contact_i_t_notes) diff --git a/msgraph/generated/models/invitation.py b/msgraph/generated/models/invitation.py index ed37d42fedb..54fb8afa54a 100644 --- a/msgraph/generated/models/invitation.py +++ b/msgraph/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/generated/models/invitation_collection_response.py b/msgraph/generated/models/invitation_collection_response.py index d43cbd4c158..05a7e88eca0 100644 --- a/msgraph/generated/models/invitation_collection_response.py +++ b/msgraph/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/generated/models/invitation_participant_info.py b/msgraph/generated/models/invitation_participant_info.py index bfcc2e4f630..a4fe565aad4 100644 --- a/msgraph/generated/models/invitation_participant_info.py +++ b/msgraph/generated/models/invitation_participant_info.py @@ -65,6 +65,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("hidden", self.hidden) writer.write_object_value("identity", self.identity) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/invitation_redemption_identity_provider_configuration.py b/msgraph/generated/models/invitation_redemption_identity_provider_configuration.py index d0bf7441249..87059dfe782 100644 --- a/msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +++ b/msgraph/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/generated/models/invite_participants_operation.py b/msgraph/generated/models/invite_participants_operation.py index 2fe1c14f92d..bee57e104ef 100644 --- a/msgraph/generated/models/invite_participants_operation.py +++ b/msgraph/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/generated/models/invited_user_message_info.py b/msgraph/generated/models/invited_user_message_info.py index 55c11dfc093..de83c290e72 100644 --- a/msgraph/generated/models/invited_user_message_info.py +++ b/msgraph/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/generated/models/ios_certificate_profile.py b/msgraph/generated/models/ios_certificate_profile.py index ca1056f14e8..36e0d8fb0ee 100644 --- a/msgraph/generated/models/ios_certificate_profile.py +++ b/msgraph/generated/models/ios_certificate_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 .device_configuration import DeviceConfiguration + diff --git a/msgraph/generated/models/ios_compliance_policy.py b/msgraph/generated/models/ios_compliance_policy.py index dbfb9f75b89..31d06e25d41 100644 --- a/msgraph/generated/models/ios_compliance_policy.py +++ b/msgraph/generated/models/ios_compliance_policy.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_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + from .required_password_type import RequiredPasswordType + writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) writer.write_bool_value("managedEmailProfileRequired", self.managed_email_profile_required) diff --git a/msgraph/generated/models/ios_custom_configuration.py b/msgraph/generated/models/ios_custom_configuration.py index e3f4bf15f23..be7dd853985 100644 --- a/msgraph/generated/models/ios_custom_configuration.py +++ b/msgraph/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/generated/models/ios_device_features_configuration.py b/msgraph/generated/models/ios_device_features_configuration.py index 07646e198e0..55cf69a4b84 100644 --- a/msgraph/generated/models/ios_device_features_configuration.py +++ b/msgraph/generated/models/ios_device_features_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 .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .ios_home_screen_item import IosHomeScreenItem + from .ios_home_screen_page import IosHomeScreenPage + from .ios_notification_settings import IosNotificationSettings + writer.write_str_value("assetTagTemplate", self.asset_tag_template) writer.write_collection_of_object_values("homeScreenDockIcons", self.home_screen_dock_icons) writer.write_collection_of_object_values("homeScreenPages", self.home_screen_pages) diff --git a/msgraph/generated/models/ios_general_device_configuration.py b/msgraph/generated/models/ios_general_device_configuration.py index 9618842232b..57e7091fd75 100644 --- a/msgraph/generated/models/ios_general_device_configuration.py +++ b/msgraph/generated/models/ios_general_device_configuration.py @@ -489,6 +489,23 @@ 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_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/generated/models/ios_home_screen_app.py b/msgraph/generated/models/ios_home_screen_app.py index 22ed18704b8..dccf6b45238 100644 --- a/msgraph/generated/models/ios_home_screen_app.py +++ b/msgraph/generated/models/ios_home_screen_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 .ios_home_screen_item import IosHomeScreenItem + writer.write_str_value("bundleID", self.bundle_i_d) diff --git a/msgraph/generated/models/ios_home_screen_folder.py b/msgraph/generated/models/ios_home_screen_folder.py index f8eb2bcd115..bca4d9c545d 100644 --- a/msgraph/generated/models/ios_home_screen_folder.py +++ b/msgraph/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/generated/models/ios_home_screen_folder_page.py b/msgraph/generated/models/ios_home_screen_folder_page.py index c86dfe144cf..89691ddca23 100644 --- a/msgraph/generated/models/ios_home_screen_folder_page.py +++ b/msgraph/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/generated/models/ios_home_screen_item.py b/msgraph/generated/models/ios_home_screen_item.py index 031bb8b699c..98528c1e08c 100644 --- a/msgraph/generated/models/ios_home_screen_item.py +++ b/msgraph/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/generated/models/ios_home_screen_page.py b/msgraph/generated/models/ios_home_screen_page.py index 910374858a9..0c306c31d24 100644 --- a/msgraph/generated/models/ios_home_screen_page.py +++ b/msgraph/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/generated/models/ios_lob_app.py b/msgraph/generated/models/ios_lob_app.py index 902b521f567..1963db8da70 100644 --- a/msgraph/generated/models/ios_lob_app.py +++ b/msgraph/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/generated/models/ios_lob_app_assignment_settings.py b/msgraph/generated/models/ios_lob_app_assignment_settings.py index 6e6b3e148ca..9fe468f27b0 100644 --- a/msgraph/generated/models/ios_lob_app_assignment_settings.py +++ b/msgraph/generated/models/ios_lob_app_assignment_settings.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_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("isRemovable", self.is_removable) writer.write_bool_value("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) writer.write_str_value("vpnConfigurationId", self.vpn_configuration_id) diff --git a/msgraph/generated/models/ios_lob_app_collection_response.py b/msgraph/generated/models/ios_lob_app_collection_response.py index 0549751d97e..e863ac65611 100644 --- a/msgraph/generated/models/ios_lob_app_collection_response.py +++ b/msgraph/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/generated/models/ios_lob_app_provisioning_configuration_assignment.py b/msgraph/generated/models/ios_lob_app_provisioning_configuration_assignment.py index b2d925fc0fc..cd9f4c04dec 100644 --- a/msgraph/generated/models/ios_lob_app_provisioning_configuration_assignment.py +++ b/msgraph/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/generated/models/ios_managed_app_protection.py b/msgraph/generated/models/ios_managed_app_protection.py index 2759608f9c2..22a007eccf0 100644 --- a/msgraph/generated/models/ios_managed_app_protection.py +++ b/msgraph/generated/models/ios_managed_app_protection.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 .managed_app_data_encryption_type import ManagedAppDataEncryptionType + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_protection import TargetedManagedAppProtection + writer.write_enum_value("appDataEncryptionType", self.app_data_encryption_type) writer.write_collection_of_object_values("apps", self.apps) writer.write_str_value("customBrowserProtocol", self.custom_browser_protocol) diff --git a/msgraph/generated/models/ios_managed_app_protection_collection_response.py b/msgraph/generated/models/ios_managed_app_protection_collection_response.py index 3c12f0f818d..d4e2c114de3 100644 --- a/msgraph/generated/models/ios_managed_app_protection_collection_response.py +++ b/msgraph/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/generated/models/ios_managed_app_registration.py b/msgraph/generated/models/ios_managed_app_registration.py index 90c518b3a23..d83f395872c 100644 --- a/msgraph/generated/models/ios_managed_app_registration.py +++ b/msgraph/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/generated/models/ios_mobile_app_configuration.py b/msgraph/generated/models/ios_mobile_app_configuration.py index d2b63b600bf..65cc96660ce 100644 --- a/msgraph/generated/models/ios_mobile_app_configuration.py +++ b/msgraph/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/generated/models/ios_mobile_app_identifier.py b/msgraph/generated/models/ios_mobile_app_identifier.py index b26004d2623..6987d8fb046 100644 --- a/msgraph/generated/models/ios_mobile_app_identifier.py +++ b/msgraph/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/generated/models/ios_network_usage_rule.py b/msgraph/generated/models/ios_network_usage_rule.py index 977ecbfc9e2..edc3accc7a6 100644 --- a/msgraph/generated/models/ios_network_usage_rule.py +++ b/msgraph/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/generated/models/ios_notification_settings.py b/msgraph/generated/models/ios_notification_settings.py index dbbefb2815d..c082d21aa34 100644 --- a/msgraph/generated/models/ios_notification_settings.py +++ b/msgraph/generated/models/ios_notification_settings.py @@ -80,6 +80,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ios_notification_alert_type import IosNotificationAlertType + 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/generated/models/ios_store_app.py b/msgraph/generated/models/ios_store_app.py index 7deb6ed6288..355f5bbed9f 100644 --- a/msgraph/generated/models/ios_store_app.py +++ b/msgraph/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/generated/models/ios_store_app_assignment_settings.py b/msgraph/generated/models/ios_store_app_assignment_settings.py index ca150c70b35..f985eeab5db 100644 --- a/msgraph/generated/models/ios_store_app_assignment_settings.py +++ b/msgraph/generated/models/ios_store_app_assignment_settings.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_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("isRemovable", self.is_removable) writer.write_bool_value("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) writer.write_str_value("vpnConfigurationId", self.vpn_configuration_id) diff --git a/msgraph/generated/models/ios_store_app_collection_response.py b/msgraph/generated/models/ios_store_app_collection_response.py index d9c8b36de5c..0a7ebcd4724 100644 --- a/msgraph/generated/models/ios_store_app_collection_response.py +++ b/msgraph/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/generated/models/ios_update_configuration.py b/msgraph/generated/models/ios_update_configuration.py index 3b28091e7c5..fba4a710c99 100644 --- a/msgraph/generated/models/ios_update_configuration.py +++ b/msgraph/generated/models/ios_update_configuration.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 .day_of_week import DayOfWeek + from .device_configuration import DeviceConfiguration + writer.write_time_value("activeHoursEnd", self.active_hours_end) writer.write_time_value("activeHoursStart", self.active_hours_start) writer.write_collection_of_enum_values("scheduledInstallDays", self.scheduled_install_days) diff --git a/msgraph/generated/models/ios_update_device_status.py b/msgraph/generated/models/ios_update_device_status.py index f6932300da5..cb9a2b3295c 100644 --- a/msgraph/generated/models/ios_update_device_status.py +++ b/msgraph/generated/models/ios_update_device_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 .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/generated/models/ios_update_device_status_collection_response.py b/msgraph/generated/models/ios_update_device_status_collection_response.py index 582f4b7d965..e637deacd50 100644 --- a/msgraph/generated/models/ios_update_device_status_collection_response.py +++ b/msgraph/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/generated/models/ios_vpp_app.py b/msgraph/generated/models/ios_vpp_app.py index 7661d098a51..bfc16fc686f 100644 --- a/msgraph/generated/models/ios_vpp_app.py +++ b/msgraph/generated/models/ios_vpp_app.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 .ios_device_type import IosDeviceType + 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_str_value("bundleId", self.bundle_id) diff --git a/msgraph/generated/models/ios_vpp_app_assignment_settings.py b/msgraph/generated/models/ios_vpp_app_assignment_settings.py index b3bce63fab7..9d61034722c 100644 --- a/msgraph/generated/models/ios_vpp_app_assignment_settings.py +++ b/msgraph/generated/models/ios_vpp_app_assignment_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 .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("useDeviceLicensing", self.use_device_licensing) writer.write_str_value("vpnConfigurationId", self.vpn_configuration_id) diff --git a/msgraph/generated/models/ios_vpp_app_collection_response.py b/msgraph/generated/models/ios_vpp_app_collection_response.py index c9c9c6e2056..2984a5bb9d0 100644 --- a/msgraph/generated/models/ios_vpp_app_collection_response.py +++ b/msgraph/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/generated/models/ios_vpp_e_book.py b/msgraph/generated/models/ios_vpp_e_book.py index 3df35bb9ff1..1a108725831 100644 --- a/msgraph/generated/models/ios_vpp_e_book.py +++ b/msgraph/generated/models/ios_vpp_e_book.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 .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/generated/models/ios_vpp_e_book_assignment.py b/msgraph/generated/models/ios_vpp_e_book_assignment.py index c5df84ec9b0..2d1f7b784f8 100644 --- a/msgraph/generated/models/ios_vpp_e_book_assignment.py +++ b/msgraph/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/generated/models/iosi_pad_o_s_web_clip.py b/msgraph/generated/models/iosi_pad_o_s_web_clip.py index 28c1ee5a54b..02b21310543 100644 --- a/msgraph/generated/models/iosi_pad_o_s_web_clip.py +++ b/msgraph/generated/models/iosi_pad_o_s_web_clip.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/generated/models/ip_named_location.py b/msgraph/generated/models/ip_named_location.py index 483296133ad..1bc261e2187 100644 --- a/msgraph/generated/models/ip_named_location.py +++ b/msgraph/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/generated/models/ip_range.py b/msgraph/generated/models/ip_range.py index 5c832b6aa06..a6d6a8465ea 100644 --- a/msgraph/generated/models/ip_range.py +++ b/msgraph/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/generated/models/item_activity.py b/msgraph/generated/models/item_activity.py index 318d9a6e118..d6c74fe8f22 100644 --- a/msgraph/generated/models/item_activity.py +++ b/msgraph/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/generated/models/item_activity_collection_response.py b/msgraph/generated/models/item_activity_collection_response.py index 23fc48ae1e6..9e59a15ebd8 100644 --- a/msgraph/generated/models/item_activity_collection_response.py +++ b/msgraph/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/generated/models/item_activity_stat.py b/msgraph/generated/models/item_activity_stat.py index bf8de85d87c..6f4f0e9c8c2 100644 --- a/msgraph/generated/models/item_activity_stat.py +++ b/msgraph/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/generated/models/item_activity_stat_collection_response.py b/msgraph/generated/models/item_activity_stat_collection_response.py index aa0355151d8..cd7a8ce9837 100644 --- a/msgraph/generated/models/item_activity_stat_collection_response.py +++ b/msgraph/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/generated/models/item_analytics.py b/msgraph/generated/models/item_analytics.py index ad45b6c32a6..4c0504bfd90 100644 --- a/msgraph/generated/models/item_analytics.py +++ b/msgraph/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/generated/models/item_attachment.py b/msgraph/generated/models/item_attachment.py index 4f519ec14cb..1fc70fb49a6 100644 --- a/msgraph/generated/models/item_attachment.py +++ b/msgraph/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/generated/models/item_body.py b/msgraph/generated/models/item_body.py index 120fe92c7bf..81b8e9b5fe2 100644 --- a/msgraph/generated/models/item_body.py +++ b/msgraph/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/generated/models/item_insights.py b/msgraph/generated/models/item_insights.py index 17ed357ea7d..a9982b42840 100644 --- a/msgraph/generated/models/item_insights.py +++ b/msgraph/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/generated/models/item_reference.py b/msgraph/generated/models/item_reference.py index abe447c0dcf..9b9431726f9 100644 --- a/msgraph/generated/models/item_reference.py +++ b/msgraph/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/generated/models/item_retention_label.py b/msgraph/generated/models/item_retention_label.py index 1cbd9b4a916..f9fda9597b3 100644 --- a/msgraph/generated/models/item_retention_label.py +++ b/msgraph/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/generated/models/join_meeting_id_meeting_info.py b/msgraph/generated/models/join_meeting_id_meeting_info.py index 556a04c5599..2af3d247b89 100644 --- a/msgraph/generated/models/join_meeting_id_meeting_info.py +++ b/msgraph/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/generated/models/key_credential_configuration.py b/msgraph/generated/models/key_credential_configuration.py index 4e37ce6c814..9af7205b2fb 100644 --- a/msgraph/generated/models/key_credential_configuration.py +++ b/msgraph/generated/models/key_credential_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + 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/generated/models/landing_page.py b/msgraph/generated/models/landing_page.py index 5025f8ca43e..ed82ba07152 100644 --- a/msgraph/generated/models/landing_page.py +++ b/msgraph/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/generated/models/landing_page_collection_response.py b/msgraph/generated/models/landing_page_collection_response.py index 66bfa1c8fc8..ae152552cb1 100644 --- a/msgraph/generated/models/landing_page_collection_response.py +++ b/msgraph/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/generated/models/landing_page_detail.py b/msgraph/generated/models/landing_page_detail.py index f52b3297d29..37db7d26b56 100644 --- a/msgraph/generated/models/landing_page_detail.py +++ b/msgraph/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/generated/models/landing_page_detail_collection_response.py b/msgraph/generated/models/landing_page_detail_collection_response.py index b2af37b8232..381f7df1738 100644 --- a/msgraph/generated/models/landing_page_detail_collection_response.py +++ b/msgraph/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/generated/models/learning_assignment.py b/msgraph/generated/models/learning_assignment.py index 1fe6afd56cb..9d646cda425 100644 --- a/msgraph/generated/models/learning_assignment.py +++ b/msgraph/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/generated/models/learning_content.py b/msgraph/generated/models/learning_content.py index be41190daeb..d48e7c1dcfe 100644 --- a/msgraph/generated/models/learning_content.py +++ b/msgraph/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/generated/models/learning_content_collection_response.py b/msgraph/generated/models/learning_content_collection_response.py index ab2c8aaedee..c6c4abb854f 100644 --- a/msgraph/generated/models/learning_content_collection_response.py +++ b/msgraph/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/generated/models/learning_course_activity.py b/msgraph/generated/models/learning_course_activity.py index dafbcc6a776..346810d703e 100644 --- a/msgraph/generated/models/learning_course_activity.py +++ b/msgraph/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/generated/models/learning_course_activity_collection_response.py b/msgraph/generated/models/learning_course_activity_collection_response.py index 3fcd5207f1c..dc9c6b6b154 100644 --- a/msgraph/generated/models/learning_course_activity_collection_response.py +++ b/msgraph/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/generated/models/learning_provider.py b/msgraph/generated/models/learning_provider.py index 93a12d10734..4e63ccb5d86 100644 --- a/msgraph/generated/models/learning_provider.py +++ b/msgraph/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/generated/models/learning_provider_collection_response.py b/msgraph/generated/models/learning_provider_collection_response.py index 043772b1344..c9ff70642b5 100644 --- a/msgraph/generated/models/learning_provider_collection_response.py +++ b/msgraph/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/generated/models/learning_self_initiated_course.py b/msgraph/generated/models/learning_self_initiated_course.py index 6cd21285a9c..0512d29ce4c 100644 --- a/msgraph/generated/models/learning_self_initiated_course.py +++ b/msgraph/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/generated/models/license_details.py b/msgraph/generated/models/license_details.py index 5ad237f79c8..55abb751567 100644 --- a/msgraph/generated/models/license_details.py +++ b/msgraph/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/generated/models/license_details_collection_response.py b/msgraph/generated/models/license_details_collection_response.py index 195cef74391..025a01a4fc1 100644 --- a/msgraph/generated/models/license_details_collection_response.py +++ b/msgraph/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/generated/models/linked_resource.py b/msgraph/generated/models/linked_resource.py index 1fdbffe30ef..317f7fdf762 100644 --- a/msgraph/generated/models/linked_resource.py +++ b/msgraph/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/generated/models/linked_resource_collection_response.py b/msgraph/generated/models/linked_resource_collection_response.py index b41c3e396b2..b3ffb797ba8 100644 --- a/msgraph/generated/models/linked_resource_collection_response.py +++ b/msgraph/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/generated/models/list_.py b/msgraph/generated/models/list_.py index e5eb2c0bcff..edeb4ff1c88 100644 --- a/msgraph/generated/models/list_.py +++ b/msgraph/generated/models/list_.py @@ -105,6 +105,17 @@ 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 .list_info import ListInfo + from .list_item import ListItem + 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("columns", self.columns) writer.write_collection_of_object_values("contentTypes", self.content_types) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/list_collection_response.py b/msgraph/generated/models/list_collection_response.py index 847be3832f7..97d2e475ae3 100644 --- a/msgraph/generated/models/list_collection_response.py +++ b/msgraph/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/generated/models/list_item.py b/msgraph/generated/models/list_item.py index 8aaf0844eb0..e6accee6c3d 100644 --- a/msgraph/generated/models/list_item.py +++ b/msgraph/generated/models/list_item.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 .base_item import BaseItem + from .content_type_info import ContentTypeInfo + from .document_set_version import DocumentSetVersion + from .drive_item import DriveItem + from .field_value_set import FieldValueSet + from .item_analytics import ItemAnalytics + from .list_item_version import ListItemVersion + from .sharepoint_ids import SharepointIds + writer.write_object_value("analytics", self.analytics) writer.write_object_value("contentType", self.content_type) writer.write_collection_of_object_values("documentSetVersions", self.document_set_versions) diff --git a/msgraph/generated/models/list_item_collection_response.py b/msgraph/generated/models/list_item_collection_response.py index c4b03f3ed38..2800cd390c3 100644 --- a/msgraph/generated/models/list_item_collection_response.py +++ b/msgraph/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/generated/models/list_item_version.py b/msgraph/generated/models/list_item_version.py index 2eac9f107a8..943534ad434 100644 --- a/msgraph/generated/models/list_item_version.py +++ b/msgraph/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/generated/models/list_item_version_collection_response.py b/msgraph/generated/models/list_item_version_collection_response.py index 764ba2c5ee3..c7be1eb50ec 100644 --- a/msgraph/generated/models/list_item_version_collection_response.py +++ b/msgraph/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/generated/models/lobby_bypass_settings.py b/msgraph/generated/models/lobby_bypass_settings.py index 3ed4b4f95b5..d2ed0e1858e 100644 --- a/msgraph/generated/models/lobby_bypass_settings.py +++ b/msgraph/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/generated/models/localized_notification_message.py b/msgraph/generated/models/localized_notification_message.py index 282703993c2..975aba1f46b 100644 --- a/msgraph/generated/models/localized_notification_message.py +++ b/msgraph/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/generated/models/localized_notification_message_collection_response.py b/msgraph/generated/models/localized_notification_message_collection_response.py index 53f629c643e..370c319e134 100644 --- a/msgraph/generated/models/localized_notification_message_collection_response.py +++ b/msgraph/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/generated/models/locate_device_action_result.py b/msgraph/generated/models/locate_device_action_result.py index 97e14ac3c81..cdb35d8ad3f 100644 --- a/msgraph/generated/models/locate_device_action_result.py +++ b/msgraph/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/generated/models/location.py b/msgraph/generated/models/location.py index fae44ba674e..bce915dbb24 100644 --- a/msgraph/generated/models/location.py +++ b/msgraph/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/generated/models/location_constraint.py b/msgraph/generated/models/location_constraint.py index 433c73137d9..c3dd4529e46 100644 --- a/msgraph/generated/models/location_constraint.py +++ b/msgraph/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/generated/models/location_constraint_item.py b/msgraph/generated/models/location_constraint_item.py index 53c8d6042fb..cc37fd7ceff 100644 --- a/msgraph/generated/models/location_constraint_item.py +++ b/msgraph/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/generated/models/logic_app_trigger_endpoint_configuration.py b/msgraph/generated/models/logic_app_trigger_endpoint_configuration.py index 1e3481a3cb1..ffc64d48f33 100644 --- a/msgraph/generated/models/logic_app_trigger_endpoint_configuration.py +++ b/msgraph/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/generated/models/login_page.py b/msgraph/generated/models/login_page.py index 912476b4140..28cf49c49d8 100644 --- a/msgraph/generated/models/login_page.py +++ b/msgraph/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/generated/models/login_page_collection_response.py b/msgraph/generated/models/login_page_collection_response.py index c9f28206111..01c29856a59 100644 --- a/msgraph/generated/models/login_page_collection_response.py +++ b/msgraph/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/generated/models/login_page_layout_configuration.py b/msgraph/generated/models/login_page_layout_configuration.py index c6e173ad442..d844e3cb4ee 100644 --- a/msgraph/generated/models/login_page_layout_configuration.py +++ b/msgraph/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/generated/models/long_running_operation.py b/msgraph/generated/models/long_running_operation.py index ed85cdc6e32..927a398068b 100644 --- a/msgraph/generated/models/long_running_operation.py +++ b/msgraph/generated/models/long_running_operation.py @@ -41,7 +41,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(): @@ -95,6 +96,12 @@ 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 .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/generated/models/long_running_operation_collection_response.py b/msgraph/generated/models/long_running_operation_collection_response.py index ab646924c03..1eaa173cc4e 100644 --- a/msgraph/generated/models/long_running_operation_collection_response.py +++ b/msgraph/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/generated/models/m365_apps_installation_options.py b/msgraph/generated/models/m365_apps_installation_options.py index 190f91d7398..21b5956dc82 100644 --- a/msgraph/generated/models/m365_apps_installation_options.py +++ b/msgraph/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/generated/models/mac_o_s_compliance_policy.py b/msgraph/generated/models/mac_o_s_compliance_policy.py index c8ede8c45e3..40762ab8025 100644 --- a/msgraph/generated/models/mac_o_s_compliance_policy.py +++ b/msgraph/generated/models/mac_o_s_compliance_policy.py @@ -108,6 +108,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 .device_threat_protection_level import DeviceThreatProtectionLevel + from .required_password_type import RequiredPasswordType + writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) writer.write_bool_value("firewallBlockAllIncoming", self.firewall_block_all_incoming) diff --git a/msgraph/generated/models/mac_o_s_custom_configuration.py b/msgraph/generated/models/mac_o_s_custom_configuration.py index c68828b610a..2a55967e88c 100644 --- a/msgraph/generated/models/mac_o_s_custom_configuration.py +++ b/msgraph/generated/models/mac_o_s_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/generated/models/mac_o_s_device_features_configuration.py b/msgraph/generated/models/mac_o_s_device_features_configuration.py index 6f5b1f13e76..52bd85dd3d4 100644 --- a/msgraph/generated/models/mac_o_s_device_features_configuration.py +++ b/msgraph/generated/models/mac_o_s_device_features_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_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + diff --git a/msgraph/generated/models/mac_o_s_dmg_app.py b/msgraph/generated/models/mac_o_s_dmg_app.py index 85a4319b48d..b82d9c7fbb8 100644 --- a/msgraph/generated/models/mac_o_s_dmg_app.py +++ b/msgraph/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/generated/models/mac_o_s_dmg_app_collection_response.py b/msgraph/generated/models/mac_o_s_dmg_app_collection_response.py index 29f35387eb2..e47b8cc4053 100644 --- a/msgraph/generated/models/mac_o_s_dmg_app_collection_response.py +++ b/msgraph/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/generated/models/mac_o_s_general_device_configuration.py b/msgraph/generated/models/mac_o_s_general_device_configuration.py index 65ce5c78e3e..358ce7b1305 100644 --- a/msgraph/generated/models/mac_o_s_general_device_configuration.py +++ b/msgraph/generated/models/mac_o_s_general_device_configuration.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 .app_list_item import AppListItem + from .app_list_type import AppListType + from .device_configuration import DeviceConfiguration + from .required_password_type import RequiredPasswordType + writer.write_enum_value("compliantAppListType", self.compliant_app_list_type) writer.write_collection_of_object_values("compliantAppsList", self.compliant_apps_list) writer.write_collection_of_primitive_values("emailInDomainSuffixes", self.email_in_domain_suffixes) diff --git a/msgraph/generated/models/mac_o_s_lob_app.py b/msgraph/generated/models/mac_o_s_lob_app.py index 7e447da64ff..e0ba938d52d 100644 --- a/msgraph/generated/models/mac_o_s_lob_app.py +++ b/msgraph/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/generated/models/mac_o_s_lob_app_collection_response.py b/msgraph/generated/models/mac_o_s_lob_app_collection_response.py index 14c8b4c8090..1a03bde6742 100644 --- a/msgraph/generated/models/mac_o_s_lob_app_collection_response.py +++ b/msgraph/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/generated/models/mac_o_s_microsoft_defender_app.py b/msgraph/generated/models/mac_o_s_microsoft_defender_app.py index 33607c256cb..207c56c3f67 100644 --- a/msgraph/generated/models/mac_o_s_microsoft_defender_app.py +++ b/msgraph/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/generated/models/mac_o_s_microsoft_edge_app.py b/msgraph/generated/models/mac_o_s_microsoft_edge_app.py index de04811a053..39646bc1da3 100644 --- a/msgraph/generated/models/mac_o_s_microsoft_edge_app.py +++ b/msgraph/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/generated/models/mac_o_s_office_suite_app.py b/msgraph/generated/models/mac_o_s_office_suite_app.py index 091423ab2c0..99a507ec109 100644 --- a/msgraph/generated/models/mac_o_s_office_suite_app.py +++ b/msgraph/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/generated/models/mac_os_lob_app_assignment_settings.py b/msgraph/generated/models/mac_os_lob_app_assignment_settings.py index 24f3ecbd696..a50fa6f07b2 100644 --- a/msgraph/generated/models/mac_os_lob_app_assignment_settings.py +++ b/msgraph/generated/models/mac_os_lob_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("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) diff --git a/msgraph/generated/models/mail_assessment_request.py b/msgraph/generated/models/mail_assessment_request.py index 0ce8302e24c..5cd465826ee 100644 --- a/msgraph/generated/models/mail_assessment_request.py +++ b/msgraph/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/generated/models/mail_folder.py b/msgraph/generated/models/mail_folder.py index 8ba55f492a9..3ce87b92f75 100644 --- a/msgraph/generated/models/mail_folder.py +++ b/msgraph/generated/models/mail_folder.py @@ -50,7 +50,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(): @@ -104,6 +105,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 .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 + 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/generated/models/mail_folder_collection_response.py b/msgraph/generated/models/mail_folder_collection_response.py index 81ec32f4d88..a495f8cb643 100644 --- a/msgraph/generated/models/mail_folder_collection_response.py +++ b/msgraph/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/generated/models/mail_search_folder.py b/msgraph/generated/models/mail_search_folder.py index 7f3f5c2294d..eaec268bdbf 100644 --- a/msgraph/generated/models/mail_search_folder.py +++ b/msgraph/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/generated/models/mail_tips.py b/msgraph/generated/models/mail_tips.py index c6f89c498dc..d2be78f1837 100644 --- a/msgraph/generated/models/mail_tips.py +++ b/msgraph/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/generated/models/mailbox_protection_rule.py b/msgraph/generated/models/mailbox_protection_rule.py index 1a7cefed6d3..df3bc3e40d4 100644 --- a/msgraph/generated/models/mailbox_protection_rule.py +++ b/msgraph/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/generated/models/mailbox_protection_rule_collection_response.py b/msgraph/generated/models/mailbox_protection_rule_collection_response.py index d6a01e96903..55d750070b5 100644 --- a/msgraph/generated/models/mailbox_protection_rule_collection_response.py +++ b/msgraph/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/generated/models/mailbox_protection_unit.py b/msgraph/generated/models/mailbox_protection_unit.py index ebe93175e96..d20aae7ccd5 100644 --- a/msgraph/generated/models/mailbox_protection_unit.py +++ b/msgraph/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/generated/models/mailbox_protection_unit_collection_response.py b/msgraph/generated/models/mailbox_protection_unit_collection_response.py index 3d4678f5cd2..49826f8b66f 100644 --- a/msgraph/generated/models/mailbox_protection_unit_collection_response.py +++ b/msgraph/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/generated/models/mailbox_restore_artifact.py b/msgraph/generated/models/mailbox_restore_artifact.py index 604d39d368c..2cc7907be56 100644 --- a/msgraph/generated/models/mailbox_restore_artifact.py +++ b/msgraph/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/generated/models/mailbox_restore_artifact_collection_response.py b/msgraph/generated/models/mailbox_restore_artifact_collection_response.py index 24083505b07..0c64e15117f 100644 --- a/msgraph/generated/models/mailbox_restore_artifact_collection_response.py +++ b/msgraph/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/generated/models/mailbox_settings.py b/msgraph/generated/models/mailbox_settings.py index ee8ae455fed..bf3a4362341 100644 --- a/msgraph/generated/models/mailbox_settings.py +++ b/msgraph/generated/models/mailbox_settings.py @@ -89,6 +89,12 @@ 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 .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/generated/models/malware_state_for_windows_device.py b/msgraph/generated/models/malware_state_for_windows_device.py index b6bd3dbc882..271c4637c23 100644 --- a/msgraph/generated/models/malware_state_for_windows_device.py +++ b/msgraph/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/generated/models/malware_state_for_windows_device_collection_response.py b/msgraph/generated/models/malware_state_for_windows_device_collection_response.py index cb134efaf63..6a897be5efa 100644 --- a/msgraph/generated/models/malware_state_for_windows_device_collection_response.py +++ b/msgraph/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/generated/models/managed_android_lob_app.py b/msgraph/generated/models/managed_android_lob_app.py index a4ffd90e6bd..063cf023804 100644 --- a/msgraph/generated/models/managed_android_lob_app.py +++ b/msgraph/generated/models/managed_android_lob_app.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 .android_minimum_operating_system import AndroidMinimumOperatingSystem + 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_str_value("versionCode", self.version_code) diff --git a/msgraph/generated/models/managed_android_lob_app_collection_response.py b/msgraph/generated/models/managed_android_lob_app_collection_response.py index d03e0c29ae8..ff6548680f6 100644 --- a/msgraph/generated/models/managed_android_lob_app_collection_response.py +++ b/msgraph/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/generated/models/managed_android_store_app.py b/msgraph/generated/models/managed_android_store_app.py index cc98549a90f..3b78fdf916c 100644 --- a/msgraph/generated/models/managed_android_store_app.py +++ b/msgraph/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/generated/models/managed_app.py b/msgraph/generated/models/managed_app.py index cd44551da66..83d376fd3b3 100644 --- a/msgraph/generated/models/managed_app.py +++ b/msgraph/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/generated/models/managed_app_configuration.py b/msgraph/generated/models/managed_app_configuration.py index 53b15df64fe..e4785e145e2 100644 --- a/msgraph/generated/models/managed_app_configuration.py +++ b/msgraph/generated/models/managed_app_configuration.py @@ -30,7 +30,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(): @@ -68,6 +69,10 @@ 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_policy import ManagedAppPolicy + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + writer.write_collection_of_object_values("customSettings", self.custom_settings) diff --git a/msgraph/generated/models/managed_app_operation.py b/msgraph/generated/models/managed_app_operation.py index 3b7ecec3f8e..b88da812e21 100644 --- a/msgraph/generated/models/managed_app_operation.py +++ b/msgraph/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/generated/models/managed_app_operation_collection_response.py b/msgraph/generated/models/managed_app_operation_collection_response.py index 2ae010a59cf..7917f9cb55c 100644 --- a/msgraph/generated/models/managed_app_operation_collection_response.py +++ b/msgraph/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/generated/models/managed_app_policy.py b/msgraph/generated/models/managed_app_policy.py index 99c00573801..4f712f249b7 100644 --- a/msgraph/generated/models/managed_app_policy.py +++ b/msgraph/generated/models/managed_app_policy.py @@ -47,7 +47,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(): @@ -141,6 +142,18 @@ 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 + 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/generated/models/managed_app_policy_collection_response.py b/msgraph/generated/models/managed_app_policy_collection_response.py index 7f0d8ae4f5e..2a22bb005f4 100644 --- a/msgraph/generated/models/managed_app_policy_collection_response.py +++ b/msgraph/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/generated/models/managed_app_policy_deployment_summary.py b/msgraph/generated/models/managed_app_policy_deployment_summary.py index 4d7a1f7e47a..654919f450e 100644 --- a/msgraph/generated/models/managed_app_policy_deployment_summary.py +++ b/msgraph/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/generated/models/managed_app_policy_deployment_summary_per_app.py b/msgraph/generated/models/managed_app_policy_deployment_summary_per_app.py index 0960971828b..7f669741530 100644 --- a/msgraph/generated/models/managed_app_policy_deployment_summary_per_app.py +++ b/msgraph/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/generated/models/managed_app_protection.py b/msgraph/generated/models/managed_app_protection.py index ea1f5f5a4a1..9c4c3895ac4 100644 --- a/msgraph/generated/models/managed_app_protection.py +++ b/msgraph/generated/models/managed_app_protection.py @@ -90,7 +90,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(): @@ -180,6 +181,17 @@ 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_storage_location import ManagedAppDataStorageLocation + from .managed_app_data_transfer_level import ManagedAppDataTransferLevel + from .managed_app_pin_character_set import ManagedAppPinCharacterSet + from .managed_app_policy import ManagedAppPolicy + from .managed_browser_type import ManagedBrowserType + from .targeted_managed_app_protection import TargetedManagedAppProtection + writer.write_collection_of_enum_values("allowedDataStorageLocations", self.allowed_data_storage_locations) writer.write_enum_value("allowedInboundDataTransferSources", self.allowed_inbound_data_transfer_sources) writer.write_enum_value("allowedOutboundClipboardSharingLevel", self.allowed_outbound_clipboard_sharing_level) diff --git a/msgraph/generated/models/managed_app_registration.py b/msgraph/generated/models/managed_app_registration.py index 2f3012f0852..2333ce79143 100644 --- a/msgraph/generated/models/managed_app_registration.py +++ b/msgraph/generated/models/managed_app_registration.py @@ -63,7 +63,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(): @@ -127,6 +128,14 @@ 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_operation import ManagedAppOperation + from .managed_app_policy import ManagedAppPolicy + from .mobile_app_identifier import MobileAppIdentifier + 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/generated/models/managed_app_registration_collection_response.py b/msgraph/generated/models/managed_app_registration_collection_response.py index cbb3828127b..a9b285c2855 100644 --- a/msgraph/generated/models/managed_app_registration_collection_response.py +++ b/msgraph/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/generated/models/managed_app_status.py b/msgraph/generated/models/managed_app_status.py index 49d4cd8b34e..cf2ea139122 100644 --- a/msgraph/generated/models/managed_app_status.py +++ b/msgraph/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/generated/models/managed_app_status_collection_response.py b/msgraph/generated/models/managed_app_status_collection_response.py index b09d6defb95..2bd7334cb12 100644 --- a/msgraph/generated/models/managed_app_status_collection_response.py +++ b/msgraph/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/generated/models/managed_app_status_raw.py b/msgraph/generated/models/managed_app_status_raw.py index ee0821da9b5..6b3dc0fc5f7 100644 --- a/msgraph/generated/models/managed_app_status_raw.py +++ b/msgraph/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/generated/models/managed_device.py b/msgraph/generated/models/managed_device.py index c4deb0943fe..8761bdd9fb9 100644 --- a/msgraph/generated/models/managed_device.py +++ b/msgraph/generated/models/managed_device.py @@ -283,6 +283,25 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_state import ComplianceState + from .configuration_manager_client_enabled_features import ConfigurationManagerClientEnabledFeatures + 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_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 .entity import Entity + from .managed_device_owner_type import ManagedDeviceOwnerType + from .managed_device_partner_reported_health_state import ManagedDevicePartnerReportedHealthState + from .management_agent_type import ManagementAgentType + from .user import User + from .windows_protection_state import WindowsProtectionState + writer.write_enum_value("complianceState", self.compliance_state) writer.write_object_value("deviceCategory", self.device_category) writer.write_collection_of_object_values("deviceCompliancePolicyStates", self.device_compliance_policy_states) diff --git a/msgraph/generated/models/managed_device_collection_response.py b/msgraph/generated/models/managed_device_collection_response.py index cd5208a0134..404b57ed92a 100644 --- a/msgraph/generated/models/managed_device_collection_response.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration.py b/msgraph/generated/models/managed_device_mobile_app_configuration.py index a1bdc99625b..90b26240add 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration.py +++ b/msgraph/generated/models/managed_device_mobile_app_configuration.py @@ -55,7 +55,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.iosMobileAppConfiguration".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 .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/generated/models/managed_device_mobile_app_configuration_assignment.py b/msgraph/generated/models/managed_device_mobile_app_configuration_assignment.py index 872bca6e6b2..803ee830bb2 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_assignment.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py b/msgraph/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py index 5b6429fb788..8f1a7dd8a7c 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration_collection_response.py b/msgraph/generated/models/managed_device_mobile_app_configuration_collection_response.py index 77d4889e366..e8d873cd13d 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_collection_response.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration_device_status.py b/msgraph/generated/models/managed_device_mobile_app_configuration_device_status.py index bd6c4369be9..e204358cd7b 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_device_status.py +++ b/msgraph/generated/models/managed_device_mobile_app_configuration_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/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py b/msgraph/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py index c0e7aceb340..2793e85a759 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration_device_summary.py b/msgraph/generated/models/managed_device_mobile_app_configuration_device_summary.py index ef76640b6db..a2668fe2608 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_device_summary.py +++ b/msgraph/generated/models/managed_device_mobile_app_configuration_device_summary.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("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph/generated/models/managed_device_mobile_app_configuration_user_status.py b/msgraph/generated/models/managed_device_mobile_app_configuration_user_status.py index 62b89a95f6a..a107c1404ab 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_user_status.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py b/msgraph/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py index 158ebbf30f7..92c57c98dfa 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py +++ b/msgraph/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/generated/models/managed_device_mobile_app_configuration_user_summary.py b/msgraph/generated/models/managed_device_mobile_app_configuration_user_summary.py index f9fe27a6139..9b179650a8f 100644 --- a/msgraph/generated/models/managed_device_mobile_app_configuration_user_summary.py +++ b/msgraph/generated/models/managed_device_mobile_app_configuration_user_summary.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("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph/generated/models/managed_device_overview.py b/msgraph/generated/models/managed_device_overview.py index 5bf54c741fb..9f83c6d9617 100644 --- a/msgraph/generated/models/managed_device_overview.py +++ b/msgraph/generated/models/managed_device_overview.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_exchange_access_state_summary import DeviceExchangeAccessStateSummary + from .device_operating_system_summary import DeviceOperatingSystemSummary + from .entity import Entity + 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/generated/models/managed_e_book.py b/msgraph/generated/models/managed_e_book.py index 8263d8ab031..a9fd36ff43e 100644 --- a/msgraph/generated/models/managed_e_book.py +++ b/msgraph/generated/models/managed_e_book.py @@ -59,7 +59,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(): @@ -117,6 +118,14 @@ 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 .mime_content import MimeContent + from .user_install_state_summary import UserInstallStateSummary + 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/generated/models/managed_e_book_assignment.py b/msgraph/generated/models/managed_e_book_assignment.py index af42dcd6555..ee3ac419797 100644 --- a/msgraph/generated/models/managed_e_book_assignment.py +++ b/msgraph/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/generated/models/managed_e_book_assignment_collection_response.py b/msgraph/generated/models/managed_e_book_assignment_collection_response.py index c5afe8f97a3..ba993d0addf 100644 --- a/msgraph/generated/models/managed_e_book_assignment_collection_response.py +++ b/msgraph/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/generated/models/managed_e_book_collection_response.py b/msgraph/generated/models/managed_e_book_collection_response.py index fc03de0265b..aff25858fae 100644 --- a/msgraph/generated/models/managed_e_book_collection_response.py +++ b/msgraph/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/generated/models/managed_i_o_s_lob_app.py b/msgraph/generated/models/managed_i_o_s_lob_app.py index 589f0d6509b..02246ea1b7f 100644 --- a/msgraph/generated/models/managed_i_o_s_lob_app.py +++ b/msgraph/generated/models/managed_i_o_s_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 .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/generated/models/managed_i_o_s_lob_app_collection_response.py b/msgraph/generated/models/managed_i_o_s_lob_app_collection_response.py index caa31f2b499..bb16756d502 100644 --- a/msgraph/generated/models/managed_i_o_s_lob_app_collection_response.py +++ b/msgraph/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/generated/models/managed_i_o_s_store_app.py b/msgraph/generated/models/managed_i_o_s_store_app.py index 172033da2e5..20e17c349c4 100644 --- a/msgraph/generated/models/managed_i_o_s_store_app.py +++ b/msgraph/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/generated/models/managed_mobile_app.py b/msgraph/generated/models/managed_mobile_app.py index 4558e7bd154..3d216410dbd 100644 --- a/msgraph/generated/models/managed_mobile_app.py +++ b/msgraph/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/generated/models/managed_mobile_app_collection_response.py b/msgraph/generated/models/managed_mobile_app_collection_response.py index 73bfbd1e4f0..60b3de79759 100644 --- a/msgraph/generated/models/managed_mobile_app_collection_response.py +++ b/msgraph/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/generated/models/managed_mobile_lob_app.py b/msgraph/generated/models/managed_mobile_lob_app.py index e6078dd89e1..e9e303b2f59 100644 --- a/msgraph/generated/models/managed_mobile_lob_app.py +++ b/msgraph/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/generated/models/managed_mobile_lob_app_collection_response.py b/msgraph/generated/models/managed_mobile_lob_app_collection_response.py index 102a6789857..ffd55b81d58 100644 --- a/msgraph/generated/models/managed_mobile_lob_app_collection_response.py +++ b/msgraph/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/generated/models/mdm_windows_information_protection_policy.py b/msgraph/generated/models/mdm_windows_information_protection_policy.py index 8a13285e29b..eb2f02e9eef 100644 --- a/msgraph/generated/models/mdm_windows_information_protection_policy.py +++ b/msgraph/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/generated/models/mdm_windows_information_protection_policy_collection_response.py b/msgraph/generated/models/mdm_windows_information_protection_policy_collection_response.py index b79d2a435ed..06ebe59a69b 100644 --- a/msgraph/generated/models/mdm_windows_information_protection_policy_collection_response.py +++ b/msgraph/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/generated/models/media_config.py b/msgraph/generated/models/media_config.py index c82633f048b..b0afc753866 100644 --- a/msgraph/generated/models/media_config.py +++ b/msgraph/generated/models/media_config.py @@ -28,7 +28,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(): @@ -65,6 +66,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_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/media_content_rating_australia.py b/msgraph/generated/models/media_content_rating_australia.py index ecf5d7c2cfd..d166da361b5 100644 --- a/msgraph/generated/models/media_content_rating_australia.py +++ b/msgraph/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/generated/models/media_content_rating_canada.py b/msgraph/generated/models/media_content_rating_canada.py index c5116120875..49a3c22e8ea 100644 --- a/msgraph/generated/models/media_content_rating_canada.py +++ b/msgraph/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/generated/models/media_content_rating_france.py b/msgraph/generated/models/media_content_rating_france.py index 91405e8eee0..5281c6da286 100644 --- a/msgraph/generated/models/media_content_rating_france.py +++ b/msgraph/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/generated/models/media_content_rating_germany.py b/msgraph/generated/models/media_content_rating_germany.py index c9a4caf0a30..8031e90b660 100644 --- a/msgraph/generated/models/media_content_rating_germany.py +++ b/msgraph/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/generated/models/media_content_rating_ireland.py b/msgraph/generated/models/media_content_rating_ireland.py index c13cb7991be..495f1f00764 100644 --- a/msgraph/generated/models/media_content_rating_ireland.py +++ b/msgraph/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/generated/models/media_content_rating_japan.py b/msgraph/generated/models/media_content_rating_japan.py index 8f6a3a31e0e..5076cbccd91 100644 --- a/msgraph/generated/models/media_content_rating_japan.py +++ b/msgraph/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/generated/models/media_content_rating_new_zealand.py b/msgraph/generated/models/media_content_rating_new_zealand.py index 7c26dab8d7a..e4b4b200a40 100644 --- a/msgraph/generated/models/media_content_rating_new_zealand.py +++ b/msgraph/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/generated/models/media_content_rating_united_kingdom.py b/msgraph/generated/models/media_content_rating_united_kingdom.py index 46148d68276..6fd02f3b84e 100644 --- a/msgraph/generated/models/media_content_rating_united_kingdom.py +++ b/msgraph/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/generated/models/media_content_rating_united_states.py b/msgraph/generated/models/media_content_rating_united_states.py index 7f8af18cf52..dcd0e097cb0 100644 --- a/msgraph/generated/models/media_content_rating_united_states.py +++ b/msgraph/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/generated/models/media_prompt.py b/msgraph/generated/models/media_prompt.py index 6c9b0e2f854..f9427fae9c9 100644 --- a/msgraph/generated/models/media_prompt.py +++ b/msgraph/generated/models/media_prompt.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_info import MediaInfo + from .prompt import Prompt + writer.write_object_value("mediaInfo", self.media_info) diff --git a/msgraph/generated/models/media_source.py b/msgraph/generated/models/media_source.py index 7734bbbdc3b..020546487de 100644 --- a/msgraph/generated/models/media_source.py +++ b/msgraph/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/generated/models/media_stream.py b/msgraph/generated/models/media_stream.py index 81f15670a0c..5b8ae2bd2c1 100644 --- a/msgraph/generated/models/media_stream.py +++ b/msgraph/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/generated/models/meeting_attendance_report.py b/msgraph/generated/models/meeting_attendance_report.py index a30a50ba9bd..f8225608d4c 100644 --- a/msgraph/generated/models/meeting_attendance_report.py +++ b/msgraph/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/generated/models/meeting_attendance_report_collection_response.py b/msgraph/generated/models/meeting_attendance_report_collection_response.py index 6909638ed3f..e362270e6b1 100644 --- a/msgraph/generated/models/meeting_attendance_report_collection_response.py +++ b/msgraph/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/generated/models/meeting_info.py b/msgraph/generated/models/meeting_info.py index 454d7f95dad..06620738b71 100644 --- a/msgraph/generated/models/meeting_info.py +++ b/msgraph/generated/models/meeting_info.py @@ -29,7 +29,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(): @@ -72,6 +73,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_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/meeting_participant_info.py b/msgraph/generated/models/meeting_participant_info.py index 0f3bdde78c5..4f65bf55066 100644 --- a/msgraph/generated/models/meeting_participant_info.py +++ b/msgraph/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/generated/models/meeting_participants.py b/msgraph/generated/models/meeting_participants.py index 2bf6032c70a..0076dd9fa3f 100644 --- a/msgraph/generated/models/meeting_participants.py +++ b/msgraph/generated/models/meeting_participants.py @@ -56,6 +56,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_str_value("@odata.type", self.odata_type) writer.write_object_value("organizer", self.organizer) diff --git a/msgraph/generated/models/meeting_policy_updated_event_message_detail.py b/msgraph/generated/models/meeting_policy_updated_event_message_detail.py index 15fb3c9cee4..f9d0558b878 100644 --- a/msgraph/generated/models/meeting_policy_updated_event_message_detail.py +++ b/msgraph/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/generated/models/meeting_time_suggestion.py b/msgraph/generated/models/meeting_time_suggestion.py index 30ab60e2b48..6c75cbc4bca 100644 --- a/msgraph/generated/models/meeting_time_suggestion.py +++ b/msgraph/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/generated/models/meeting_time_suggestions_result.py b/msgraph/generated/models/meeting_time_suggestions_result.py index ad6ecd3bbac..ab29115ee2f 100644 --- a/msgraph/generated/models/meeting_time_suggestions_result.py +++ b/msgraph/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/generated/models/members_added_event_message_detail.py b/msgraph/generated/models/members_added_event_message_detail.py index 70d8c64f07c..cb830f671b7 100644 --- a/msgraph/generated/models/members_added_event_message_detail.py +++ b/msgraph/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/generated/models/members_deleted_event_message_detail.py b/msgraph/generated/models/members_deleted_event_message_detail.py index d3c1b9523fb..07619fefbb6 100644 --- a/msgraph/generated/models/members_deleted_event_message_detail.py +++ b/msgraph/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/generated/models/members_joined_event_message_detail.py b/msgraph/generated/models/members_joined_event_message_detail.py index 4362d16fdce..41569f57143 100644 --- a/msgraph/generated/models/members_joined_event_message_detail.py +++ b/msgraph/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/generated/models/members_left_event_message_detail.py b/msgraph/generated/models/members_left_event_message_detail.py index 90b0c3d772d..746b07defff 100644 --- a/msgraph/generated/models/members_left_event_message_detail.py +++ b/msgraph/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/generated/models/membership_outlier_insight.py b/msgraph/generated/models/membership_outlier_insight.py index 5b26fa58780..e184df13d42 100644 --- a/msgraph/generated/models/membership_outlier_insight.py +++ b/msgraph/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/generated/models/message.py b/msgraph/generated/models/message.py index b3155d3686b..1cb00965d76 100644 --- a/msgraph/generated/models/message.py +++ b/msgraph/generated/models/message.py @@ -98,7 +98,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(): @@ -201,6 +202,22 @@ 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 .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/generated/models/message_collection_response.py b/msgraph/generated/models/message_collection_response.py index 9ad13b34992..9d49cc1b0f3 100644 --- a/msgraph/generated/models/message_collection_response.py +++ b/msgraph/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/generated/models/message_pinned_event_message_detail.py b/msgraph/generated/models/message_pinned_event_message_detail.py index 37cce2975b7..ec55aa4a310 100644 --- a/msgraph/generated/models/message_pinned_event_message_detail.py +++ b/msgraph/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/generated/models/message_rule.py b/msgraph/generated/models/message_rule.py index aca86053711..231330c5b26 100644 --- a/msgraph/generated/models/message_rule.py +++ b/msgraph/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/generated/models/message_rule_actions.py b/msgraph/generated/models/message_rule_actions.py index 3e9a523eddd..bc30ba46756 100644 --- a/msgraph/generated/models/message_rule_actions.py +++ b/msgraph/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/generated/models/message_rule_collection_response.py b/msgraph/generated/models/message_rule_collection_response.py index 15e23c3612e..d134255e3e3 100644 --- a/msgraph/generated/models/message_rule_collection_response.py +++ b/msgraph/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/generated/models/message_rule_predicates.py b/msgraph/generated/models/message_rule_predicates.py index 2f080d917af..7ba39c75ffa 100644 --- a/msgraph/generated/models/message_rule_predicates.py +++ b/msgraph/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/generated/models/message_unpinned_event_message_detail.py b/msgraph/generated/models/message_unpinned_event_message_detail.py index a09da6c950a..79202530246 100644 --- a/msgraph/generated/models/message_unpinned_event_message_detail.py +++ b/msgraph/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/generated/models/microsoft_account_user_conversation_member.py b/msgraph/generated/models/microsoft_account_user_conversation_member.py index 4a718e4cdd7..49099d7dc29 100644 --- a/msgraph/generated/models/microsoft_account_user_conversation_member.py +++ b/msgraph/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/generated/models/microsoft_authenticator_authentication_method.py b/msgraph/generated/models/microsoft_authenticator_authentication_method.py index 70f925c0f89..7ea2e2d48e4 100644 --- a/msgraph/generated/models/microsoft_authenticator_authentication_method.py +++ b/msgraph/generated/models/microsoft_authenticator_authentication_method.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 .authentication_method import AuthenticationMethod + from .device import Device + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("device", self.device) writer.write_str_value("deviceTag", self.device_tag) diff --git a/msgraph/generated/models/microsoft_authenticator_authentication_method_collection_response.py b/msgraph/generated/models/microsoft_authenticator_authentication_method_collection_response.py index 043d22cbd73..f72cbc6b4b0 100644 --- a/msgraph/generated/models/microsoft_authenticator_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/microsoft_authenticator_authentication_method_configuration.py b/msgraph/generated/models/microsoft_authenticator_authentication_method_configuration.py index 7dd630c00f4..63f4303d9c7 100644 --- a/msgraph/generated/models/microsoft_authenticator_authentication_method_configuration.py +++ b/msgraph/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/generated/models/microsoft_authenticator_authentication_method_target.py b/msgraph/generated/models/microsoft_authenticator_authentication_method_target.py index c43b7a671be..7fa10882ca4 100644 --- a/msgraph/generated/models/microsoft_authenticator_authentication_method_target.py +++ b/msgraph/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/generated/models/microsoft_authenticator_feature_settings.py b/msgraph/generated/models/microsoft_authenticator_feature_settings.py index 8135893e308..111d0545b9f 100644 --- a/msgraph/generated/models/microsoft_authenticator_feature_settings.py +++ b/msgraph/generated/models/microsoft_authenticator_feature_settings.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_configuration import AuthenticationMethodFeatureConfiguration + writer.write_object_value("displayAppInformationRequiredState", self.display_app_information_required_state) writer.write_object_value("displayLocationInformationRequiredState", self.display_location_information_required_state) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/microsoft_custom_training_setting.py b/msgraph/generated/models/microsoft_custom_training_setting.py index 4af8d6319f5..e7e541195d0 100644 --- a/msgraph/generated/models/microsoft_custom_training_setting.py +++ b/msgraph/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/generated/models/microsoft_managed_desktop.py b/msgraph/generated/models/microsoft_managed_desktop.py index f2b9b522400..064bcceeac7 100644 --- a/msgraph/generated/models/microsoft_managed_desktop.py +++ b/msgraph/generated/models/microsoft_managed_desktop.py @@ -56,6 +56,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/generated/models/microsoft_managed_training_setting.py b/msgraph/generated/models/microsoft_managed_training_setting.py index cd3b30c57c0..8e1409e0dbc 100644 --- a/msgraph/generated/models/microsoft_managed_training_setting.py +++ b/msgraph/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/generated/models/microsoft_store_for_business_app.py b/msgraph/generated/models/microsoft_store_for_business_app.py index b5e1ad68018..be74f9d6bac 100644 --- a/msgraph/generated/models/microsoft_store_for_business_app.py +++ b/msgraph/generated/models/microsoft_store_for_business_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 .microsoft_store_for_business_license_type import MicrosoftStoreForBusinessLicenseType + from .mobile_app import MobileApp + writer.write_enum_value("licenseType", self.license_type) writer.write_str_value("packageIdentityName", self.package_identity_name) writer.write_str_value("productKey", self.product_key) diff --git a/msgraph/generated/models/microsoft_store_for_business_app_assignment_settings.py b/msgraph/generated/models/microsoft_store_for_business_app_assignment_settings.py index 3fab3a2079e..21c233a50c2 100644 --- a/msgraph/generated/models/microsoft_store_for_business_app_assignment_settings.py +++ b/msgraph/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/generated/models/microsoft_store_for_business_app_collection_response.py b/msgraph/generated/models/microsoft_store_for_business_app_collection_response.py index 2f55c989600..88a135b4c62 100644 --- a/msgraph/generated/models/microsoft_store_for_business_app_collection_response.py +++ b/msgraph/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/generated/models/microsoft_training_assignment_mapping.py b/msgraph/generated/models/microsoft_training_assignment_mapping.py index 80a32846726..6ced074fd50 100644 --- a/msgraph/generated/models/microsoft_training_assignment_mapping.py +++ b/msgraph/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/generated/models/mobile_app.py b/msgraph/generated/models/mobile_app.py index 200604c1556..8a0f5b07745 100644 --- a/msgraph/generated/models/mobile_app.py +++ b/msgraph/generated/models/mobile_app.py @@ -87,7 +87,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.androidLobApp".casefold(): @@ -295,6 +296,38 @@ 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 .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_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 .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_lob_app import MobileLobApp + from .web_app import WebApp + 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_universal_app_x import WindowsUniversalAppX + from .windows_web_app import WindowsWebApp + 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/generated/models/mobile_app_assignment.py b/msgraph/generated/models/mobile_app_assignment.py index a8602421d2c..6bf89fe26e2 100644 --- a/msgraph/generated/models/mobile_app_assignment.py +++ b/msgraph/generated/models/mobile_app_assignment.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_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_object_value("target", self.target) diff --git a/msgraph/generated/models/mobile_app_assignment_collection_response.py b/msgraph/generated/models/mobile_app_assignment_collection_response.py index 3bda8097d80..fab3a9b2393 100644 --- a/msgraph/generated/models/mobile_app_assignment_collection_response.py +++ b/msgraph/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/generated/models/mobile_app_assignment_settings.py b/msgraph/generated/models/mobile_app_assignment_settings.py index c240111a67a..527b599ead3 100644 --- a/msgraph/generated/models/mobile_app_assignment_settings.py +++ b/msgraph/generated/models/mobile_app_assignment_settings.py @@ -37,7 +37,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.iosLobAppAssignmentSettings".casefold(): @@ -110,6 +111,15 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + 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 .microsoft_store_for_business_app_assignment_settings import MicrosoftStoreForBusinessAppAssignmentSettings + 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 + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/mobile_app_category.py b/msgraph/generated/models/mobile_app_category.py index cbd22fdbabe..5fcc45b955b 100644 --- a/msgraph/generated/models/mobile_app_category.py +++ b/msgraph/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/generated/models/mobile_app_category_collection_response.py b/msgraph/generated/models/mobile_app_category_collection_response.py index c56643d7eff..2490b8c5ff9 100644 --- a/msgraph/generated/models/mobile_app_category_collection_response.py +++ b/msgraph/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/generated/models/mobile_app_collection_response.py b/msgraph/generated/models/mobile_app_collection_response.py index 481522d456d..8e2a5fa149e 100644 --- a/msgraph/generated/models/mobile_app_collection_response.py +++ b/msgraph/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/generated/models/mobile_app_content.py b/msgraph/generated/models/mobile_app_content.py index 941bd458e39..43ecaa14255 100644 --- a/msgraph/generated/models/mobile_app_content.py +++ b/msgraph/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/generated/models/mobile_app_content_collection_response.py b/msgraph/generated/models/mobile_app_content_collection_response.py index f30c1e9fd1a..e15cc75bcee 100644 --- a/msgraph/generated/models/mobile_app_content_collection_response.py +++ b/msgraph/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/generated/models/mobile_app_content_file.py b/msgraph/generated/models/mobile_app_content_file.py index 59e17bc30da..4d4a68bd31c 100644 --- a/msgraph/generated/models/mobile_app_content_file.py +++ b/msgraph/generated/models/mobile_app_content_file.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 .mobile_app_content_file_upload_state import MobileAppContentFileUploadState + writer.write_bool_value("isDependency", self.is_dependency) writer.write_bytes_value("manifest", self.manifest) writer.write_str_value("name", self.name) diff --git a/msgraph/generated/models/mobile_app_content_file_collection_response.py b/msgraph/generated/models/mobile_app_content_file_collection_response.py index ad04d1c4234..7000b073dc4 100644 --- a/msgraph/generated/models/mobile_app_content_file_collection_response.py +++ b/msgraph/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/generated/models/mobile_app_identifier.py b/msgraph/generated/models/mobile_app_identifier.py index 5bf480d98dc..bdd57314889 100644 --- a/msgraph/generated/models/mobile_app_identifier.py +++ b/msgraph/generated/models/mobile_app_identifier.py @@ -31,7 +31,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(): @@ -68,6 +69,9 @@ 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 + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/mobile_app_troubleshooting_event.py b/msgraph/generated/models/mobile_app_troubleshooting_event.py index 5a9f4226b93..5d2add35dc8 100644 --- a/msgraph/generated/models/mobile_app_troubleshooting_event.py +++ b/msgraph/generated/models/mobile_app_troubleshooting_event.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_log_collection_request import AppLogCollectionRequest + from .entity import Entity + writer.write_collection_of_object_values("appLogCollectionRequests", self.app_log_collection_requests) diff --git a/msgraph/generated/models/mobile_app_troubleshooting_event_collection_response.py b/msgraph/generated/models/mobile_app_troubleshooting_event_collection_response.py index 163f66c1eb4..4a70e259d9d 100644 --- a/msgraph/generated/models/mobile_app_troubleshooting_event_collection_response.py +++ b/msgraph/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/generated/models/mobile_contained_app.py b/msgraph/generated/models/mobile_contained_app.py index 3a69db067fd..c33bd448c95 100644 --- a/msgraph/generated/models/mobile_contained_app.py +++ b/msgraph/generated/models/mobile_contained_app.py @@ -27,7 +27,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.windowsUniversalAppXContainedApp".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 .entity import Entity + from .windows_universal_app_x_contained_app import WindowsUniversalAppXContainedApp + diff --git a/msgraph/generated/models/mobile_contained_app_collection_response.py b/msgraph/generated/models/mobile_contained_app_collection_response.py index d9be76deb36..5a5f232b592 100644 --- a/msgraph/generated/models/mobile_contained_app_collection_response.py +++ b/msgraph/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/generated/models/mobile_lob_app.py b/msgraph/generated/models/mobile_lob_app.py index e8a70bbdb07..318db28a850 100644 --- a/msgraph/generated/models/mobile_lob_app.py +++ b/msgraph/generated/models/mobile_lob_app.py @@ -43,7 +43,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(): @@ -126,6 +127,17 @@ 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 .mobile_app import MobileApp + from .mobile_app_content import MobileAppContent + from .win32_lob_app import Win32LobApp + from .windows_app_x import WindowsAppX + from .windows_mobile_m_s_i import WindowsMobileMSI + 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/generated/models/mobile_threat_defense_connector.py b/msgraph/generated/models/mobile_threat_defense_connector.py index 077ef33966b..beb28b09f28 100644 --- a/msgraph/generated/models/mobile_threat_defense_connector.py +++ b/msgraph/generated/models/mobile_threat_defense_connector.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 .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/generated/models/mobile_threat_defense_connector_collection_response.py b/msgraph/generated/models/mobile_threat_defense_connector_collection_response.py index c4ea86db7cd..b7fd19057e4 100644 --- a/msgraph/generated/models/mobile_threat_defense_connector_collection_response.py +++ b/msgraph/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/generated/models/multi_tenant_organization.py b/msgraph/generated/models/multi_tenant_organization.py index 3ee1b720322..6f29e122623 100644 --- a/msgraph/generated/models/multi_tenant_organization.py +++ b/msgraph/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/generated/models/multi_tenant_organization_identity_sync_policy_template.py b/msgraph/generated/models/multi_tenant_organization_identity_sync_policy_template.py index b91f99786fd..1be47417728 100644 --- a/msgraph/generated/models/multi_tenant_organization_identity_sync_policy_template.py +++ b/msgraph/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/generated/models/multi_tenant_organization_join_request_record.py b/msgraph/generated/models/multi_tenant_organization_join_request_record.py index a6fb81bdb3a..ef510fd1705 100644 --- a/msgraph/generated/models/multi_tenant_organization_join_request_record.py +++ b/msgraph/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/generated/models/multi_tenant_organization_join_request_transition_details.py b/msgraph/generated/models/multi_tenant_organization_join_request_transition_details.py index d0b726e21b9..e73f99287f9 100644 --- a/msgraph/generated/models/multi_tenant_organization_join_request_transition_details.py +++ b/msgraph/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/generated/models/multi_tenant_organization_member.py b/msgraph/generated/models/multi_tenant_organization_member.py index 6b0f7afb3a2..fb5f98bf6b0 100644 --- a/msgraph/generated/models/multi_tenant_organization_member.py +++ b/msgraph/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/generated/models/multi_tenant_organization_member_collection_response.py b/msgraph/generated/models/multi_tenant_organization_member_collection_response.py index 8c2ad5c1fef..1c6008f3039 100644 --- a/msgraph/generated/models/multi_tenant_organization_member_collection_response.py +++ b/msgraph/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/generated/models/multi_tenant_organization_member_transition_details.py b/msgraph/generated/models/multi_tenant_organization_member_transition_details.py index d88be2e4107..85b5ceb027d 100644 --- a/msgraph/generated/models/multi_tenant_organization_member_transition_details.py +++ b/msgraph/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/generated/models/multi_tenant_organization_partner_configuration_template.py b/msgraph/generated/models/multi_tenant_organization_partner_configuration_template.py index eb5c86852f6..fc292f02c9e 100644 --- a/msgraph/generated/models/multi_tenant_organization_partner_configuration_template.py +++ b/msgraph/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/generated/models/multi_value_legacy_extended_property.py b/msgraph/generated/models/multi_value_legacy_extended_property.py index 80c03241033..0b9d38e5e32 100644 --- a/msgraph/generated/models/multi_value_legacy_extended_property.py +++ b/msgraph/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/generated/models/mute_participant_operation.py b/msgraph/generated/models/mute_participant_operation.py index 4b3f92b99e3..31384234c99 100644 --- a/msgraph/generated/models/mute_participant_operation.py +++ b/msgraph/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/generated/models/named_location.py b/msgraph/generated/models/named_location.py index 27a0f0e0c32..409146c0521 100644 --- a/msgraph/generated/models/named_location.py +++ b/msgraph/generated/models/named_location.py @@ -32,7 +32,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.countryNamedLocation".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 .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/generated/models/named_location_collection_response.py b/msgraph/generated/models/named_location_collection_response.py index 32103e9ec04..2dbf8646caf 100644 --- a/msgraph/generated/models/named_location_collection_response.py +++ b/msgraph/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/generated/models/network_connection.py b/msgraph/generated/models/network_connection.py index df736871d34..883e78eba8f 100644 --- a/msgraph/generated/models/network_connection.py +++ b/msgraph/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/generated/models/no_device_registration_membership.py b/msgraph/generated/models/no_device_registration_membership.py index e8a3b613017..b7b514114df 100644 --- a/msgraph/generated/models/no_device_registration_membership.py +++ b/msgraph/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/generated/models/no_training_notification_setting.py b/msgraph/generated/models/no_training_notification_setting.py index 3ee3d3b8074..030f483a2d7 100644 --- a/msgraph/generated/models/no_training_notification_setting.py +++ b/msgraph/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/generated/models/no_training_setting.py b/msgraph/generated/models/no_training_setting.py index a3fe1d50d14..723cdfd024c 100644 --- a/msgraph/generated/models/no_training_setting.py +++ b/msgraph/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/generated/models/notebook.py b/msgraph/generated/models/notebook.py index f5a9db989a1..5909f33c95f 100644 --- a/msgraph/generated/models/notebook.py +++ b/msgraph/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/generated/models/notebook_collection_response.py b/msgraph/generated/models/notebook_collection_response.py index cf7820b3960..a014e8079c8 100644 --- a/msgraph/generated/models/notebook_collection_response.py +++ b/msgraph/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/generated/models/notebook_links.py b/msgraph/generated/models/notebook_links.py index 85eabe84e70..3919c67a938 100644 --- a/msgraph/generated/models/notebook_links.py +++ b/msgraph/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/generated/models/notification_message_template.py b/msgraph/generated/models/notification_message_template.py index 012207017b7..c196e3b6481 100644 --- a/msgraph/generated/models/notification_message_template.py +++ b/msgraph/generated/models/notification_message_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 .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("displayName", self.display_name) diff --git a/msgraph/generated/models/notification_message_template_collection_response.py b/msgraph/generated/models/notification_message_template_collection_response.py index cdad2304004..7738c138222 100644 --- a/msgraph/generated/models/notification_message_template_collection_response.py +++ b/msgraph/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/generated/models/o_auth2_permission_grant.py b/msgraph/generated/models/o_auth2_permission_grant.py index ea9384575e9..43787417a6e 100644 --- a/msgraph/generated/models/o_auth2_permission_grant.py +++ b/msgraph/generated/models/o_auth2_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 .entity import Entity + writer.write_str_value("clientId", self.client_id) writer.write_str_value("consentType", self.consent_type) writer.write_str_value("principalId", self.principal_id) diff --git a/msgraph/generated/models/o_auth2_permission_grant_collection_response.py b/msgraph/generated/models/o_auth2_permission_grant_collection_response.py index f8196beeecd..7059abf52fb 100644 --- a/msgraph/generated/models/o_auth2_permission_grant_collection_response.py +++ b/msgraph/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/generated/models/o_auth_consent_app_detail.py b/msgraph/generated/models/o_auth_consent_app_detail.py index 7338f8f8dee..3a58248d579 100644 --- a/msgraph/generated/models/o_auth_consent_app_detail.py +++ b/msgraph/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/generated/models/o_data_errors/main_error.py b/msgraph/generated/models/o_data_errors/main_error.py index e8942c547aa..f74aecfa477 100644 --- a/msgraph/generated/models/o_data_errors/main_error.py +++ b/msgraph/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/generated/models/o_data_errors/o_data_error.py b/msgraph/generated/models/o_data_errors/o_data_error.py index 176c7157c63..b74c0ec7d0b 100644 --- a/msgraph/generated/models/o_data_errors/o_data_error.py +++ b/msgraph/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/generated/models/object_definition.py b/msgraph/generated/models/object_definition.py index 6effce357e9..0674098ff91 100644 --- a/msgraph/generated/models/object_definition.py +++ b/msgraph/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/generated/models/object_definition_metadata_entry.py b/msgraph/generated/models/object_definition_metadata_entry.py index 52cc8c74bc5..f9fff4acc74 100644 --- a/msgraph/generated/models/object_definition_metadata_entry.py +++ b/msgraph/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/generated/models/object_mapping.py b/msgraph/generated/models/object_mapping.py index f768fce8190..a572c49a838 100644 --- a/msgraph/generated/models/object_mapping.py +++ b/msgraph/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/generated/models/object_mapping_metadata_entry.py b/msgraph/generated/models/object_mapping_metadata_entry.py index d282599ac7b..e09c8d4a44f 100644 --- a/msgraph/generated/models/object_mapping_metadata_entry.py +++ b/msgraph/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/generated/models/offer_shift_request.py b/msgraph/generated/models/offer_shift_request.py index e4a8c181d37..1f69ba957c1 100644 --- a/msgraph/generated/models/offer_shift_request.py +++ b/msgraph/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/generated/models/offer_shift_request_collection_response.py b/msgraph/generated/models/offer_shift_request_collection_response.py index 398445410d9..3d0a1f9b3ba 100644 --- a/msgraph/generated/models/offer_shift_request_collection_response.py +++ b/msgraph/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/generated/models/office_graph_insights.py b/msgraph/generated/models/office_graph_insights.py index f79fd6ea6cb..a7e1f4ab775 100644 --- a/msgraph/generated/models/office_graph_insights.py +++ b/msgraph/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/generated/models/oma_setting.py b/msgraph/generated/models/oma_setting.py index 5968c818fb9..20edd069df6 100644 --- a/msgraph/generated/models/oma_setting.py +++ b/msgraph/generated/models/oma_setting.py @@ -42,7 +42,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(): @@ -112,6 +113,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/generated/models/oma_setting_base64.py b/msgraph/generated/models/oma_setting_base64.py index de652714222..88298f9bcc0 100644 --- a/msgraph/generated/models/oma_setting_base64.py +++ b/msgraph/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/generated/models/oma_setting_boolean.py b/msgraph/generated/models/oma_setting_boolean.py index 9f158357dc3..de9bf765dc0 100644 --- a/msgraph/generated/models/oma_setting_boolean.py +++ b/msgraph/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/generated/models/oma_setting_date_time.py b/msgraph/generated/models/oma_setting_date_time.py index d86db32f3ee..fb581b696b2 100644 --- a/msgraph/generated/models/oma_setting_date_time.py +++ b/msgraph/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/generated/models/oma_setting_floating_point.py b/msgraph/generated/models/oma_setting_floating_point.py index 9909da6a169..9d7f63ff772 100644 --- a/msgraph/generated/models/oma_setting_floating_point.py +++ b/msgraph/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/generated/models/oma_setting_integer.py b/msgraph/generated/models/oma_setting_integer.py index aed786f77a2..37630d05bd1 100644 --- a/msgraph/generated/models/oma_setting_integer.py +++ b/msgraph/generated/models/oma_setting_integer.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_int_value("value", self.value) diff --git a/msgraph/generated/models/oma_setting_string.py b/msgraph/generated/models/oma_setting_string.py index c61564b8ca9..0d1fe80af43 100644 --- a/msgraph/generated/models/oma_setting_string.py +++ b/msgraph/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/generated/models/oma_setting_string_xml.py b/msgraph/generated/models/oma_setting_string_xml.py index b5004bae872..800d3ff0e58 100644 --- a/msgraph/generated/models/oma_setting_string_xml.py +++ b/msgraph/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/generated/models/on_attribute_collection_external_users_self_service_sign_up.py b/msgraph/generated/models/on_attribute_collection_external_users_self_service_sign_up.py index a4d626d5ed7..f4690026f6a 100644 --- a/msgraph/generated/models/on_attribute_collection_external_users_self_service_sign_up.py +++ b/msgraph/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/generated/models/on_attribute_collection_handler.py b/msgraph/generated/models/on_attribute_collection_handler.py index c672ad0182c..f7ce99affe8 100644 --- a/msgraph/generated/models/on_attribute_collection_handler.py +++ b/msgraph/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/generated/models/on_attribute_collection_listener.py b/msgraph/generated/models/on_attribute_collection_listener.py index 298c4c9be57..f6b4dc1300f 100644 --- a/msgraph/generated/models/on_attribute_collection_listener.py +++ b/msgraph/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/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py b/msgraph/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py index 232013117f6..63eea29ecc5 100644 --- a/msgraph/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py +++ b/msgraph/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/generated/models/on_authentication_method_load_start_handler.py b/msgraph/generated/models/on_authentication_method_load_start_handler.py index f24d20a947c..11bd39f4756 100644 --- a/msgraph/generated/models/on_authentication_method_load_start_handler.py +++ b/msgraph/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/generated/models/on_authentication_method_load_start_listener.py b/msgraph/generated/models/on_authentication_method_load_start_listener.py index ceaa8e0ab54..9e30e571d85 100644 --- a/msgraph/generated/models/on_authentication_method_load_start_listener.py +++ b/msgraph/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/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py b/msgraph/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py index 1994b482321..c176c4b13f3 100644 --- a/msgraph/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py +++ b/msgraph/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/generated/models/on_interactive_auth_flow_start_handler.py b/msgraph/generated/models/on_interactive_auth_flow_start_handler.py index 84ef318583e..6405bc8094d 100644 --- a/msgraph/generated/models/on_interactive_auth_flow_start_handler.py +++ b/msgraph/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/generated/models/on_interactive_auth_flow_start_listener.py b/msgraph/generated/models/on_interactive_auth_flow_start_listener.py index 167319715a7..029621c7bc2 100644 --- a/msgraph/generated/models/on_interactive_auth_flow_start_listener.py +++ b/msgraph/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/generated/models/on_premises_accidental_deletion_prevention.py b/msgraph/generated/models/on_premises_accidental_deletion_prevention.py index 820a8922758..db4a12145eb 100644 --- a/msgraph/generated/models/on_premises_accidental_deletion_prevention.py +++ b/msgraph/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/generated/models/on_premises_conditional_access_settings.py b/msgraph/generated/models/on_premises_conditional_access_settings.py index 61d6fa7fd7e..ec94e32d339 100644 --- a/msgraph/generated/models/on_premises_conditional_access_settings.py +++ b/msgraph/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/generated/models/on_premises_directory_synchronization.py b/msgraph/generated/models/on_premises_directory_synchronization.py index e70517b22df..61000c45f43 100644 --- a/msgraph/generated/models/on_premises_directory_synchronization.py +++ b/msgraph/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/generated/models/on_premises_directory_synchronization_collection_response.py b/msgraph/generated/models/on_premises_directory_synchronization_collection_response.py index 34ff1e4f0bb..699ba01ed6d 100644 --- a/msgraph/generated/models/on_premises_directory_synchronization_collection_response.py +++ b/msgraph/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/generated/models/on_premises_directory_synchronization_configuration.py b/msgraph/generated/models/on_premises_directory_synchronization_configuration.py index 3767e963f17..8ca86f6798f 100644 --- a/msgraph/generated/models/on_premises_directory_synchronization_configuration.py +++ b/msgraph/generated/models/on_premises_directory_synchronization_configuration.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_premises_accidental_deletion_prevention import OnPremisesAccidentalDeletionPrevention + writer.write_object_value("accidentalDeletionPrevention", self.accidental_deletion_prevention) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/on_token_issuance_start_custom_extension.py b/msgraph/generated/models/on_token_issuance_start_custom_extension.py index 54e654bbcef..53dbb6d59f0 100644 --- a/msgraph/generated/models/on_token_issuance_start_custom_extension.py +++ b/msgraph/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/generated/models/on_token_issuance_start_custom_extension_handler.py b/msgraph/generated/models/on_token_issuance_start_custom_extension_handler.py index 3da62b85e8a..dcf24d647c4 100644 --- a/msgraph/generated/models/on_token_issuance_start_custom_extension_handler.py +++ b/msgraph/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/generated/models/on_token_issuance_start_handler.py b/msgraph/generated/models/on_token_issuance_start_handler.py index a1cc636e912..972877c0f00 100644 --- a/msgraph/generated/models/on_token_issuance_start_handler.py +++ b/msgraph/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/generated/models/on_token_issuance_start_listener.py b/msgraph/generated/models/on_token_issuance_start_listener.py index 2c14097c22f..689524ae81a 100644 --- a/msgraph/generated/models/on_token_issuance_start_listener.py +++ b/msgraph/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/generated/models/on_user_create_start_external_users_self_service_sign_up.py b/msgraph/generated/models/on_user_create_start_external_users_self_service_sign_up.py index 1e9a6668e5c..f12ef50e6f9 100644 --- a/msgraph/generated/models/on_user_create_start_external_users_self_service_sign_up.py +++ b/msgraph/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/generated/models/on_user_create_start_handler.py b/msgraph/generated/models/on_user_create_start_handler.py index c02aae22054..778e60b81e6 100644 --- a/msgraph/generated/models/on_user_create_start_handler.py +++ b/msgraph/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/generated/models/on_user_create_start_listener.py b/msgraph/generated/models/on_user_create_start_listener.py index afc55d724cc..d8e0afa40ae 100644 --- a/msgraph/generated/models/on_user_create_start_listener.py +++ b/msgraph/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/generated/models/one_drive_for_business_protection_policy.py b/msgraph/generated/models/one_drive_for_business_protection_policy.py index 7c2517b2a2b..11ca2459b90 100644 --- a/msgraph/generated/models/one_drive_for_business_protection_policy.py +++ b/msgraph/generated/models/one_drive_for_business_protection_policy.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 .drive_protection_rule import DriveProtectionRule + from .drive_protection_unit import DriveProtectionUnit + 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) diff --git a/msgraph/generated/models/one_drive_for_business_protection_policy_collection_response.py b/msgraph/generated/models/one_drive_for_business_protection_policy_collection_response.py index 90cabfde0f2..de4e3fec996 100644 --- a/msgraph/generated/models/one_drive_for_business_protection_policy_collection_response.py +++ b/msgraph/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/generated/models/one_drive_for_business_restore_session.py b/msgraph/generated/models/one_drive_for_business_restore_session.py index b23640af102..57afc36083b 100644 --- a/msgraph/generated/models/one_drive_for_business_restore_session.py +++ b/msgraph/generated/models/one_drive_for_business_restore_session.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 .drive_restore_artifact import DriveRestoreArtifact + from .restore_session_base import RestoreSessionBase + writer.write_collection_of_object_values("driveRestoreArtifacts", self.drive_restore_artifacts) diff --git a/msgraph/generated/models/one_drive_for_business_restore_session_collection_response.py b/msgraph/generated/models/one_drive_for_business_restore_session_collection_response.py index faac8d93335..bbe78dabe7e 100644 --- a/msgraph/generated/models/one_drive_for_business_restore_session_collection_response.py +++ b/msgraph/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/generated/models/onenote.py b/msgraph/generated/models/onenote.py index 4fef2989476..1070a72ca6d 100644 --- a/msgraph/generated/models/onenote.py +++ b/msgraph/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/generated/models/onenote_entity_base_model.py b/msgraph/generated/models/onenote_entity_base_model.py index 4da6ee0388d..5909286f4d4 100644 --- a/msgraph/generated/models/onenote_entity_base_model.py +++ b/msgraph/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/generated/models/onenote_entity_hierarchy_model.py b/msgraph/generated/models/onenote_entity_hierarchy_model.py index d057ceee4aa..72c53693c96 100644 --- a/msgraph/generated/models/onenote_entity_hierarchy_model.py +++ b/msgraph/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/generated/models/onenote_entity_schema_object_model.py b/msgraph/generated/models/onenote_entity_schema_object_model.py index 57af64e864a..314c9187118 100644 --- a/msgraph/generated/models/onenote_entity_schema_object_model.py +++ b/msgraph/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/generated/models/onenote_operation.py b/msgraph/generated/models/onenote_operation.py index 04b13950a4b..ada3e4e176e 100644 --- a/msgraph/generated/models/onenote_operation.py +++ b/msgraph/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/generated/models/onenote_operation_collection_response.py b/msgraph/generated/models/onenote_operation_collection_response.py index 76ddf7023aa..922475c2e88 100644 --- a/msgraph/generated/models/onenote_operation_collection_response.py +++ b/msgraph/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/generated/models/onenote_page.py b/msgraph/generated/models/onenote_page.py index 58403933913..ddacfde99f1 100644 --- a/msgraph/generated/models/onenote_page.py +++ b/msgraph/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/generated/models/onenote_page_collection_response.py b/msgraph/generated/models/onenote_page_collection_response.py index 3f80f0110b8..b7c24dac648 100644 --- a/msgraph/generated/models/onenote_page_collection_response.py +++ b/msgraph/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/generated/models/onenote_page_preview.py b/msgraph/generated/models/onenote_page_preview.py index c6293b26ecb..ffa65f289c8 100644 --- a/msgraph/generated/models/onenote_page_preview.py +++ b/msgraph/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/generated/models/onenote_page_preview_links.py b/msgraph/generated/models/onenote_page_preview_links.py index 6cd008ec12d..772f99a7d30 100644 --- a/msgraph/generated/models/onenote_page_preview_links.py +++ b/msgraph/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/generated/models/onenote_patch_content_command.py b/msgraph/generated/models/onenote_patch_content_command.py index 4f0287f55ca..62c01a399d5 100644 --- a/msgraph/generated/models/onenote_patch_content_command.py +++ b/msgraph/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/generated/models/onenote_resource.py b/msgraph/generated/models/onenote_resource.py index 4fd333c54cf..151444d3917 100644 --- a/msgraph/generated/models/onenote_resource.py +++ b/msgraph/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/generated/models/onenote_resource_collection_response.py b/msgraph/generated/models/onenote_resource_collection_response.py index 2f813c3baf1..a5beac719dc 100644 --- a/msgraph/generated/models/onenote_resource_collection_response.py +++ b/msgraph/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/generated/models/onenote_section.py b/msgraph/generated/models/onenote_section.py index c437f0fdbb1..6f728db8794 100644 --- a/msgraph/generated/models/onenote_section.py +++ b/msgraph/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/generated/models/onenote_section_collection_response.py b/msgraph/generated/models/onenote_section_collection_response.py index e562642d89a..af8779275fe 100644 --- a/msgraph/generated/models/onenote_section_collection_response.py +++ b/msgraph/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/generated/models/online_meeting.py b/msgraph/generated/models/online_meeting.py index 54881c44800..60b5b65a72c 100644 --- a/msgraph/generated/models/online_meeting.py +++ b/msgraph/generated/models/online_meeting.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 .broadcast_meeting_settings import BroadcastMeetingSettings + from .call_recording import CallRecording + from .call_transcript import CallTranscript + from .meeting_participants import MeetingParticipants + from .online_meeting_base import OnlineMeetingBase + writer.write_bytes_value("attendeeReport", self.attendee_report) writer.write_object_value("broadcastSettings", self.broadcast_settings) writer.write_datetime_value("creationDateTime", self.creation_date_time) diff --git a/msgraph/generated/models/online_meeting_base.py b/msgraph/generated/models/online_meeting_base.py index 7be5135bf67..5a373cc6524 100644 --- a/msgraph/generated/models/online_meeting_base.py +++ b/msgraph/generated/models/online_meeting_base.py @@ -73,7 +73,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(): @@ -153,6 +154,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audio_conferencing import AudioConferencing + from .chat_info import ChatInfo + 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 .online_meeting import OnlineMeeting + from .online_meeting_presenters import OnlineMeetingPresenters + 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_enum_value("allowMeetingChat", self.allow_meeting_chat) diff --git a/msgraph/generated/models/online_meeting_collection_response.py b/msgraph/generated/models/online_meeting_collection_response.py index 70d4bbff91f..57d362c3527 100644 --- a/msgraph/generated/models/online_meeting_collection_response.py +++ b/msgraph/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/generated/models/online_meeting_info.py b/msgraph/generated/models/online_meeting_info.py index 8fdbf7e3e20..85b631b0a20 100644 --- a/msgraph/generated/models/online_meeting_info.py +++ b/msgraph/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/generated/models/online_meeting_restricted.py b/msgraph/generated/models/online_meeting_restricted.py index 9eb15f53778..c001efadb2b 100644 --- a/msgraph/generated/models/online_meeting_restricted.py +++ b/msgraph/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/generated/models/open_shift.py b/msgraph/generated/models/open_shift.py index ebad704d88e..0536055d630 100644 --- a/msgraph/generated/models/open_shift.py +++ b/msgraph/generated/models/open_shift.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 .change_tracked_entity import ChangeTrackedEntity + from .open_shift_item import OpenShiftItem + writer.write_object_value("draftOpenShift", self.draft_open_shift) writer.write_str_value("schedulingGroupId", self.scheduling_group_id) writer.write_object_value("sharedOpenShift", self.shared_open_shift) diff --git a/msgraph/generated/models/open_shift_change_request.py b/msgraph/generated/models/open_shift_change_request.py index 80bf68152e8..6ff2eb05e56 100644 --- a/msgraph/generated/models/open_shift_change_request.py +++ b/msgraph/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/generated/models/open_shift_change_request_collection_response.py b/msgraph/generated/models/open_shift_change_request_collection_response.py index efbd98c9892..a9f5dc12d83 100644 --- a/msgraph/generated/models/open_shift_change_request_collection_response.py +++ b/msgraph/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/generated/models/open_shift_collection_response.py b/msgraph/generated/models/open_shift_collection_response.py index c8bfaff3417..693d6d6b01f 100644 --- a/msgraph/generated/models/open_shift_collection_response.py +++ b/msgraph/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/generated/models/open_shift_item.py b/msgraph/generated/models/open_shift_item.py index 2d1d7cc6b1c..2254c038d1f 100644 --- a/msgraph/generated/models/open_shift_item.py +++ b/msgraph/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/generated/models/open_type_extension.py b/msgraph/generated/models/open_type_extension.py index c4bd693b8e2..b825d5d2c55 100644 --- a/msgraph/generated/models/open_type_extension.py +++ b/msgraph/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/generated/models/operation.py b/msgraph/generated/models/operation.py index 337c0a38e66..1451abde925 100644 --- a/msgraph/generated/models/operation.py +++ b/msgraph/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/generated/models/optional_claims.py b/msgraph/generated/models/optional_claims.py index d34fe561eb8..debf0260870 100644 --- a/msgraph/generated/models/optional_claims.py +++ b/msgraph/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/generated/models/org_contact.py b/msgraph/generated/models/org_contact.py index f709612d41d..f065912d754 100644 --- a/msgraph/generated/models/org_contact.py +++ b/msgraph/generated/models/org_contact.py @@ -118,6 +118,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/generated/models/org_contact_collection_response.py b/msgraph/generated/models/org_contact_collection_response.py index 9bd40fc3240..4dc0efe4f63 100644 --- a/msgraph/generated/models/org_contact_collection_response.py +++ b/msgraph/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/generated/models/organization.py b/msgraph/generated/models/organization.py index c4f3ad7075c..106019c439c 100644 --- a/msgraph/generated/models/organization.py +++ b/msgraph/generated/models/organization.py @@ -157,6 +157,17 @@ 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 .directory_object import DirectoryObject + from .extension import Extension + from .mdm_authority import MdmAuthority + from .organizational_branding import OrganizationalBranding + 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/generated/models/organization_collection_response.py b/msgraph/generated/models/organization_collection_response.py index 0d93e692fe6..6175fc636b1 100644 --- a/msgraph/generated/models/organization_collection_response.py +++ b/msgraph/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/generated/models/organizational_branding.py b/msgraph/generated/models/organizational_branding.py index 431f84e1cdc..beba6084b55 100644 --- a/msgraph/generated/models/organizational_branding.py +++ b/msgraph/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/generated/models/organizational_branding_localization.py b/msgraph/generated/models/organizational_branding_localization.py index 2fac11dbd79..7ed3c291433 100644 --- a/msgraph/generated/models/organizational_branding_localization.py +++ b/msgraph/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/generated/models/organizational_branding_localization_collection_response.py b/msgraph/generated/models/organizational_branding_localization_collection_response.py index 9fc14e19167..cdea6aff182 100644 --- a/msgraph/generated/models/organizational_branding_localization_collection_response.py +++ b/msgraph/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/generated/models/organizational_branding_properties.py b/msgraph/generated/models/organizational_branding_properties.py index f836ec4b904..e1979fb95f8 100644 --- a/msgraph/generated/models/organizational_branding_properties.py +++ b/msgraph/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/generated/models/organizer_meeting_info.py b/msgraph/generated/models/organizer_meeting_info.py index 92705648cdb..6083a19d7c1 100644 --- a/msgraph/generated/models/organizer_meeting_info.py +++ b/msgraph/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/generated/models/out_of_box_experience_setting.py b/msgraph/generated/models/out_of_box_experience_setting.py index bacee0c4daa..40f98a3dcd8 100644 --- a/msgraph/generated/models/out_of_box_experience_setting.py +++ b/msgraph/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/generated/models/outgoing_call_options.py b/msgraph/generated/models/outgoing_call_options.py index cc743a6d04f..df58bbcc0bc 100644 --- a/msgraph/generated/models/outgoing_call_options.py +++ b/msgraph/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/generated/models/outlook_category.py b/msgraph/generated/models/outlook_category.py index 6ea5625aeef..8d24a8fc589 100644 --- a/msgraph/generated/models/outlook_category.py +++ b/msgraph/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/generated/models/outlook_category_collection_response.py b/msgraph/generated/models/outlook_category_collection_response.py index 1b82c3a69d1..a514a884b5f 100644 --- a/msgraph/generated/models/outlook_category_collection_response.py +++ b/msgraph/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/generated/models/outlook_item.py b/msgraph/generated/models/outlook_item.py index 550686b1d2b..ff5f52ec401 100644 --- a/msgraph/generated/models/outlook_item.py +++ b/msgraph/generated/models/outlook_item.py @@ -40,7 +40,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(): @@ -121,6 +122,16 @@ 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 .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/generated/models/outlook_user.py b/msgraph/generated/models/outlook_user.py index 11d8a4a29d4..dcb234fb3a9 100644 --- a/msgraph/generated/models/outlook_user.py +++ b/msgraph/generated/models/outlook_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 .outlook_category import OutlookCategory + writer.write_collection_of_object_values("masterCategories", self.master_categories) diff --git a/msgraph/generated/models/page_links.py b/msgraph/generated/models/page_links.py index 17398835ab8..6c0aa35655f 100644 --- a/msgraph/generated/models/page_links.py +++ b/msgraph/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/generated/models/parse_expression_response.py b/msgraph/generated/models/parse_expression_response.py index eba709a3481..8d088e6a406 100644 --- a/msgraph/generated/models/parse_expression_response.py +++ b/msgraph/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/generated/models/participant.py b/msgraph/generated/models/participant.py index 4a55f37200d..18999ca4ae0 100644 --- a/msgraph/generated/models/participant.py +++ b/msgraph/generated/models/participant.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 .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("isInLobby", self.is_in_lobby) writer.write_bool_value("isMuted", self.is_muted) diff --git a/msgraph/generated/models/participant_collection_response.py b/msgraph/generated/models/participant_collection_response.py index fed2ad44e39..87aa3273361 100644 --- a/msgraph/generated/models/participant_collection_response.py +++ b/msgraph/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/generated/models/participant_info.py b/msgraph/generated/models/participant_info.py index f79760f4a82..761ff0b9cb0 100644 --- a/msgraph/generated/models/participant_info.py +++ b/msgraph/generated/models/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_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/generated/models/participant_joining_notification.py b/msgraph/generated/models/participant_joining_notification.py index c4b2c3f868f..ece7ce14c77 100644 --- a/msgraph/generated/models/participant_joining_notification.py +++ b/msgraph/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/generated/models/participant_left_notification.py b/msgraph/generated/models/participant_left_notification.py index b6b93030914..7b0ee1c2526 100644 --- a/msgraph/generated/models/participant_left_notification.py +++ b/msgraph/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/generated/models/partners/billing/azure_usage.py b/msgraph/generated/models/partners/billing/azure_usage.py index 01c9de6dd4e..0f2d9e9529f 100644 --- a/msgraph/generated/models/partners/billing/azure_usage.py +++ b/msgraph/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/generated/models/partners/billing/billed_reconciliation.py b/msgraph/generated/models/partners/billing/billed_reconciliation.py index 59234e817bb..34afb089170 100644 --- a/msgraph/generated/models/partners/billing/billed_reconciliation.py +++ b/msgraph/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/generated/models/partners/billing/billed_usage.py b/msgraph/generated/models/partners/billing/billed_usage.py index a95bf082b73..579987c79c0 100644 --- a/msgraph/generated/models/partners/billing/billed_usage.py +++ b/msgraph/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/generated/models/partners/billing/billing.py b/msgraph/generated/models/partners/billing/billing.py index b1f8436ac11..49d63ed7ea1 100644 --- a/msgraph/generated/models/partners/billing/billing.py +++ b/msgraph/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/generated/models/partners/billing/billing_reconciliation.py b/msgraph/generated/models/partners/billing/billing_reconciliation.py index a4067802c87..e88be494c18 100644 --- a/msgraph/generated/models/partners/billing/billing_reconciliation.py +++ b/msgraph/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/generated/models/partners/billing/export_success_operation.py b/msgraph/generated/models/partners/billing/export_success_operation.py index efc56717bf1..8b67b5dc5bb 100644 --- a/msgraph/generated/models/partners/billing/export_success_operation.py +++ b/msgraph/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/generated/models/partners/billing/failed_operation.py b/msgraph/generated/models/partners/billing/failed_operation.py index 2719fccbdb0..e8739cc0a33 100644 --- a/msgraph/generated/models/partners/billing/failed_operation.py +++ b/msgraph/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/generated/models/partners/billing/manifest.py b/msgraph/generated/models/partners/billing/manifest.py index e8c780bc707..5c34aba5531 100644 --- a/msgraph/generated/models/partners/billing/manifest.py +++ b/msgraph/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/generated/models/partners/billing/manifest_collection_response.py b/msgraph/generated/models/partners/billing/manifest_collection_response.py index 4f709427d62..22d92026155 100644 --- a/msgraph/generated/models/partners/billing/manifest_collection_response.py +++ b/msgraph/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/generated/models/partners/billing/operation.py b/msgraph/generated/models/partners/billing/operation.py index 87602a9f8e9..efe230c109e 100644 --- a/msgraph/generated/models/partners/billing/operation.py +++ b/msgraph/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/generated/models/partners/billing/operation_collection_response.py b/msgraph/generated/models/partners/billing/operation_collection_response.py index 080c96c58ca..4cff6701b50 100644 --- a/msgraph/generated/models/partners/billing/operation_collection_response.py +++ b/msgraph/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/generated/models/partners/billing/running_operation.py b/msgraph/generated/models/partners/billing/running_operation.py index 0ab61870cf6..5f8ec5c7bfc 100644 --- a/msgraph/generated/models/partners/billing/running_operation.py +++ b/msgraph/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/generated/models/partners/billing/unbilled_usage.py b/msgraph/generated/models/partners/billing/unbilled_usage.py index d0c8698e2e3..4b4bf09c030 100644 --- a/msgraph/generated/models/partners/billing/unbilled_usage.py +++ b/msgraph/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/generated/models/partners/partners.py b/msgraph/generated/models/partners/partners.py index 4acfc707637..99aa0a1eb40 100644 --- a/msgraph/generated/models/partners/partners.py +++ b/msgraph/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/generated/models/password_authentication_method.py b/msgraph/generated/models/password_authentication_method.py index 836e49a6d5f..a4a4340ba04 100644 --- a/msgraph/generated/models/password_authentication_method.py +++ b/msgraph/generated/models/password_authentication_method.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 .authentication_method import AuthenticationMethod + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("password", self.password) diff --git a/msgraph/generated/models/password_authentication_method_collection_response.py b/msgraph/generated/models/password_authentication_method_collection_response.py index b82edb81a99..c24204b9c0e 100644 --- a/msgraph/generated/models/password_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/password_credential_configuration.py b/msgraph/generated/models/password_credential_configuration.py index 2939ed9c220..c57006b3a48 100644 --- a/msgraph/generated/models/password_credential_configuration.py +++ b/msgraph/generated/models/password_credential_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_credential_restriction_type import AppCredentialRestrictionType + 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/generated/models/patterned_recurrence.py b/msgraph/generated/models/patterned_recurrence.py index 1b0be55b634..95924293958 100644 --- a/msgraph/generated/models/patterned_recurrence.py +++ b/msgraph/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/generated/models/payload.py b/msgraph/generated/models/payload.py index 63225e5e422..6e43c388eef 100644 --- a/msgraph/generated/models/payload.py +++ b/msgraph/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/generated/models/payload_coachmark.py b/msgraph/generated/models/payload_coachmark.py index d3c26878b28..123bfa10d2c 100644 --- a/msgraph/generated/models/payload_coachmark.py +++ b/msgraph/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/generated/models/payload_collection_response.py b/msgraph/generated/models/payload_collection_response.py index 5754cd32dc6..57f9c6b5fed 100644 --- a/msgraph/generated/models/payload_collection_response.py +++ b/msgraph/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/generated/models/payload_detail.py b/msgraph/generated/models/payload_detail.py index 728ea4eab0a..d632f7a818e 100644 --- a/msgraph/generated/models/payload_detail.py +++ b/msgraph/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/generated/models/pending_operations.py b/msgraph/generated/models/pending_operations.py index fd49c22fc97..ff250326416 100644 --- a/msgraph/generated/models/pending_operations.py +++ b/msgraph/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/generated/models/people_admin_settings.py b/msgraph/generated/models/people_admin_settings.py index ee7a1a7964f..b02752ad9d6 100644 --- a/msgraph/generated/models/people_admin_settings.py +++ b/msgraph/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/generated/models/permission.py b/msgraph/generated/models/permission.py index d85cda03ba8..5698a576a3a 100644 --- a/msgraph/generated/models/permission.py +++ b/msgraph/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/generated/models/permission_collection_response.py b/msgraph/generated/models/permission_collection_response.py index c14bca77d46..db97dec02ee 100644 --- a/msgraph/generated/models/permission_collection_response.py +++ b/msgraph/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/generated/models/permission_grant_condition_set.py b/msgraph/generated/models/permission_grant_condition_set.py index 1e4c911a6fd..acfcffc4fd6 100644 --- a/msgraph/generated/models/permission_grant_condition_set.py +++ b/msgraph/generated/models/permission_grant_condition_set.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 .permission_type import PermissionType + writer.write_collection_of_primitive_values("clientApplicationIds", self.client_application_ids) writer.write_collection_of_primitive_values("clientApplicationPublisherIds", self.client_application_publisher_ids) writer.write_collection_of_primitive_values("clientApplicationTenantIds", self.client_application_tenant_ids) diff --git a/msgraph/generated/models/permission_grant_condition_set_collection_response.py b/msgraph/generated/models/permission_grant_condition_set_collection_response.py index 747c45362df..044e35b730b 100644 --- a/msgraph/generated/models/permission_grant_condition_set_collection_response.py +++ b/msgraph/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/generated/models/permission_grant_policy.py b/msgraph/generated/models/permission_grant_policy.py index 3e26a617285..df54c359d7f 100644 --- a/msgraph/generated/models/permission_grant_policy.py +++ b/msgraph/generated/models/permission_grant_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 .permission_grant_condition_set import PermissionGrantConditionSet + from .policy_base import PolicyBase + writer.write_collection_of_object_values("excludes", self.excludes) writer.write_collection_of_object_values("includes", self.includes) diff --git a/msgraph/generated/models/permission_grant_policy_collection_response.py b/msgraph/generated/models/permission_grant_policy_collection_response.py index 1d40707f587..1e064b464b2 100644 --- a/msgraph/generated/models/permission_grant_policy_collection_response.py +++ b/msgraph/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/generated/models/persistent_browser_session_control.py b/msgraph/generated/models/persistent_browser_session_control.py index a5413813699..e62e1ebd595 100644 --- a/msgraph/generated/models/persistent_browser_session_control.py +++ b/msgraph/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/generated/models/person.py b/msgraph/generated/models/person.py index 9fc06bd0503..1d63f1203fe 100644 --- a/msgraph/generated/models/person.py +++ b/msgraph/generated/models/person.py @@ -120,6 +120,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_type import PersonType + from .phone import Phone + from .scored_email_address import ScoredEmailAddress + 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/generated/models/person_collection_response.py b/msgraph/generated/models/person_collection_response.py index 9cc0733ac4e..d2dfefaba7f 100644 --- a/msgraph/generated/models/person_collection_response.py +++ b/msgraph/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/generated/models/phone.py b/msgraph/generated/models/phone.py index 7534018c78d..5fb48751c60 100644 --- a/msgraph/generated/models/phone.py +++ b/msgraph/generated/models/phone.py @@ -62,6 +62,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("language", self.language) writer.write_str_value("number", self.number) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/phone_authentication_method.py b/msgraph/generated/models/phone_authentication_method.py index b72d629c417..d505bc67dc6 100644 --- a/msgraph/generated/models/phone_authentication_method.py +++ b/msgraph/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/generated/models/phone_authentication_method_collection_response.py b/msgraph/generated/models/phone_authentication_method_collection_response.py index e9d5f545f57..3f86d236e72 100644 --- a/msgraph/generated/models/phone_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/pinned_chat_message_info.py b/msgraph/generated/models/pinned_chat_message_info.py index 361ceb25101..df0e61ee008 100644 --- a/msgraph/generated/models/pinned_chat_message_info.py +++ b/msgraph/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/generated/models/pinned_chat_message_info_collection_response.py b/msgraph/generated/models/pinned_chat_message_info_collection_response.py index ab209dd3bae..84ae2e28a9b 100644 --- a/msgraph/generated/models/pinned_chat_message_info_collection_response.py +++ b/msgraph/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/generated/models/pkcs12_certificate.py b/msgraph/generated/models/pkcs12_certificate.py index 08704a20b2d..fbc8be4412f 100644 --- a/msgraph/generated/models/pkcs12_certificate.py +++ b/msgraph/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/generated/models/place.py b/msgraph/generated/models/place.py index 300a89c7a23..a830eade204 100644 --- a/msgraph/generated/models/place.py +++ b/msgraph/generated/models/place.py @@ -35,7 +35,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(): @@ -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 .outlook_geo_coordinates import OutlookGeoCoordinates + from .physical_address import PhysicalAddress + from .room import Room + from .room_list import RoomList + 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/generated/models/planner.py b/msgraph/generated/models/planner.py index 7d17413f57a..2004f696271 100644 --- a/msgraph/generated/models/planner.py +++ b/msgraph/generated/models/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 .entity import Entity + from .planner_bucket import PlannerBucket + from .planner_plan import PlannerPlan + 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("tasks", self.tasks) diff --git a/msgraph/generated/models/planner_assigned_to_task_board_task_format.py b/msgraph/generated/models/planner_assigned_to_task_board_task_format.py index aab04c95404..a43eb9dd8b2 100644 --- a/msgraph/generated/models/planner_assigned_to_task_board_task_format.py +++ b/msgraph/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 .entity import Entity + 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/generated/models/planner_bucket.py b/msgraph/generated/models/planner_bucket.py index ce0444df177..fecc12dd8ec 100644 --- a/msgraph/generated/models/planner_bucket.py +++ b/msgraph/generated/models/planner_bucket.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 .planner_task import PlannerTask + writer.write_str_value("name", self.name) writer.write_str_value("orderHint", self.order_hint) writer.write_str_value("planId", self.plan_id) diff --git a/msgraph/generated/models/planner_bucket_collection_response.py b/msgraph/generated/models/planner_bucket_collection_response.py index ef074849c19..ff3970961c9 100644 --- a/msgraph/generated/models/planner_bucket_collection_response.py +++ b/msgraph/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/generated/models/planner_bucket_task_board_task_format.py b/msgraph/generated/models/planner_bucket_task_board_task_format.py index 4198bc03724..fe198310490 100644 --- a/msgraph/generated/models/planner_bucket_task_board_task_format.py +++ b/msgraph/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 .entity import Entity + writer.write_str_value("orderHint", self.order_hint) diff --git a/msgraph/generated/models/planner_group.py b/msgraph/generated/models/planner_group.py index fa4f95ac31d..4a59885ef9c 100644 --- a/msgraph/generated/models/planner_group.py +++ b/msgraph/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/generated/models/planner_plan.py b/msgraph/generated/models/planner_plan.py index bc81e076597..e5107e9b06f 100644 --- a/msgraph/generated/models/planner_plan.py +++ b/msgraph/generated/models/planner_plan.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 .identity_set import IdentitySet + from .planner_bucket import PlannerBucket + from .planner_plan_container import PlannerPlanContainer + from .planner_plan_details import PlannerPlanDetails + from .planner_task import PlannerTask + writer.write_collection_of_object_values("buckets", self.buckets) writer.write_object_value("container", self.container) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph/generated/models/planner_plan_collection_response.py b/msgraph/generated/models/planner_plan_collection_response.py index f7e0c452f86..9fe88555041 100644 --- a/msgraph/generated/models/planner_plan_collection_response.py +++ b/msgraph/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/generated/models/planner_plan_container.py b/msgraph/generated/models/planner_plan_container.py index eb435917bcf..012a9b7b506 100644 --- a/msgraph/generated/models/planner_plan_container.py +++ b/msgraph/generated/models/planner_plan_container.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_container_type import PlannerContainerType + 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/generated/models/planner_plan_details.py b/msgraph/generated/models/planner_plan_details.py index 243c25af6be..bf68e13a8f0 100644 --- a/msgraph/generated/models/planner_plan_details.py +++ b/msgraph/generated/models/planner_plan_details.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 .planner_category_descriptions import PlannerCategoryDescriptions + from .planner_user_ids import PlannerUserIds + writer.write_object_value("categoryDescriptions", self.category_descriptions) writer.write_object_value("sharedWith", self.shared_with) diff --git a/msgraph/generated/models/planner_progress_task_board_task_format.py b/msgraph/generated/models/planner_progress_task_board_task_format.py index 088d63568ed..55ef36adce4 100644 --- a/msgraph/generated/models/planner_progress_task_board_task_format.py +++ b/msgraph/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 .entity import Entity + writer.write_str_value("orderHint", self.order_hint) diff --git a/msgraph/generated/models/planner_task.py b/msgraph/generated/models/planner_task.py index 4acb1af7ae5..1adf81993dd 100644 --- a/msgraph/generated/models/planner_task.py +++ b/msgraph/generated/models/planner_task.py @@ -148,6 +148,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 .identity_set import IdentitySet + from .planner_applied_categories import PlannerAppliedCategories + 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_preview_type import PlannerPreviewType + from .planner_progress_task_board_task_format import PlannerProgressTaskBoardTaskFormat + from .planner_task_details import PlannerTaskDetails + writer.write_int_value("activeChecklistItemCount", self.active_checklist_item_count) writer.write_object_value("appliedCategories", self.applied_categories) writer.write_object_value("assignedToTaskBoardFormat", self.assigned_to_task_board_format) diff --git a/msgraph/generated/models/planner_task_collection_response.py b/msgraph/generated/models/planner_task_collection_response.py index b2909fa5fe9..e3b8cfad95f 100644 --- a/msgraph/generated/models/planner_task_collection_response.py +++ b/msgraph/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/generated/models/planner_task_details.py b/msgraph/generated/models/planner_task_details.py index da11bde79df..df4e5dff840 100644 --- a/msgraph/generated/models/planner_task_details.py +++ b/msgraph/generated/models/planner_task_details.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 .planner_checklist_items import PlannerChecklistItems + from .planner_external_references import PlannerExternalReferences + from .planner_preview_type import PlannerPreviewType + writer.write_object_value("checklist", self.checklist) writer.write_str_value("description", self.description) writer.write_enum_value("previewType", self.preview_type) diff --git a/msgraph/generated/models/planner_user.py b/msgraph/generated/models/planner_user.py index e324f9ae9a1..b0e39b29087 100644 --- a/msgraph/generated/models/planner_user.py +++ b/msgraph/generated/models/planner_user.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 .planner_plan import PlannerPlan + from .planner_task import PlannerTask + writer.write_collection_of_object_values("plans", self.plans) writer.write_collection_of_object_values("tasks", self.tasks) diff --git a/msgraph/generated/models/play_prompt_operation.py b/msgraph/generated/models/play_prompt_operation.py index c5ecd108d5a..86d7bf79199 100644 --- a/msgraph/generated/models/play_prompt_operation.py +++ b/msgraph/generated/models/play_prompt_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/generated/models/policy_base.py b/msgraph/generated/models/policy_base.py index d798c988e1b..2d3a3ebe705 100644 --- a/msgraph/generated/models/policy_base.py +++ b/msgraph/generated/models/policy_base.py @@ -39,7 +39,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(): @@ -142,6 +143,20 @@ 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 .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_security_defaults_enforcement_policy import IdentitySecurityDefaultsEnforcementPolicy + from .permission_grant_policy import PermissionGrantPolicy + from .sts_policy import StsPolicy + from .tenant_app_management_policy import TenantAppManagementPolicy + 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/generated/models/policy_root.py b/msgraph/generated/models/policy_root.py index f8dc285a1bc..6c9a95735c9 100644 --- a/msgraph/generated/models/policy_root.py +++ b/msgraph/generated/models/policy_root.py @@ -168,6 +168,28 @@ 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 .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 .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 .entity import Entity + from .feature_rollout_policy import FeatureRolloutPolicy + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_security_defaults_enforcement_policy import IdentitySecurityDefaultsEnforcementPolicy + from .permission_grant_policy import PermissionGrantPolicy + 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_collection_of_object_values("activityBasedTimeoutPolicies", self.activity_based_timeout_policies) writer.write_object_value("adminConsentRequestPolicy", self.admin_consent_request_policy) writer.write_collection_of_object_values("appManagementPolicies", self.app_management_policies) diff --git a/msgraph/generated/models/policy_template.py b/msgraph/generated/models/policy_template.py index 5483fda1032..2a04c35da61 100644 --- a/msgraph/generated/models/policy_template.py +++ b/msgraph/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/generated/models/positive_reinforcement_notification.py b/msgraph/generated/models/positive_reinforcement_notification.py index 83a215204da..9ec77393ea8 100644 --- a/msgraph/generated/models/positive_reinforcement_notification.py +++ b/msgraph/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/generated/models/post.py b/msgraph/generated/models/post.py index bcdaed4e54e..bf164418589 100644 --- a/msgraph/generated/models/post.py +++ b/msgraph/generated/models/post.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 .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 .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/generated/models/post_collection_response.py b/msgraph/generated/models/post_collection_response.py index 2a2bf515874..2d9ed9f6931 100644 --- a/msgraph/generated/models/post_collection_response.py +++ b/msgraph/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/generated/models/presence.py b/msgraph/generated/models/presence.py index 1580b5e4b29..8bd007f5da5 100644 --- a/msgraph/generated/models/presence.py +++ b/msgraph/generated/models/presence.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 .presence_status_message import PresenceStatusMessage + writer.write_str_value("activity", self.activity) writer.write_str_value("availability", self.availability) writer.write_object_value("statusMessage", self.status_message) diff --git a/msgraph/generated/models/presence_collection_response.py b/msgraph/generated/models/presence_collection_response.py index ce5c446beaf..66e31499040 100644 --- a/msgraph/generated/models/presence_collection_response.py +++ b/msgraph/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/generated/models/presence_status_message.py b/msgraph/generated/models/presence_status_message.py index f6403e7a2bc..24a3736919d 100644 --- a/msgraph/generated/models/presence_status_message.py +++ b/msgraph/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/generated/models/principal_resource_memberships_scope.py b/msgraph/generated/models/principal_resource_memberships_scope.py index cdef33d719e..21af6c5cc46 100644 --- a/msgraph/generated/models/principal_resource_memberships_scope.py +++ b/msgraph/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/generated/models/print.py b/msgraph/generated/models/print.py index ec9d1b4d5a9..7198b4ce75c 100644 --- a/msgraph/generated/models/print.py +++ b/msgraph/generated/models/print.py @@ -89,6 +89,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/generated/models/print_connector.py b/msgraph/generated/models/print_connector.py index b3311cafed9..03f5101352f 100644 --- a/msgraph/generated/models/print_connector.py +++ b/msgraph/generated/models/print_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 .printer_location import PrinterLocation + writer.write_str_value("appVersion", self.app_version) writer.write_str_value("displayName", self.display_name) writer.write_str_value("fullyQualifiedDomainName", self.fully_qualified_domain_name) diff --git a/msgraph/generated/models/print_connector_collection_response.py b/msgraph/generated/models/print_connector_collection_response.py index ce5918497a0..cfc634f7fcf 100644 --- a/msgraph/generated/models/print_connector_collection_response.py +++ b/msgraph/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/generated/models/print_document.py b/msgraph/generated/models/print_document.py index 85144f76370..709b1eb07a8 100644 --- a/msgraph/generated/models/print_document.py +++ b/msgraph/generated/models/print_document.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("contentType", self.content_type) writer.write_str_value("displayName", self.display_name) writer.write_int_value("size", self.size) diff --git a/msgraph/generated/models/print_document_collection_response.py b/msgraph/generated/models/print_document_collection_response.py index 3db3cf1c959..ce47da91dce 100644 --- a/msgraph/generated/models/print_document_collection_response.py +++ b/msgraph/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/generated/models/print_job.py b/msgraph/generated/models/print_job.py index 76650a0478a..25159865b69 100644 --- a/msgraph/generated/models/print_job.py +++ b/msgraph/generated/models/print_job.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 .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_object_value("configuration", self.configuration) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph/generated/models/print_job_collection_response.py b/msgraph/generated/models/print_job_collection_response.py index 30f59d3fa40..ebe7ddac949 100644 --- a/msgraph/generated/models/print_job_collection_response.py +++ b/msgraph/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/generated/models/print_job_configuration.py b/msgraph/generated/models/print_job_configuration.py index 36553c83603..9c4032c046d 100644 --- a/msgraph/generated/models/print_job_configuration.py +++ b/msgraph/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/generated/models/print_job_status.py b/msgraph/generated/models/print_job_status.py index a079819ce1a..c6442143a0b 100644 --- a/msgraph/generated/models/print_job_status.py +++ b/msgraph/generated/models/print_job_status.py @@ -65,6 +65,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_str_value("description", self.description) writer.write_collection_of_enum_values("details", self.details) writer.write_bool_value("isAcquiredByPrinter", self.is_acquired_by_printer) diff --git a/msgraph/generated/models/print_operation.py b/msgraph/generated/models/print_operation.py index 30207a608bf..8d76df2b79a 100644 --- a/msgraph/generated/models/print_operation.py +++ b/msgraph/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/generated/models/print_operation_collection_response.py b/msgraph/generated/models/print_operation_collection_response.py index 0df3a2464ed..885d047e9eb 100644 --- a/msgraph/generated/models/print_operation_collection_response.py +++ b/msgraph/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/generated/models/print_operation_status.py b/msgraph/generated/models/print_operation_status.py index 56e91b34c7c..2ccd19c7a0e 100644 --- a/msgraph/generated/models/print_operation_status.py +++ b/msgraph/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/generated/models/print_service.py b/msgraph/generated/models/print_service.py index 1acc346a53b..b00bfa70675 100644 --- a/msgraph/generated/models/print_service.py +++ b/msgraph/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/generated/models/print_service_collection_response.py b/msgraph/generated/models/print_service_collection_response.py index 69b738f1d11..ac498cff515 100644 --- a/msgraph/generated/models/print_service_collection_response.py +++ b/msgraph/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/generated/models/print_service_endpoint.py b/msgraph/generated/models/print_service_endpoint.py index 01078491fc7..4186510fd37 100644 --- a/msgraph/generated/models/print_service_endpoint.py +++ b/msgraph/generated/models/print_service_endpoint.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("uri", self.uri) diff --git a/msgraph/generated/models/print_service_endpoint_collection_response.py b/msgraph/generated/models/print_service_endpoint_collection_response.py index 70fa8d01f67..0b589ea4680 100644 --- a/msgraph/generated/models/print_service_endpoint_collection_response.py +++ b/msgraph/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/generated/models/print_task.py b/msgraph/generated/models/print_task.py index 14b8fbb47f7..8e0e342dc92 100644 --- a/msgraph/generated/models/print_task.py +++ b/msgraph/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/generated/models/print_task_collection_response.py b/msgraph/generated/models/print_task_collection_response.py index 4a21c44ebc1..eb2912fee08 100644 --- a/msgraph/generated/models/print_task_collection_response.py +++ b/msgraph/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/generated/models/print_task_definition.py b/msgraph/generated/models/print_task_definition.py index 49c4cef7e40..9e1a96c114e 100644 --- a/msgraph/generated/models/print_task_definition.py +++ b/msgraph/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/generated/models/print_task_definition_collection_response.py b/msgraph/generated/models/print_task_definition_collection_response.py index 654ce2defd7..4bc837d12bd 100644 --- a/msgraph/generated/models/print_task_definition_collection_response.py +++ b/msgraph/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/generated/models/print_task_status.py b/msgraph/generated/models/print_task_status.py index a2ba6c976c5..d9e04717c94 100644 --- a/msgraph/generated/models/print_task_status.py +++ b/msgraph/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/generated/models/print_task_trigger.py b/msgraph/generated/models/print_task_trigger.py index d7225bb6d82..899daa2cbae 100644 --- a/msgraph/generated/models/print_task_trigger.py +++ b/msgraph/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/generated/models/print_task_trigger_collection_response.py b/msgraph/generated/models/print_task_trigger_collection_response.py index 5ba437e51fc..7c569570252 100644 --- a/msgraph/generated/models/print_task_trigger_collection_response.py +++ b/msgraph/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/generated/models/print_usage.py b/msgraph/generated/models/print_usage.py index def9e98868a..58d4f3a5b19 100644 --- a/msgraph/generated/models/print_usage.py +++ b/msgraph/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/generated/models/print_usage_by_printer.py b/msgraph/generated/models/print_usage_by_printer.py index 7f3115affbe..6be1fae2d55 100644 --- a/msgraph/generated/models/print_usage_by_printer.py +++ b/msgraph/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/generated/models/print_usage_by_printer_collection_response.py b/msgraph/generated/models/print_usage_by_printer_collection_response.py index 91214d1e3c9..a81a4c8c945 100644 --- a/msgraph/generated/models/print_usage_by_printer_collection_response.py +++ b/msgraph/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/generated/models/print_usage_by_user.py b/msgraph/generated/models/print_usage_by_user.py index 65fcb489f1e..6760998a1fb 100644 --- a/msgraph/generated/models/print_usage_by_user.py +++ b/msgraph/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/generated/models/print_usage_by_user_collection_response.py b/msgraph/generated/models/print_usage_by_user_collection_response.py index a5122670852..7d021566676 100644 --- a/msgraph/generated/models/print_usage_by_user_collection_response.py +++ b/msgraph/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/generated/models/printer.py b/msgraph/generated/models/printer.py index 1126c6e1e28..e4614c19aec 100644 --- a/msgraph/generated/models/printer.py +++ b/msgraph/generated/models/printer.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 .printer_base import PrinterBase + from .printer_share import PrinterShare + from .print_connector import PrintConnector + from .print_task_trigger import PrintTaskTrigger + writer.write_collection_of_object_values("connectors", self.connectors) writer.write_bool_value("hasPhysicalDevice", self.has_physical_device) writer.write_bool_value("isShared", self.is_shared) diff --git a/msgraph/generated/models/printer_base.py b/msgraph/generated/models/printer_base.py index e2341674df7..969ddc54891 100644 --- a/msgraph/generated/models/printer_base.py +++ b/msgraph/generated/models/printer_base.py @@ -48,7 +48,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(): @@ -108,6 +109,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/generated/models/printer_capabilities.py b/msgraph/generated/models/printer_capabilities.py index 425da96034c..ba45c97a8c2 100644 --- a/msgraph/generated/models/printer_capabilities.py +++ b/msgraph/generated/models/printer_capabilities.py @@ -149,6 +149,16 @@ 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_multipage_layout import PrintMultipageLayout + from .print_orientation import PrintOrientation + 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/generated/models/printer_collection_response.py b/msgraph/generated/models/printer_collection_response.py index 58e0e85225c..9a22a35ff4d 100644 --- a/msgraph/generated/models/printer_collection_response.py +++ b/msgraph/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/generated/models/printer_create_operation.py b/msgraph/generated/models/printer_create_operation.py index 5911e27da01..009232dc87c 100644 --- a/msgraph/generated/models/printer_create_operation.py +++ b/msgraph/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/generated/models/printer_defaults.py b/msgraph/generated/models/printer_defaults.py index bd0de418937..32f60677b6f 100644 --- a/msgraph/generated/models/printer_defaults.py +++ b/msgraph/generated/models/printer_defaults.py @@ -119,6 +119,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .print_color_mode import PrintColorMode + from .print_duplex_mode import PrintDuplexMode + from .print_finishing import PrintFinishing + from .print_multipage_layout import PrintMultipageLayout + from .print_orientation import PrintOrientation + 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/generated/models/printer_share.py b/msgraph/generated/models/printer_share.py index 78da2f29de8..1630f42b219 100644 --- a/msgraph/generated/models/printer_share.py +++ b/msgraph/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/generated/models/printer_share_collection_response.py b/msgraph/generated/models/printer_share_collection_response.py index df1a78f2174..e41e85936c8 100644 --- a/msgraph/generated/models/printer_share_collection_response.py +++ b/msgraph/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/generated/models/printer_status.py b/msgraph/generated/models/printer_status.py index 53b99e3f420..f891806ca27 100644 --- a/msgraph/generated/models/printer_status.py +++ b/msgraph/generated/models/printer_status.py @@ -62,6 +62,9 @@ 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 + 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/generated/models/privacy.py b/msgraph/generated/models/privacy.py index 26ce887cd62..49524ff657c 100644 --- a/msgraph/generated/models/privacy.py +++ b/msgraph/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/generated/models/privileged_access_group.py b/msgraph/generated/models/privileged_access_group.py index bb5f925b8f2..72e358c1872 100644 --- a/msgraph/generated/models/privileged_access_group.py +++ b/msgraph/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/generated/models/privileged_access_group_assignment_schedule.py b/msgraph/generated/models/privileged_access_group_assignment_schedule.py index aff8598e500..fdc4b5f19cc 100644 --- a/msgraph/generated/models/privileged_access_group_assignment_schedule.py +++ b/msgraph/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/generated/models/privileged_access_group_assignment_schedule_collection_response.py b/msgraph/generated/models/privileged_access_group_assignment_schedule_collection_response.py index e2a0ef6bf97..53167e1bd97 100644 --- a/msgraph/generated/models/privileged_access_group_assignment_schedule_collection_response.py +++ b/msgraph/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/generated/models/privileged_access_group_assignment_schedule_instance.py b/msgraph/generated/models/privileged_access_group_assignment_schedule_instance.py index 0f9de0f4353..f023fafadaa 100644 --- a/msgraph/generated/models/privileged_access_group_assignment_schedule_instance.py +++ b/msgraph/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/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py b/msgraph/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py index 5cef9e031db..544ccc21f7a 100644 --- a/msgraph/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py +++ b/msgraph/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/generated/models/privileged_access_group_assignment_schedule_request.py b/msgraph/generated/models/privileged_access_group_assignment_schedule_request.py index 6bc6d9698fb..9359d34be1d 100644 --- a/msgraph/generated/models/privileged_access_group_assignment_schedule_request.py +++ b/msgraph/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/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py b/msgraph/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py index 41391345192..0e44a4d08d7 100644 --- a/msgraph/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py +++ b/msgraph/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/generated/models/privileged_access_group_eligibility_schedule.py b/msgraph/generated/models/privileged_access_group_eligibility_schedule.py index d4802e7aa94..83f24379bc2 100644 --- a/msgraph/generated/models/privileged_access_group_eligibility_schedule.py +++ b/msgraph/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/generated/models/privileged_access_group_eligibility_schedule_collection_response.py b/msgraph/generated/models/privileged_access_group_eligibility_schedule_collection_response.py index ba4eb2f9338..aa8f24b8eb4 100644 --- a/msgraph/generated/models/privileged_access_group_eligibility_schedule_collection_response.py +++ b/msgraph/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/generated/models/privileged_access_group_eligibility_schedule_instance.py b/msgraph/generated/models/privileged_access_group_eligibility_schedule_instance.py index 244b2f8e163..d9eed3421e5 100644 --- a/msgraph/generated/models/privileged_access_group_eligibility_schedule_instance.py +++ b/msgraph/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/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py b/msgraph/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py index 93bc56b4873..33e3cb311a4 100644 --- a/msgraph/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py +++ b/msgraph/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/generated/models/privileged_access_group_eligibility_schedule_request.py b/msgraph/generated/models/privileged_access_group_eligibility_schedule_request.py index 5e901c6a144..c93344dac00 100644 --- a/msgraph/generated/models/privileged_access_group_eligibility_schedule_request.py +++ b/msgraph/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/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py b/msgraph/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py index 4f3dcc05f70..9d1df652652 100644 --- a/msgraph/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py +++ b/msgraph/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/generated/models/privileged_access_root.py b/msgraph/generated/models/privileged_access_root.py index 1c7b5ed0ec8..9f151bd8403 100644 --- a/msgraph/generated/models/privileged_access_root.py +++ b/msgraph/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/generated/models/privileged_access_schedule.py b/msgraph/generated/models/privileged_access_schedule.py index 9757964cf49..14d71a76de1 100644 --- a/msgraph/generated/models/privileged_access_schedule.py +++ b/msgraph/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/generated/models/privileged_access_schedule_instance.py b/msgraph/generated/models/privileged_access_schedule_instance.py index 63a1463e1cd..02ed99f3ef9 100644 --- a/msgraph/generated/models/privileged_access_schedule_instance.py +++ b/msgraph/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/generated/models/privileged_access_schedule_request.py b/msgraph/generated/models/privileged_access_schedule_request.py index 3d64bffb879..4697ddc0c04 100644 --- a/msgraph/generated/models/privileged_access_schedule_request.py +++ b/msgraph/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/generated/models/process.py b/msgraph/generated/models/process.py index 63f98cacfc7..d88099679cc 100644 --- a/msgraph/generated/models/process.py +++ b/msgraph/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/generated/models/profile_card_annotation.py b/msgraph/generated/models/profile_card_annotation.py index 4def9db3261..e1a60feb7ff 100644 --- a/msgraph/generated/models/profile_card_annotation.py +++ b/msgraph/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/generated/models/profile_card_property.py b/msgraph/generated/models/profile_card_property.py index 972d39d61be..1a80aca1255 100644 --- a/msgraph/generated/models/profile_card_property.py +++ b/msgraph/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/generated/models/profile_card_property_collection_response.py b/msgraph/generated/models/profile_card_property_collection_response.py index 722b6a8d614..c3c9b4f5016 100644 --- a/msgraph/generated/models/profile_card_property_collection_response.py +++ b/msgraph/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/generated/models/profile_photo.py b/msgraph/generated/models/profile_photo.py index 984b3f833f2..9afed0f4e63 100644 --- a/msgraph/generated/models/profile_photo.py +++ b/msgraph/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/generated/models/profile_photo_collection_response.py b/msgraph/generated/models/profile_photo_collection_response.py index fa0c88a196f..8586dc00a17 100644 --- a/msgraph/generated/models/profile_photo_collection_response.py +++ b/msgraph/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/generated/models/prompt.py b/msgraph/generated/models/prompt.py index a821a1c3eb2..4bdcead6e41 100644 --- a/msgraph/generated/models/prompt.py +++ b/msgraph/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/generated/models/pronouns_settings.py b/msgraph/generated/models/pronouns_settings.py index 3fb273fcc0a..fda719c1851 100644 --- a/msgraph/generated/models/pronouns_settings.py +++ b/msgraph/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/generated/models/protection_policy_base.py b/msgraph/generated/models/protection_policy_base.py index b01f3d327ef..696789c078f 100644 --- a/msgraph/generated/models/protection_policy_base.py +++ b/msgraph/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/generated/models/protection_policy_base_collection_response.py b/msgraph/generated/models/protection_policy_base_collection_response.py index 0266ffe4e05..89f618fceb6 100644 --- a/msgraph/generated/models/protection_policy_base_collection_response.py +++ b/msgraph/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/generated/models/protection_rule_base.py b/msgraph/generated/models/protection_rule_base.py index 65a0eeea977..249500fb992 100644 --- a/msgraph/generated/models/protection_rule_base.py +++ b/msgraph/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/generated/models/protection_unit_base.py b/msgraph/generated/models/protection_unit_base.py index 9f5d3e9dffe..74bee8e8c61 100644 --- a/msgraph/generated/models/protection_unit_base.py +++ b/msgraph/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/generated/models/protection_unit_base_collection_response.py b/msgraph/generated/models/protection_unit_base_collection_response.py index 05f47dc9bfe..72ce0978d2e 100644 --- a/msgraph/generated/models/protection_unit_base_collection_response.py +++ b/msgraph/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/generated/models/provisioned_identity.py b/msgraph/generated/models/provisioned_identity.py index 7ac510cc36e..ac8d486c24c 100644 --- a/msgraph/generated/models/provisioned_identity.py +++ b/msgraph/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/generated/models/provisioned_plan.py b/msgraph/generated/models/provisioned_plan.py index 2b0e147d01b..b53611d43c2 100644 --- a/msgraph/generated/models/provisioned_plan.py +++ b/msgraph/generated/models/provisioned_plan.py @@ -11,13 +11,13 @@ 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' + # The name of the service; for example, 'AccessControlS2S'. service: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/provisioning_error_info.py b/msgraph/generated/models/provisioning_error_info.py index ec6877b75e1..482c9ab0909 100644 --- a/msgraph/generated/models/provisioning_error_info.py +++ b/msgraph/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/generated/models/provisioning_object_summary.py b/msgraph/generated/models/provisioning_object_summary.py index 22334c19b30..69ae5ef70a2 100644 --- a/msgraph/generated/models/provisioning_object_summary.py +++ b/msgraph/generated/models/provisioning_object_summary.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 .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 + writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("changeId", self.change_id) writer.write_str_value("cycleId", self.cycle_id) diff --git a/msgraph/generated/models/provisioning_object_summary_collection_response.py b/msgraph/generated/models/provisioning_object_summary_collection_response.py index 22ab6b96dfc..d12612c9f79 100644 --- a/msgraph/generated/models/provisioning_object_summary_collection_response.py +++ b/msgraph/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/generated/models/provisioning_service_principal.py b/msgraph/generated/models/provisioning_service_principal.py index f591eee521b..407899ed962 100644 --- a/msgraph/generated/models/provisioning_service_principal.py +++ b/msgraph/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/generated/models/provisioning_status_info.py b/msgraph/generated/models/provisioning_status_info.py index 59e63119a24..3b17aba6d72 100644 --- a/msgraph/generated/models/provisioning_status_info.py +++ b/msgraph/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/generated/models/provisioning_step.py b/msgraph/generated/models/provisioning_step.py index bdd8dccc6fe..d493c803776 100644 --- a/msgraph/generated/models/provisioning_step.py +++ b/msgraph/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/generated/models/provisioning_system.py b/msgraph/generated/models/provisioning_system.py index 54bae2adeec..920f7deffd2 100644 --- a/msgraph/generated/models/provisioning_system.py +++ b/msgraph/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/generated/models/public_error.py b/msgraph/generated/models/public_error.py index 2e2f3e99ff7..ea98efbac7b 100644 --- a/msgraph/generated/models/public_error.py +++ b/msgraph/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/generated/models/public_inner_error.py b/msgraph/generated/models/public_inner_error.py index 7f97043c443..4ef61d2ac1c 100644 --- a/msgraph/generated/models/public_inner_error.py +++ b/msgraph/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/generated/models/publication_facet.py b/msgraph/generated/models/publication_facet.py index d4d90c34b9c..03e670359bc 100644 --- a/msgraph/generated/models/publication_facet.py +++ b/msgraph/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/generated/models/quota.py b/msgraph/generated/models/quota.py index 3ab8e474746..6a0af83b596 100644 --- a/msgraph/generated/models/quota.py +++ b/msgraph/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/generated/models/rbac_application.py b/msgraph/generated/models/rbac_application.py index d8e2aa9a404..3a40a06ebcd 100644 --- a/msgraph/generated/models/rbac_application.py +++ b/msgraph/generated/models/rbac_application.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 .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("roleAssignmentScheduleInstances", self.role_assignment_schedule_instances) writer.write_collection_of_object_values("roleAssignmentScheduleRequests", self.role_assignment_schedule_requests) diff --git a/msgraph/generated/models/recent_notebook.py b/msgraph/generated/models/recent_notebook.py index f3c4337f445..a1f512ac9b2 100644 --- a/msgraph/generated/models/recent_notebook.py +++ b/msgraph/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/generated/models/recent_notebook_links.py b/msgraph/generated/models/recent_notebook_links.py index 85aac1356c4..f6f0706f2ee 100644 --- a/msgraph/generated/models/recent_notebook_links.py +++ b/msgraph/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/generated/models/recipient.py b/msgraph/generated/models/recipient.py index aca03dc6536..5aa091fe323 100644 --- a/msgraph/generated/models/recipient.py +++ b/msgraph/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/generated/models/record_operation.py b/msgraph/generated/models/record_operation.py index f83853d6e18..3fdd2e8b0d9 100644 --- a/msgraph/generated/models/record_operation.py +++ b/msgraph/generated/models/record_operation.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 .comms_operation import CommsOperation + writer.write_str_value("recordingAccessToken", self.recording_access_token) writer.write_str_value("recordingLocation", self.recording_location) diff --git a/msgraph/generated/models/recording_info.py b/msgraph/generated/models/recording_info.py index d0abcf64fcd..206be3a61db 100644 --- a/msgraph/generated/models/recording_info.py +++ b/msgraph/generated/models/recording_info.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + from .recording_status import RecordingStatus + writer.write_object_value("initiator", self.initiator) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("recordingStatus", self.recording_status) diff --git a/msgraph/generated/models/recurrence_pattern.py b/msgraph/generated/models/recurrence_pattern.py index 9ba2cc0033c..4a222aa1783 100644 --- a/msgraph/generated/models/recurrence_pattern.py +++ b/msgraph/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/generated/models/recurrence_range.py b/msgraph/generated/models/recurrence_range.py index 4bbe964215b..0cf2204e1a5 100644 --- a/msgraph/generated/models/recurrence_range.py +++ b/msgraph/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/generated/models/reference_attachment.py b/msgraph/generated/models/reference_attachment.py index 79328850bfa..81eba86e4c3 100644 --- a/msgraph/generated/models/reference_attachment.py +++ b/msgraph/generated/models/reference_attachment.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + diff --git a/msgraph/generated/models/registration_enforcement.py b/msgraph/generated/models/registration_enforcement.py index 42ac8a9d496..66e9b1a96cd 100644 --- a/msgraph/generated/models/registration_enforcement.py +++ b/msgraph/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/generated/models/registry_key_state.py b/msgraph/generated/models/registry_key_state.py index 331b64f4793..3a44494da20 100644 --- a/msgraph/generated/models/registry_key_state.py +++ b/msgraph/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/generated/models/related_contact.py b/msgraph/generated/models/related_contact.py index d68b80771fb..103f80ba06f 100644 --- a/msgraph/generated/models/related_contact.py +++ b/msgraph/generated/models/related_contact.py @@ -65,6 +65,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/generated/models/relying_party_detailed_summary.py b/msgraph/generated/models/relying_party_detailed_summary.py index d0af3f23bae..d13a886a4cb 100644 --- a/msgraph/generated/models/relying_party_detailed_summary.py +++ b/msgraph/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/generated/models/reminder.py b/msgraph/generated/models/reminder.py index f11499db337..9732de499d0 100644 --- a/msgraph/generated/models/reminder.py +++ b/msgraph/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/generated/models/remote_assistance_partner.py b/msgraph/generated/models/remote_assistance_partner.py index f43da59a9e2..d6fe9ec32a8 100644 --- a/msgraph/generated/models/remote_assistance_partner.py +++ b/msgraph/generated/models/remote_assistance_partner.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 .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_enum_value("onboardingStatus", self.onboarding_status) diff --git a/msgraph/generated/models/remote_assistance_partner_collection_response.py b/msgraph/generated/models/remote_assistance_partner_collection_response.py index a4435621da8..b748576b9fa 100644 --- a/msgraph/generated/models/remote_assistance_partner_collection_response.py +++ b/msgraph/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/generated/models/remote_desktop_security_configuration.py b/msgraph/generated/models/remote_desktop_security_configuration.py index 87f33e84067..66be2d2c629 100644 --- a/msgraph/generated/models/remote_desktop_security_configuration.py +++ b/msgraph/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/generated/models/remote_item.py b/msgraph/generated/models/remote_item.py index 119bbd74596..4b5bb5e2f26 100644 --- a/msgraph/generated/models/remote_item.py +++ b/msgraph/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/generated/models/remote_lock_action_result.py b/msgraph/generated/models/remote_lock_action_result.py index d355569b6df..5af9b1181a0 100644 --- a/msgraph/generated/models/remote_lock_action_result.py +++ b/msgraph/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/generated/models/remove_access_apply_action.py b/msgraph/generated/models/remove_access_apply_action.py index fc10046dbe9..79c00dbe0a1 100644 --- a/msgraph/generated/models/remove_access_apply_action.py +++ b/msgraph/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/generated/models/report_root.py b/msgraph/generated/models/report_root.py index e386e5d1891..7cc4a379bdc 100644 --- a/msgraph/generated/models/report_root.py +++ b/msgraph/generated/models/report_root.py @@ -83,6 +83,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_methods_root import AuthenticationMethodsRoot + from .partners.partners import Partners + from .print_usage_by_printer import PrintUsageByPrinter + from .print_usage_by_user import PrintUsageByUser + from .security_reports_root import SecurityReportsRoot + writer.write_object_value("authenticationMethods", self.authentication_methods) writer.write_collection_of_object_values("dailyPrintUsageByPrinter", self.daily_print_usage_by_printer) writer.write_collection_of_object_values("dailyPrintUsageByUser", self.daily_print_usage_by_user) diff --git a/msgraph/generated/models/request.py b/msgraph/generated/models/request.py index b3453a1e24d..63f07851e75 100644 --- a/msgraph/generated/models/request.py +++ b/msgraph/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/generated/models/request_schedule.py b/msgraph/generated/models/request_schedule.py index f3e8817b420..4566b4e61de 100644 --- a/msgraph/generated/models/request_schedule.py +++ b/msgraph/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/generated/models/request_signature_verification.py b/msgraph/generated/models/request_signature_verification.py index e54e3a6d5ad..119bcf98959 100644 --- a/msgraph/generated/models/request_signature_verification.py +++ b/msgraph/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/generated/models/requestor_manager.py b/msgraph/generated/models/requestor_manager.py index a7b093e9bf9..84818f13ffe 100644 --- a/msgraph/generated/models/requestor_manager.py +++ b/msgraph/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 .subject_set import SubjectSet + writer.write_int_value("managerLevel", self.manager_level) diff --git a/msgraph/generated/models/required_resource_access.py b/msgraph/generated/models/required_resource_access.py index 06042fcad54..c0076cf197f 100644 --- a/msgraph/generated/models/required_resource_access.py +++ b/msgraph/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/generated/models/reseller_delegated_admin_relationship.py b/msgraph/generated/models/reseller_delegated_admin_relationship.py index b10423f4f63..f094bd15fb1 100644 --- a/msgraph/generated/models/reseller_delegated_admin_relationship.py +++ b/msgraph/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/generated/models/reset_passcode_action_result.py b/msgraph/generated/models/reset_passcode_action_result.py index f3d13e1ea20..d159ec77951 100644 --- a/msgraph/generated/models/reset_passcode_action_result.py +++ b/msgraph/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/generated/models/resource_operation.py b/msgraph/generated/models/resource_operation.py index 3c835eaa55c..34a8c106208 100644 --- a/msgraph/generated/models/resource_operation.py +++ b/msgraph/generated/models/resource_operation.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("actionName", self.action_name) writer.write_str_value("description", self.description) writer.write_str_value("resourceName", self.resource_name) diff --git a/msgraph/generated/models/resource_operation_collection_response.py b/msgraph/generated/models/resource_operation_collection_response.py index 76a7360dc16..3be51334ad0 100644 --- a/msgraph/generated/models/resource_operation_collection_response.py +++ b/msgraph/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/generated/models/resource_specific_permission_grant.py b/msgraph/generated/models/resource_specific_permission_grant.py index 3714f683965..32aee1e7650 100644 --- a/msgraph/generated/models/resource_specific_permission_grant.py +++ b/msgraph/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/generated/models/resource_specific_permission_grant_collection_response.py b/msgraph/generated/models/resource_specific_permission_grant_collection_response.py index 06a62c9d488..20e36e709ca 100644 --- a/msgraph/generated/models/resource_specific_permission_grant_collection_response.py +++ b/msgraph/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/generated/models/response_status.py b/msgraph/generated/models/response_status.py index f986c880383..ebbd1b05fbb 100644 --- a/msgraph/generated/models/response_status.py +++ b/msgraph/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/generated/models/restore_artifact_base.py b/msgraph/generated/models/restore_artifact_base.py index 31b6a335542..e619bb01c5a 100644 --- a/msgraph/generated/models/restore_artifact_base.py +++ b/msgraph/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/generated/models/restore_point.py b/msgraph/generated/models/restore_point.py index b3cb61833de..999dceaeaa1 100644 --- a/msgraph/generated/models/restore_point.py +++ b/msgraph/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/generated/models/restore_point_collection_response.py b/msgraph/generated/models/restore_point_collection_response.py index 6d50e348e18..e91660b16b6 100644 --- a/msgraph/generated/models/restore_point_collection_response.py +++ b/msgraph/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/generated/models/restore_point_search_response.py b/msgraph/generated/models/restore_point_search_response.py index 0682817516a..fdd2b14b6ba 100644 --- a/msgraph/generated/models/restore_point_search_response.py +++ b/msgraph/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/generated/models/restore_point_search_result.py b/msgraph/generated/models/restore_point_search_result.py index dff3e36c1e8..1995a617c64 100644 --- a/msgraph/generated/models/restore_point_search_result.py +++ b/msgraph/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/generated/models/restore_session_base.py b/msgraph/generated/models/restore_session_base.py index 017b2d56dc7..5db114bf705 100644 --- a/msgraph/generated/models/restore_session_base.py +++ b/msgraph/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/generated/models/restore_session_base_collection_response.py b/msgraph/generated/models/restore_session_base_collection_response.py index 70313c90696..138ed47fb9e 100644 --- a/msgraph/generated/models/restore_session_base_collection_response.py +++ b/msgraph/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/generated/models/result_template_dictionary.py b/msgraph/generated/models/result_template_dictionary.py index b9c84a35acf..227d891cbcf 100644 --- a/msgraph/generated/models/result_template_dictionary.py +++ b/msgraph/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/generated/models/retention_label_settings.py b/msgraph/generated/models/retention_label_settings.py index 05cd08cb759..192c2e537fc 100644 --- a/msgraph/generated/models/retention_label_settings.py +++ b/msgraph/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/generated/models/rich_long_running_operation.py b/msgraph/generated/models/rich_long_running_operation.py index 7e3ecfe4bc1..a8076f14288 100644 --- a/msgraph/generated/models/rich_long_running_operation.py +++ b/msgraph/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/generated/models/rich_long_running_operation_collection_response.py b/msgraph/generated/models/rich_long_running_operation_collection_response.py index f2eb10e0ff1..8dd89800b65 100644 --- a/msgraph/generated/models/rich_long_running_operation_collection_response.py +++ b/msgraph/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/generated/models/risk_detection.py b/msgraph/generated/models/risk_detection.py index 82c7f083570..ca438693cfb 100644 --- a/msgraph/generated/models/risk_detection.py +++ b/msgraph/generated/models/risk_detection.py @@ -40,7 +40,7 @@ class RiskDetection(Entity): odata_type: Optional[str] = None # Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. request_id: Optional[str] = None - # Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. + # Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. risk_detail: Optional[RiskDetail] = None # The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousToken, anomalousUserActivity, anonymizedIPAddress, generic, impossibleTravel, investigationsThreatIntelligence, suspiciousSendingPatterns, leakedCredentials, maliciousIPAddress,malwareInfectedIPAddress, mcasSuspiciousInboxManipulationRules, newCountry, passwordSpray,riskyIPAddress, suspiciousAPITraffic, suspiciousBrowser,suspiciousInboxForwarding, suspiciousIPAddress, tokenIssuerAnomaly, unfamiliarFeatures, unlikelyTravel. If the risk detection is a premium detection, will show generic. For more information about each value, see Risk types and detection. risk_event_type: Optional[str] = None @@ -127,6 +127,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/generated/models/risk_detection_collection_response.py b/msgraph/generated/models/risk_detection_collection_response.py index 290f1cefc4c..023f6d6614c 100644 --- a/msgraph/generated/models/risk_detection_collection_response.py +++ b/msgraph/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/generated/models/risk_service_principal_activity.py b/msgraph/generated/models/risk_service_principal_activity.py index f8d92c4481c..cb02085f977 100644 --- a/msgraph/generated/models/risk_service_principal_activity.py +++ b/msgraph/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/generated/models/risk_user_activity.py b/msgraph/generated/models/risk_user_activity.py index 72d2facde10..9004d4a02fe 100644 --- a/msgraph/generated/models/risk_user_activity.py +++ b/msgraph/generated/models/risk_user_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/generated/models/risky_service_principal.py b/msgraph/generated/models/risky_service_principal.py index 8ad91481dcb..ac84c23bb91 100644 --- a/msgraph/generated/models/risky_service_principal.py +++ b/msgraph/generated/models/risky_service_principal.py @@ -48,7 +48,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(): @@ -99,6 +100,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_str_value("appId", self.app_id) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("history", self.history) diff --git a/msgraph/generated/models/risky_service_principal_collection_response.py b/msgraph/generated/models/risky_service_principal_collection_response.py index 18e10e4c026..bf981374df6 100644 --- a/msgraph/generated/models/risky_service_principal_collection_response.py +++ b/msgraph/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/generated/models/risky_service_principal_history_item.py b/msgraph/generated/models/risky_service_principal_history_item.py index 9bce5fa13db..f10994c3b5a 100644 --- a/msgraph/generated/models/risky_service_principal_history_item.py +++ b/msgraph/generated/models/risky_service_principal_history_item.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 .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) diff --git a/msgraph/generated/models/risky_service_principal_history_item_collection_response.py b/msgraph/generated/models/risky_service_principal_history_item_collection_response.py index 19d4464abef..e5e7b2a06b2 100644 --- a/msgraph/generated/models/risky_service_principal_history_item_collection_response.py +++ b/msgraph/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/generated/models/risky_user.py b/msgraph/generated/models/risky_user.py index b380dc01234..722359e4c61 100644 --- a/msgraph/generated/models/risky_user.py +++ b/msgraph/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/generated/models/risky_user_collection_response.py b/msgraph/generated/models/risky_user_collection_response.py index 015a41c4279..eadd08d5d96 100644 --- a/msgraph/generated/models/risky_user_collection_response.py +++ b/msgraph/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/generated/models/risky_user_history_item.py b/msgraph/generated/models/risky_user_history_item.py index 467bc8ba1ab..53a80c8b79e 100644 --- a/msgraph/generated/models/risky_user_history_item.py +++ b/msgraph/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/generated/models/risky_user_history_item_collection_response.py b/msgraph/generated/models/risky_user_history_item_collection_response.py index 1eea2458869..4aebfe08eae 100644 --- a/msgraph/generated/models/risky_user_history_item_collection_response.py +++ b/msgraph/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/generated/models/role_assignment.py b/msgraph/generated/models/role_assignment.py index d4fcc5d1b84..697a83e7926 100644 --- a/msgraph/generated/models/role_assignment.py +++ b/msgraph/generated/models/role_assignment.py @@ -36,7 +36,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(): @@ -77,6 +78,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_role_assignment import DeviceAndAppManagementRoleAssignment + from .entity import Entity + 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/generated/models/role_assignment_collection_response.py b/msgraph/generated/models/role_assignment_collection_response.py index 032f5d1cfd4..cac565472f6 100644 --- a/msgraph/generated/models/role_assignment_collection_response.py +++ b/msgraph/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/generated/models/role_definition.py b/msgraph/generated/models/role_definition.py index 8bf08ceeea9..6a0ea091b07 100644 --- a/msgraph/generated/models/role_definition.py +++ b/msgraph/generated/models/role_definition.py @@ -39,7 +39,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(): @@ -83,6 +84,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/generated/models/role_definition_collection_response.py b/msgraph/generated/models/role_definition_collection_response.py index 0d819d3becd..6488c86ec04 100644 --- a/msgraph/generated/models/role_definition_collection_response.py +++ b/msgraph/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/generated/models/role_management.py b/msgraph/generated/models/role_management.py index dca71a8e967..735ff873dba 100644 --- a/msgraph/generated/models/role_management.py +++ b/msgraph/generated/models/role_management.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rbac_application import RbacApplication + writer.write_object_value("directory", self.directory) writer.write_object_value("entitlementManagement", self.entitlement_management) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/role_permission.py b/msgraph/generated/models/role_permission.py index 06c4b52f5c1..6913fe4fae2 100644 --- a/msgraph/generated/models/role_permission.py +++ b/msgraph/generated/models/role_permission.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .resource_action import ResourceAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("resourceActions", self.resource_actions) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/room.py b/msgraph/generated/models/room.py index f02550ac9f9..cc236aeef96 100644 --- a/msgraph/generated/models/room.py +++ b/msgraph/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/generated/models/room_collection_response.py b/msgraph/generated/models/room_collection_response.py index 9f533adfc7f..3f75c28ad55 100644 --- a/msgraph/generated/models/room_collection_response.py +++ b/msgraph/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/generated/models/room_list.py b/msgraph/generated/models/room_list.py index bf4cca60369..a0d7a4bd77d 100644 --- a/msgraph/generated/models/room_list.py +++ b/msgraph/generated/models/room_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 .place import Place + from .room import Room + writer.write_str_value("emailAddress", self.email_address) writer.write_collection_of_object_values("rooms", self.rooms) diff --git a/msgraph/generated/models/room_list_collection_response.py b/msgraph/generated/models/room_list_collection_response.py index 7c480b17844..13af65f2ef0 100644 --- a/msgraph/generated/models/room_list_collection_response.py +++ b/msgraph/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/generated/models/rotate_bit_locker_keys_device_action_result.py b/msgraph/generated/models/rotate_bit_locker_keys_device_action_result.py index 53eacf1b071..93ea58453df 100644 --- a/msgraph/generated/models/rotate_bit_locker_keys_device_action_result.py +++ b/msgraph/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/generated/models/rubric_criterion.py b/msgraph/generated/models/rubric_criterion.py index a1388864105..ee23aba2fe6 100644 --- a/msgraph/generated/models/rubric_criterion.py +++ b/msgraph/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/generated/models/rubric_level.py b/msgraph/generated/models/rubric_level.py index 4ea72ec832d..3fa9078a2ce 100644 --- a/msgraph/generated/models/rubric_level.py +++ b/msgraph/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/generated/models/rubric_quality.py b/msgraph/generated/models/rubric_quality.py index d73b50f54be..40a955bf8c9 100644 --- a/msgraph/generated/models/rubric_quality.py +++ b/msgraph/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/generated/models/rubric_quality_feedback_model.py b/msgraph/generated/models/rubric_quality_feedback_model.py index 74c499a2614..c89a31affba 100644 --- a/msgraph/generated/models/rubric_quality_feedback_model.py +++ b/msgraph/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/generated/models/saml_or_ws_fed_external_domain_federation.py b/msgraph/generated/models/saml_or_ws_fed_external_domain_federation.py index deaa201da48..d50fdea6a1b 100644 --- a/msgraph/generated/models/saml_or_ws_fed_external_domain_federation.py +++ b/msgraph/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/generated/models/saml_or_ws_fed_provider.py b/msgraph/generated/models/saml_or_ws_fed_provider.py index 1dc7c4802e5..37611f3c106 100644 --- a/msgraph/generated/models/saml_or_ws_fed_provider.py +++ b/msgraph/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/generated/models/schedule.py b/msgraph/generated/models/schedule.py index 63808f40b81..e0137ec3d7a 100644 --- a/msgraph/generated/models/schedule.py +++ b/msgraph/generated/models/schedule.py @@ -135,6 +135,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 .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 .swap_shifts_change_request import SwapShiftsChangeRequest + from .time_off import TimeOff + from .time_off_reason import TimeOffReason + from .time_off_request import TimeOffRequest + writer.write_bool_value("enabled", self.enabled) writer.write_collection_of_object_values("offerShiftRequests", self.offer_shift_requests) writer.write_bool_value("offerShiftRequestsEnabled", self.offer_shift_requests_enabled) diff --git a/msgraph/generated/models/schedule_change_request.py b/msgraph/generated/models/schedule_change_request.py index 37c8cea1f3c..104e59dd564 100644 --- a/msgraph/generated/models/schedule_change_request.py +++ b/msgraph/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/generated/models/schedule_entity.py b/msgraph/generated/models/schedule_entity.py index 07e9df029b1..e8698c8ddeb 100644 --- a/msgraph/generated/models/schedule_entity.py +++ b/msgraph/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/generated/models/schedule_information.py b/msgraph/generated/models/schedule_information.py index 8d58f477b2d..9bddb50618a 100644 --- a/msgraph/generated/models/schedule_information.py +++ b/msgraph/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/generated/models/schedule_item.py b/msgraph/generated/models/schedule_item.py index 175ac091d08..f6eb50afc04 100644 --- a/msgraph/generated/models/schedule_item.py +++ b/msgraph/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/generated/models/scheduling_group.py b/msgraph/generated/models/scheduling_group.py index b10338120e2..29573809b79 100644 --- a/msgraph/generated/models/scheduling_group.py +++ b/msgraph/generated/models/scheduling_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 .change_tracked_entity import ChangeTrackedEntity + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("userIds", self.user_ids) diff --git a/msgraph/generated/models/scheduling_group_collection_response.py b/msgraph/generated/models/scheduling_group_collection_response.py index b3bdf00fa57..29267c63cbb 100644 --- a/msgraph/generated/models/scheduling_group_collection_response.py +++ b/msgraph/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/generated/models/schema_extension.py b/msgraph/generated/models/schema_extension.py index 58baed91fa9..9b81cfa0884 100644 --- a/msgraph/generated/models/schema_extension.py +++ b/msgraph/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/generated/models/schema_extension_collection_response.py b/msgraph/generated/models/schema_extension_collection_response.py index 20c22fa81ad..a49f7c51689 100644 --- a/msgraph/generated/models/schema_extension_collection_response.py +++ b/msgraph/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/generated/models/scoped_role_membership.py b/msgraph/generated/models/scoped_role_membership.py index f89020625ae..b6803966d25 100644 --- a/msgraph/generated/models/scoped_role_membership.py +++ b/msgraph/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/generated/models/scoped_role_membership_collection_response.py b/msgraph/generated/models/scoped_role_membership_collection_response.py index 166f2d5d9e1..ca2d394f6a6 100644 --- a/msgraph/generated/models/scoped_role_membership_collection_response.py +++ b/msgraph/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/generated/models/scored_email_address.py b/msgraph/generated/models/scored_email_address.py index 3722f04c78f..b4719fc213a 100644 --- a/msgraph/generated/models/scored_email_address.py +++ b/msgraph/generated/models/scored_email_address.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .selection_likelihood_info import SelectionLikelihoodInfo + writer.write_str_value("address", self.address) writer.write_str_value("itemId", self.item_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/search/acronym.py b/msgraph/generated/models/search/acronym.py index 5467fc24579..76b5a94d0f2 100644 --- a/msgraph/generated/models/search/acronym.py +++ b/msgraph/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/generated/models/search/acronym_collection_response.py b/msgraph/generated/models/search/acronym_collection_response.py index 20796863af2..e0576c14a09 100644 --- a/msgraph/generated/models/search/acronym_collection_response.py +++ b/msgraph/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/generated/models/search/answer_variant.py b/msgraph/generated/models/search/answer_variant.py index d0dbfbbc95b..8ee99d4eb5a 100644 --- a/msgraph/generated/models/search/answer_variant.py +++ b/msgraph/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/generated/models/search/bookmark.py b/msgraph/generated/models/search/bookmark.py index 09227cc4c34..c541f9b663b 100644 --- a/msgraph/generated/models/search/bookmark.py +++ b/msgraph/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/generated/models/search/bookmark_collection_response.py b/msgraph/generated/models/search/bookmark_collection_response.py index 57a9f4820e9..7484f35b14f 100644 --- a/msgraph/generated/models/search/bookmark_collection_response.py +++ b/msgraph/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/generated/models/search/identity_set.py b/msgraph/generated/models/search/identity_set.py index 7687cdcb4e6..c295a078ca9 100644 --- a/msgraph/generated/models/search/identity_set.py +++ b/msgraph/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/generated/models/search/qna.py b/msgraph/generated/models/search/qna.py index 5862b9be9f8..6211d3f1554 100644 --- a/msgraph/generated/models/search/qna.py +++ b/msgraph/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/generated/models/search/qna_collection_response.py b/msgraph/generated/models/search/qna_collection_response.py index 4aae677c6c8..da769f7e086 100644 --- a/msgraph/generated/models/search/qna_collection_response.py +++ b/msgraph/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/generated/models/search/search_answer.py b/msgraph/generated/models/search/search_answer.py index 066ab2c5f5d..446ee6fcffd 100644 --- a/msgraph/generated/models/search/search_answer.py +++ b/msgraph/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/generated/models/search_aggregation.py b/msgraph/generated/models/search_aggregation.py index 24d596be796..e40ef460f82 100644 --- a/msgraph/generated/models/search_aggregation.py +++ b/msgraph/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/generated/models/search_alteration.py b/msgraph/generated/models/search_alteration.py index bd7a19febf1..23ef2a1fed4 100644 --- a/msgraph/generated/models/search_alteration.py +++ b/msgraph/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/generated/models/search_entity.py b/msgraph/generated/models/search_entity.py index 7a6411a7d6a..78b143dd2fd 100644 --- a/msgraph/generated/models/search_entity.py +++ b/msgraph/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/generated/models/search_hit.py b/msgraph/generated/models/search_hit.py index 162f0eab81e..8076def1d85 100644 --- a/msgraph/generated/models/search_hit.py +++ b/msgraph/generated/models/search_hit.py @@ -71,6 +71,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("contentSource", self.content_source) writer.write_str_value("hitId", self.hit_id) writer.write_bool_value("isCollapsed", self.is_collapsed) diff --git a/msgraph/generated/models/search_hits_container.py b/msgraph/generated/models/search_hits_container.py index 95d22a50904..b6a819189d3 100644 --- a/msgraph/generated/models/search_hits_container.py +++ b/msgraph/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/generated/models/search_request.py b/msgraph/generated/models/search_request.py index 5069ac60a28..4203191d1db 100644 --- a/msgraph/generated/models/search_request.py +++ b/msgraph/generated/models/search_request.py @@ -116,6 +116,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/generated/models/search_response.py b/msgraph/generated/models/search_response.py index 1a72a76976e..c0c3e3a1070 100644 --- a/msgraph/generated/models/search_response.py +++ b/msgraph/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/generated/models/section_group.py b/msgraph/generated/models/section_group.py index e28015efe30..680bd6cc1e6 100644 --- a/msgraph/generated/models/section_group.py +++ b/msgraph/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/generated/models/section_group_collection_response.py b/msgraph/generated/models/section_group_collection_response.py index 73fd2464fe2..fd8a3845417 100644 --- a/msgraph/generated/models/section_group_collection_response.py +++ b/msgraph/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/generated/models/section_links.py b/msgraph/generated/models/section_links.py index 9e46d4471c0..0e940d835eb 100644 --- a/msgraph/generated/models/section_links.py +++ b/msgraph/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/generated/models/secure_score.py b/msgraph/generated/models/secure_score.py index aaf08496e3c..df9263ce1fa 100644 --- a/msgraph/generated/models/secure_score.py +++ b/msgraph/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/generated/models/secure_score_collection_response.py b/msgraph/generated/models/secure_score_collection_response.py index 4efb3be25c2..da497701c3b 100644 --- a/msgraph/generated/models/secure_score_collection_response.py +++ b/msgraph/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/generated/models/secure_score_control_profile.py b/msgraph/generated/models/secure_score_control_profile.py index 61a6a965c99..15f79a3d8b1 100644 --- a/msgraph/generated/models/secure_score_control_profile.py +++ b/msgraph/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/generated/models/secure_score_control_profile_collection_response.py b/msgraph/generated/models/secure_score_control_profile_collection_response.py index 68bcb3ffacb..70ca7a67388 100644 --- a/msgraph/generated/models/secure_score_control_profile_collection_response.py +++ b/msgraph/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/generated/models/security/alert.py b/msgraph/generated/models/security/alert.py index 6fd23328bee..5e5a6249632 100644 --- a/msgraph/generated/models/security/alert.py +++ b/msgraph/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/generated/models/security/alert_collection_response.py b/msgraph/generated/models/security/alert_collection_response.py index 3192706a815..d96e60a3b76 100644 --- a/msgraph/generated/models/security/alert_collection_response.py +++ b/msgraph/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/generated/models/security/alert_evidence.py b/msgraph/generated/models/security/alert_evidence.py index ee354d9ecce..f204e701601 100644 --- a/msgraph/generated/models/security/alert_evidence.py +++ b/msgraph/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/generated/models/security/amazon_resource_evidence.py b/msgraph/generated/models/security/amazon_resource_evidence.py index 9c36c182ae5..a3cde731287 100644 --- a/msgraph/generated/models/security/amazon_resource_evidence.py +++ b/msgraph/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/generated/models/security/analyzed_message_evidence.py b/msgraph/generated/models/security/analyzed_message_evidence.py index c836b72c3f0..0c69d3797ee 100644 --- a/msgraph/generated/models/security/analyzed_message_evidence.py +++ b/msgraph/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/generated/models/security/article.py b/msgraph/generated/models/security/article.py index b507ec9ae95..7613c435ea7 100644 --- a/msgraph/generated/models/security/article.py +++ b/msgraph/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/generated/models/security/article_collection_response.py b/msgraph/generated/models/security/article_collection_response.py index 201c9781c47..16f8ddb6bdc 100644 --- a/msgraph/generated/models/security/article_collection_response.py +++ b/msgraph/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/generated/models/security/article_indicator.py b/msgraph/generated/models/security/article_indicator.py index cb19f0ba14b..bfc0ef1c616 100644 --- a/msgraph/generated/models/security/article_indicator.py +++ b/msgraph/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/generated/models/security/article_indicator_collection_response.py b/msgraph/generated/models/security/article_indicator_collection_response.py index 7a2be62a43e..1a09d2db991 100644 --- a/msgraph/generated/models/security/article_indicator_collection_response.py +++ b/msgraph/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/generated/models/security/artifact.py b/msgraph/generated/models/security/artifact.py index 242e3a8bf7b..0b5f479cabc 100644 --- a/msgraph/generated/models/security/artifact.py +++ b/msgraph/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/generated/models/security/authority_template.py b/msgraph/generated/models/security/authority_template.py index dad80b31c54..afead235d9e 100644 --- a/msgraph/generated/models/security/authority_template.py +++ b/msgraph/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/generated/models/security/authority_template_collection_response.py b/msgraph/generated/models/security/authority_template_collection_response.py index 407771f6727..cba4888cf1a 100644 --- a/msgraph/generated/models/security/authority_template_collection_response.py +++ b/msgraph/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/generated/models/security/azure_resource_evidence.py b/msgraph/generated/models/security/azure_resource_evidence.py index 24a3c7c6be2..9e64231d7f2 100644 --- a/msgraph/generated/models/security/azure_resource_evidence.py +++ b/msgraph/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/generated/models/security/blob_container_evidence.py b/msgraph/generated/models/security/blob_container_evidence.py index ff6caa3402c..83e6802d08f 100644 --- a/msgraph/generated/models/security/blob_container_evidence.py +++ b/msgraph/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/generated/models/security/blob_evidence.py b/msgraph/generated/models/security/blob_evidence.py index 571699eaa2e..65fa07def89 100644 --- a/msgraph/generated/models/security/blob_evidence.py +++ b/msgraph/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/generated/models/security/case.py b/msgraph/generated/models/security/case.py index 43102b4e99f..24a279c6cd9 100644 --- a/msgraph/generated/models/security/case.py +++ b/msgraph/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/generated/models/security/case_operation.py b/msgraph/generated/models/security/case_operation.py index 613a35361ec..386887e9fb0 100644 --- a/msgraph/generated/models/security/case_operation.py +++ b/msgraph/generated/models/security/case_operation.py @@ -23,7 +23,7 @@ @dataclass class CaseOperation(Entity): - # The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData + # 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/generated/models/security/case_operation_collection_response.py b/msgraph/generated/models/security/case_operation_collection_response.py index f2909938350..f77e869eaa0 100644 --- a/msgraph/generated/models/security/case_operation_collection_response.py +++ b/msgraph/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/generated/models/security/cases_root.py b/msgraph/generated/models/security/cases_root.py index d89da13091d..f5cb037dc7d 100644 --- a/msgraph/generated/models/security/cases_root.py +++ b/msgraph/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/generated/models/security/category_template.py b/msgraph/generated/models/security/category_template.py index e79e0db2875..411544927b0 100644 --- a/msgraph/generated/models/security/category_template.py +++ b/msgraph/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/generated/models/security/category_template_collection_response.py b/msgraph/generated/models/security/category_template_collection_response.py index f1b2e571628..105c9a657f1 100644 --- a/msgraph/generated/models/security/category_template_collection_response.py +++ b/msgraph/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/generated/models/security/citation_template.py b/msgraph/generated/models/security/citation_template.py index 96124821560..6d7faef752f 100644 --- a/msgraph/generated/models/security/citation_template.py +++ b/msgraph/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/generated/models/security/citation_template_collection_response.py b/msgraph/generated/models/security/citation_template_collection_response.py index 108e1a11093..649fed62d15 100644 --- a/msgraph/generated/models/security/citation_template_collection_response.py +++ b/msgraph/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/generated/models/security/cloud_application_evidence.py b/msgraph/generated/models/security/cloud_application_evidence.py index 07e18e7a50a..d4b77b820d1 100644 --- a/msgraph/generated/models/security/cloud_application_evidence.py +++ b/msgraph/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/generated/models/security/cloud_logon_request_evidence.py b/msgraph/generated/models/security/cloud_logon_request_evidence.py index 8f82f9ec545..b8cea8e3a30 100644 --- a/msgraph/generated/models/security/cloud_logon_request_evidence.py +++ b/msgraph/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/generated/models/security/cloud_logon_session_evidence.py b/msgraph/generated/models/security/cloud_logon_session_evidence.py index f5c16bde88c..307f767b01c 100644 --- a/msgraph/generated/models/security/cloud_logon_session_evidence.py +++ b/msgraph/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/generated/models/security/container_evidence.py b/msgraph/generated/models/security/container_evidence.py index c31d84e1ffc..3290775c43b 100644 --- a/msgraph/generated/models/security/container_evidence.py +++ b/msgraph/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/generated/models/security/container_image_evidence.py b/msgraph/generated/models/security/container_image_evidence.py index 4d4c0ae78e5..a41b2745839 100644 --- a/msgraph/generated/models/security/container_image_evidence.py +++ b/msgraph/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/generated/models/security/container_registry_evidence.py b/msgraph/generated/models/security/container_registry_evidence.py index f30931b810c..d8ff37a738b 100644 --- a/msgraph/generated/models/security/container_registry_evidence.py +++ b/msgraph/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/generated/models/security/cvss_summary.py b/msgraph/generated/models/security/cvss_summary.py index 94b87a15729..3fd863f5290 100644 --- a/msgraph/generated/models/security/cvss_summary.py +++ b/msgraph/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/generated/models/security/data_set.py b/msgraph/generated/models/security/data_set.py index ea3d3be7524..58388478da2 100644 --- a/msgraph/generated/models/security/data_set.py +++ b/msgraph/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/generated/models/security/data_source.py b/msgraph/generated/models/security/data_source.py index 41ec836eb73..1f53e879edf 100644 --- a/msgraph/generated/models/security/data_source.py +++ b/msgraph/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/generated/models/security/data_source_collection_response.py b/msgraph/generated/models/security/data_source_collection_response.py index efe12a587a7..71a4b630cc7 100644 --- a/msgraph/generated/models/security/data_source_collection_response.py +++ b/msgraph/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/generated/models/security/data_source_container.py b/msgraph/generated/models/security/data_source_container.py index ddf80843a6c..0102ef8db2e 100644 --- a/msgraph/generated/models/security/data_source_container.py +++ b/msgraph/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/generated/models/security/department_template.py b/msgraph/generated/models/security/department_template.py index 3766d60fa31..9c23baecece 100644 --- a/msgraph/generated/models/security/department_template.py +++ b/msgraph/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/generated/models/security/department_template_collection_response.py b/msgraph/generated/models/security/department_template_collection_response.py index 34f53ab37ae..f05d021f462 100644 --- a/msgraph/generated/models/security/department_template_collection_response.py +++ b/msgraph/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/generated/models/security/device_evidence.py b/msgraph/generated/models/security/device_evidence.py index ceff03b8137..425b50f6f3c 100644 --- a/msgraph/generated/models/security/device_evidence.py +++ b/msgraph/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/generated/models/security/disposition_review_stage.py b/msgraph/generated/models/security/disposition_review_stage.py index 143804fb7e8..5e3f3a6ff55 100644 --- a/msgraph/generated/models/security/disposition_review_stage.py +++ b/msgraph/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/generated/models/security/disposition_review_stage_collection_response.py b/msgraph/generated/models/security/disposition_review_stage_collection_response.py index 6a48b486f89..a470200bcc1 100644 --- a/msgraph/generated/models/security/disposition_review_stage_collection_response.py +++ b/msgraph/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/generated/models/security/dns_evidence.py b/msgraph/generated/models/security/dns_evidence.py index 1413987f728..805ddd20da1 100644 --- a/msgraph/generated/models/security/dns_evidence.py +++ b/msgraph/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/generated/models/security/ediscovery_add_to_review_set_operation.py b/msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py index 8687e5d5ece..2e0bafc7bbf 100644 --- a/msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +++ b/msgraph/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/generated/models/security/ediscovery_case.py b/msgraph/generated/models/security/ediscovery_case.py index 049691098ca..bc21869f2cc 100644 --- a/msgraph/generated/models/security/ediscovery_case.py +++ b/msgraph/generated/models/security/ediscovery_case.py @@ -103,6 +103,16 @@ 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_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/generated/models/security/ediscovery_case_collection_response.py b/msgraph/generated/models/security/ediscovery_case_collection_response.py index 66df0174e3c..928647ca990 100644 --- a/msgraph/generated/models/security/ediscovery_case_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_case_settings.py b/msgraph/generated/models/security/ediscovery_case_settings.py index b8e770d16a6..bc10bc8f725 100644 --- a/msgraph/generated/models/security/ediscovery_case_settings.py +++ b/msgraph/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/generated/models/security/ediscovery_custodian.py b/msgraph/generated/models/security/ediscovery_custodian.py index 2ab25d84b99..4c36f8fbbaa 100644 --- a/msgraph/generated/models/security/ediscovery_custodian.py +++ b/msgraph/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/generated/models/security/ediscovery_custodian_collection_response.py b/msgraph/generated/models/security/ediscovery_custodian_collection_response.py index 3d4d5642aaf..c71491b7203 100644 --- a/msgraph/generated/models/security/ediscovery_custodian_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_estimate_operation.py b/msgraph/generated/models/security/ediscovery_estimate_operation.py index 8a326c722aa..58d3dd04e89 100644 --- a/msgraph/generated/models/security/ediscovery_estimate_operation.py +++ b/msgraph/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/generated/models/security/ediscovery_export_operation.py b/msgraph/generated/models/security/ediscovery_export_operation.py index b0f00014025..bbb9c2e0235 100644 --- a/msgraph/generated/models/security/ediscovery_export_operation.py +++ b/msgraph/generated/models/security/ediscovery_export_operation.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 .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("description", self.description) writer.write_collection_of_object_values("exportFileMetadata", self.export_file_metadata) writer.write_enum_value("exportOptions", self.export_options) diff --git a/msgraph/generated/models/security/ediscovery_hold_operation.py b/msgraph/generated/models/security/ediscovery_hold_operation.py index 027ea6236cb..c65ed2f1de1 100644 --- a/msgraph/generated/models/security/ediscovery_hold_operation.py +++ b/msgraph/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/generated/models/security/ediscovery_index_operation.py b/msgraph/generated/models/security/ediscovery_index_operation.py index dd04a949173..1e3a9b22e8d 100644 --- a/msgraph/generated/models/security/ediscovery_index_operation.py +++ b/msgraph/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/generated/models/security/ediscovery_noncustodial_data_source.py b/msgraph/generated/models/security/ediscovery_noncustodial_data_source.py index 0f6743b6542..c65c2eff138 100644 --- a/msgraph/generated/models/security/ediscovery_noncustodial_data_source.py +++ b/msgraph/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/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py b/msgraph/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py index ac4173cf98e..39a8a57b9cd 100644 --- a/msgraph/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_purge_data_operation.py b/msgraph/generated/models/security/ediscovery_purge_data_operation.py index 8226e630bfe..07fe9852d0f 100644 --- a/msgraph/generated/models/security/ediscovery_purge_data_operation.py +++ b/msgraph/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/generated/models/security/ediscovery_review_set.py b/msgraph/generated/models/security/ediscovery_review_set.py index c79e62fe7a4..29dbc97ad88 100644 --- a/msgraph/generated/models/security/ediscovery_review_set.py +++ b/msgraph/generated/models/security/ediscovery_review_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 .data_set import DataSet + from .ediscovery_review_set_query import EdiscoveryReviewSetQuery + writer.write_collection_of_object_values("queries", self.queries) diff --git a/msgraph/generated/models/security/ediscovery_review_set_collection_response.py b/msgraph/generated/models/security/ediscovery_review_set_collection_response.py index 3339ed66264..2984c0235b8 100644 --- a/msgraph/generated/models/security/ediscovery_review_set_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_review_set_query.py b/msgraph/generated/models/security/ediscovery_review_set_query.py index ec1bc761c40..32e5f21d868 100644 --- a/msgraph/generated/models/security/ediscovery_review_set_query.py +++ b/msgraph/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/generated/models/security/ediscovery_review_set_query_collection_response.py b/msgraph/generated/models/security/ediscovery_review_set_query_collection_response.py index 848c3cf248f..71ff75036cb 100644 --- a/msgraph/generated/models/security/ediscovery_review_set_query_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_review_tag.py b/msgraph/generated/models/security/ediscovery_review_tag.py index 5b3740ba76a..1597c35b6e4 100644 --- a/msgraph/generated/models/security/ediscovery_review_tag.py +++ b/msgraph/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/generated/models/security/ediscovery_review_tag_collection_response.py b/msgraph/generated/models/security/ediscovery_review_tag_collection_response.py index 2dff9560e95..0287fc89609 100644 --- a/msgraph/generated/models/security/ediscovery_review_tag_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_search.py b/msgraph/generated/models/security/ediscovery_search.py index 105a27152b2..122e53a06bc 100644 --- a/msgraph/generated/models/security/ediscovery_search.py +++ b/msgraph/generated/models/security/ediscovery_search.py @@ -23,7 +23,7 @@ class EdiscoverySearch(Search): additional_sources: Optional[List[DataSource]] = None # Custodian sources that are included in the eDiscovery search. custodian_sources: Optional[List[DataSource]] = None - # When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. + # When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. data_source_scopes: Optional[DataSourceScopes] = None # The last estimate operation associated with the eDiscovery search. last_estimate_statistics_operation: Optional[EdiscoveryEstimateOperation] = None @@ -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/generated/models/security/ediscovery_search_collection_response.py b/msgraph/generated/models/security/ediscovery_search_collection_response.py index 7ec63ca44ce..4e5c99478ff 100644 --- a/msgraph/generated/models/security/ediscovery_search_collection_response.py +++ b/msgraph/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/generated/models/security/ediscovery_search_export_operation.py b/msgraph/generated/models/security/ediscovery_search_export_operation.py index d4efe048818..1ffaf03b8d5 100644 --- a/msgraph/generated/models/security/ediscovery_search_export_operation.py +++ b/msgraph/generated/models/security/ediscovery_search_export_operation.py @@ -16,25 +16,25 @@ @dataclass class EdiscoverySearchExportOperation(CaseOperation): - # The additionalOptions property + # 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 description property + # The description of the export by the user. description: Optional[str] = None - # The displayName property + # The name of export provided by the user. display_name: Optional[str] = None - # The exportCriteria property + # Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. export_criteria: Optional[ExportCriteria] = None - # The exportFileMetadata property + # Contains the properties for an export file metadata, including downloadUrl, fileName, and size. export_file_metadata: Optional[List[ExportFileMetadata]] = None - # The exportFormat property + # Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. export_format: Optional[ExportFormat] = None - # The exportLocation property + # Location scope for partially indexed items. You can choose to include partially indexed items only in responsive locations with search hits or in all targeted locations. The possible values are: responsiveLocations, nonresponsiveLocations, unknownFutureValue. export_location: Optional[ExportLocation] = None - # The exportSingleItems property + # Indicates whether to export single items. export_single_items: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The search property + # The eDiscovery searches under each case. search: Optional[EdiscoverySearch] = None @staticmethod @@ -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/generated/models/security/ediscovery_tag_operation.py b/msgraph/generated/models/security/ediscovery_tag_operation.py index 323ae1d97b4..f283753863d 100644 --- a/msgraph/generated/models/security/ediscovery_tag_operation.py +++ b/msgraph/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/generated/models/security/event_propagation_result.py b/msgraph/generated/models/security/event_propagation_result.py index 13c73036183..24c26f7be2a 100644 --- a/msgraph/generated/models/security/event_propagation_result.py +++ b/msgraph/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/generated/models/security/event_query.py b/msgraph/generated/models/security/event_query.py index 6b35628692f..0634b8560ac 100644 --- a/msgraph/generated/models/security/event_query.py +++ b/msgraph/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/generated/models/security/file_evidence.py b/msgraph/generated/models/security/file_evidence.py index 3e4be88f9a6..3468031729c 100644 --- a/msgraph/generated/models/security/file_evidence.py +++ b/msgraph/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/generated/models/security/file_hash.py b/msgraph/generated/models/security/file_hash.py index 9e56c95d3eb..9fb345fddb4 100644 --- a/msgraph/generated/models/security/file_hash.py +++ b/msgraph/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/generated/models/security/file_hash_evidence.py b/msgraph/generated/models/security/file_hash_evidence.py index 1b8f765869b..2c88a7b6f96 100644 --- a/msgraph/generated/models/security/file_hash_evidence.py +++ b/msgraph/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/generated/models/security/file_plan_applied_category.py b/msgraph/generated/models/security/file_plan_applied_category.py index e0e8f061a09..4ca93e80770 100644 --- a/msgraph/generated/models/security/file_plan_applied_category.py +++ b/msgraph/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/generated/models/security/file_plan_authority.py b/msgraph/generated/models/security/file_plan_authority.py index 1e91cba268d..0142436f646 100644 --- a/msgraph/generated/models/security/file_plan_authority.py +++ b/msgraph/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/generated/models/security/file_plan_citation.py b/msgraph/generated/models/security/file_plan_citation.py index 1ae071e673b..3fbe19c5e95 100644 --- a/msgraph/generated/models/security/file_plan_citation.py +++ b/msgraph/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/generated/models/security/file_plan_department.py b/msgraph/generated/models/security/file_plan_department.py index 3a7bd712d14..a697ee74c97 100644 --- a/msgraph/generated/models/security/file_plan_department.py +++ b/msgraph/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/generated/models/security/file_plan_descriptor.py b/msgraph/generated/models/security/file_plan_descriptor.py index dfefe90cfbc..d9b902f3714 100644 --- a/msgraph/generated/models/security/file_plan_descriptor.py +++ b/msgraph/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/generated/models/security/file_plan_descriptor_base.py b/msgraph/generated/models/security/file_plan_descriptor_base.py index dcdf3a06f8c..c3f512cf1f0 100644 --- a/msgraph/generated/models/security/file_plan_descriptor_base.py +++ b/msgraph/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/generated/models/security/file_plan_descriptor_template.py b/msgraph/generated/models/security/file_plan_descriptor_template.py index 1f1d9785b30..69e69b4495c 100644 --- a/msgraph/generated/models/security/file_plan_descriptor_template.py +++ b/msgraph/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/generated/models/security/file_plan_reference.py b/msgraph/generated/models/security/file_plan_reference.py index 6e2342868ec..3c47fdffcb6 100644 --- a/msgraph/generated/models/security/file_plan_reference.py +++ b/msgraph/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/generated/models/security/file_plan_reference_template.py b/msgraph/generated/models/security/file_plan_reference_template.py index c7ed4703d86..d3d9d9d37d0 100644 --- a/msgraph/generated/models/security/file_plan_reference_template.py +++ b/msgraph/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/generated/models/security/file_plan_reference_template_collection_response.py b/msgraph/generated/models/security/file_plan_reference_template_collection_response.py index 598369b428e..cc547d821d3 100644 --- a/msgraph/generated/models/security/file_plan_reference_template_collection_response.py +++ b/msgraph/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/generated/models/security/file_plan_subcategory.py b/msgraph/generated/models/security/file_plan_subcategory.py index 44dc32643c3..4122aed2017 100644 --- a/msgraph/generated/models/security/file_plan_subcategory.py +++ b/msgraph/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/generated/models/security/formatted_content.py b/msgraph/generated/models/security/formatted_content.py index 8df781bee78..1533fe6701c 100644 --- a/msgraph/generated/models/security/formatted_content.py +++ b/msgraph/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/generated/models/security/git_hub_organization_evidence.py b/msgraph/generated/models/security/git_hub_organization_evidence.py index bcb6d39f8df..2a617363abd 100644 --- a/msgraph/generated/models/security/git_hub_organization_evidence.py +++ b/msgraph/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/generated/models/security/git_hub_repo_evidence.py b/msgraph/generated/models/security/git_hub_repo_evidence.py index a4486d8fb65..f3ecef23de3 100644 --- a/msgraph/generated/models/security/git_hub_repo_evidence.py +++ b/msgraph/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/generated/models/security/git_hub_user_evidence.py b/msgraph/generated/models/security/git_hub_user_evidence.py index f8fb0e0e2ed..b3006ad4f2a 100644 --- a/msgraph/generated/models/security/git_hub_user_evidence.py +++ b/msgraph/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/generated/models/security/google_cloud_resource_evidence.py b/msgraph/generated/models/security/google_cloud_resource_evidence.py index 406b799471f..2d48a706a74 100644 --- a/msgraph/generated/models/security/google_cloud_resource_evidence.py +++ b/msgraph/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/generated/models/security/health_issue.py b/msgraph/generated/models/security/health_issue.py index e4d078d2eff..2e77bd8daf5 100644 --- a/msgraph/generated/models/security/health_issue.py +++ b/msgraph/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/generated/models/security/health_issue_collection_response.py b/msgraph/generated/models/security/health_issue_collection_response.py index 7b9a3eaff86..8eaf255870e 100644 --- a/msgraph/generated/models/security/health_issue_collection_response.py +++ b/msgraph/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/generated/models/security/host.py b/msgraph/generated/models/security/host.py index 043031bca9f..92a8477aa7e 100644 --- a/msgraph/generated/models/security/host.py +++ b/msgraph/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/generated/models/security/host_collection_response.py b/msgraph/generated/models/security/host_collection_response.py index a9e1c692b6d..e6e83316827 100644 --- a/msgraph/generated/models/security/host_collection_response.py +++ b/msgraph/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/generated/models/security/host_component.py b/msgraph/generated/models/security/host_component.py index b42e08c935a..cf601f08b8a 100644 --- a/msgraph/generated/models/security/host_component.py +++ b/msgraph/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/generated/models/security/host_component_collection_response.py b/msgraph/generated/models/security/host_component_collection_response.py index 7dfb02b7784..8c4c59081f2 100644 --- a/msgraph/generated/models/security/host_component_collection_response.py +++ b/msgraph/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/generated/models/security/host_cookie.py b/msgraph/generated/models/security/host_cookie.py index d64cb63f38b..85385381c71 100644 --- a/msgraph/generated/models/security/host_cookie.py +++ b/msgraph/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/generated/models/security/host_cookie_collection_response.py b/msgraph/generated/models/security/host_cookie_collection_response.py index 34ac31acc56..df3c2ffc761 100644 --- a/msgraph/generated/models/security/host_cookie_collection_response.py +++ b/msgraph/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/generated/models/security/host_logon_session_evidence.py b/msgraph/generated/models/security/host_logon_session_evidence.py index b6d8d0928fa..cb1365e0b8e 100644 --- a/msgraph/generated/models/security/host_logon_session_evidence.py +++ b/msgraph/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/generated/models/security/host_pair.py b/msgraph/generated/models/security/host_pair.py index b00ea45c74f..df2993412e4 100644 --- a/msgraph/generated/models/security/host_pair.py +++ b/msgraph/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/generated/models/security/host_pair_collection_response.py b/msgraph/generated/models/security/host_pair_collection_response.py index c1cbf3f52bb..b6ee9587524 100644 --- a/msgraph/generated/models/security/host_pair_collection_response.py +++ b/msgraph/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/generated/models/security/host_port.py b/msgraph/generated/models/security/host_port.py index dbec98064c9..e5141a04a63 100644 --- a/msgraph/generated/models/security/host_port.py +++ b/msgraph/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/generated/models/security/host_port_collection_response.py b/msgraph/generated/models/security/host_port_collection_response.py index 96c27aae16c..f34b86ec918 100644 --- a/msgraph/generated/models/security/host_port_collection_response.py +++ b/msgraph/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/generated/models/security/host_port_component.py b/msgraph/generated/models/security/host_port_component.py index 2f212ad8dfa..99cf64b35ba 100644 --- a/msgraph/generated/models/security/host_port_component.py +++ b/msgraph/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/generated/models/security/host_reputation.py b/msgraph/generated/models/security/host_reputation.py index a8fb199e072..c87117bb78c 100644 --- a/msgraph/generated/models/security/host_reputation.py +++ b/msgraph/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/generated/models/security/host_reputation_rule.py b/msgraph/generated/models/security/host_reputation_rule.py index 16b7cbde54d..e5b18f36af7 100644 --- a/msgraph/generated/models/security/host_reputation_rule.py +++ b/msgraph/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/generated/models/security/host_ssl_certificate.py b/msgraph/generated/models/security/host_ssl_certificate.py index 7eb1c7c694c..2c37989279e 100644 --- a/msgraph/generated/models/security/host_ssl_certificate.py +++ b/msgraph/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/generated/models/security/host_ssl_certificate_collection_response.py b/msgraph/generated/models/security/host_ssl_certificate_collection_response.py index 6fe02e64b4f..eb3046fe073 100644 --- a/msgraph/generated/models/security/host_ssl_certificate_collection_response.py +++ b/msgraph/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/generated/models/security/host_tracker.py b/msgraph/generated/models/security/host_tracker.py index 7fbc75f3ad3..915f35390ae 100644 --- a/msgraph/generated/models/security/host_tracker.py +++ b/msgraph/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/generated/models/security/host_tracker_collection_response.py b/msgraph/generated/models/security/host_tracker_collection_response.py index 4994f4c6c09..cb397a10dc6 100644 --- a/msgraph/generated/models/security/host_tracker_collection_response.py +++ b/msgraph/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/generated/models/security/hostname.py b/msgraph/generated/models/security/hostname.py index 165f50a0398..8cb30cdd7d5 100644 --- a/msgraph/generated/models/security/hostname.py +++ b/msgraph/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/generated/models/security/hunting_query_results.py b/msgraph/generated/models/security/hunting_query_results.py index fd45dcb3079..dcbfb2e2a1e 100644 --- a/msgraph/generated/models/security/hunting_query_results.py +++ b/msgraph/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/generated/models/security/identity_container.py b/msgraph/generated/models/security/identity_container.py index 5692533d7ba..32dbc0ac8af 100644 --- a/msgraph/generated/models/security/identity_container.py +++ b/msgraph/generated/models/security/identity_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 .health_issue import HealthIssue + writer.write_collection_of_object_values("healthIssues", self.health_issues) diff --git a/msgraph/generated/models/security/incident.py b/msgraph/generated/models/security/incident.py index 68ee0d9ac84..0198c42dfe4 100644 --- a/msgraph/generated/models/security/incident.py +++ b/msgraph/generated/models/security/incident.py @@ -124,6 +124,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 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 + 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/generated/models/security/incident_collection_response.py b/msgraph/generated/models/security/incident_collection_response.py index 39b62de7c4d..56f1878db71 100644 --- a/msgraph/generated/models/security/incident_collection_response.py +++ b/msgraph/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/generated/models/security/indicator.py b/msgraph/generated/models/security/indicator.py index 18f1870bce5..e17950475eb 100644 --- a/msgraph/generated/models/security/indicator.py +++ b/msgraph/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/generated/models/security/intelligence_profile.py b/msgraph/generated/models/security/intelligence_profile.py index d0743d72874..dd16ab044a1 100644 --- a/msgraph/generated/models/security/intelligence_profile.py +++ b/msgraph/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/generated/models/security/intelligence_profile_collection_response.py b/msgraph/generated/models/security/intelligence_profile_collection_response.py index 67ffa8f65d7..be655805e31 100644 --- a/msgraph/generated/models/security/intelligence_profile_collection_response.py +++ b/msgraph/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/generated/models/security/intelligence_profile_indicator.py b/msgraph/generated/models/security/intelligence_profile_indicator.py index bc18a3c622f..640285280c1 100644 --- a/msgraph/generated/models/security/intelligence_profile_indicator.py +++ b/msgraph/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/generated/models/security/intelligence_profile_indicator_collection_response.py b/msgraph/generated/models/security/intelligence_profile_indicator_collection_response.py index ac05354037e..2b44f5f62f2 100644 --- a/msgraph/generated/models/security/intelligence_profile_indicator_collection_response.py +++ b/msgraph/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/generated/models/security/io_t_device_evidence.py b/msgraph/generated/models/security/io_t_device_evidence.py index 4cfbb49a650..525cf8008b6 100644 --- a/msgraph/generated/models/security/io_t_device_evidence.py +++ b/msgraph/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/generated/models/security/ip_address.py b/msgraph/generated/models/security/ip_address.py index cf514ffe820..1e2c253e465 100644 --- a/msgraph/generated/models/security/ip_address.py +++ b/msgraph/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/generated/models/security/ip_evidence.py b/msgraph/generated/models/security/ip_evidence.py index 3f185cb21e5..7a47164a313 100644 --- a/msgraph/generated/models/security/ip_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_cluster_evidence.py b/msgraph/generated/models/security/kubernetes_cluster_evidence.py index 53025ed0025..f045ea0a070 100644 --- a/msgraph/generated/models/security/kubernetes_cluster_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_controller_evidence.py b/msgraph/generated/models/security/kubernetes_controller_evidence.py index 06ef10cdd55..b64f951a612 100644 --- a/msgraph/generated/models/security/kubernetes_controller_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_namespace_evidence.py b/msgraph/generated/models/security/kubernetes_namespace_evidence.py index 2eadda7fc5f..cf66657ca29 100644 --- a/msgraph/generated/models/security/kubernetes_namespace_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_pod_evidence.py b/msgraph/generated/models/security/kubernetes_pod_evidence.py index aeed74cc08b..d99e5d71507 100644 --- a/msgraph/generated/models/security/kubernetes_pod_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_secret_evidence.py b/msgraph/generated/models/security/kubernetes_secret_evidence.py index 42023ab1822..20d46305d26 100644 --- a/msgraph/generated/models/security/kubernetes_secret_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_service_account_evidence.py b/msgraph/generated/models/security/kubernetes_service_account_evidence.py index 0e8ce7fd1af..7c305fddb86 100644 --- a/msgraph/generated/models/security/kubernetes_service_account_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_service_evidence.py b/msgraph/generated/models/security/kubernetes_service_evidence.py index b9d7716d79d..d51555d8302 100644 --- a/msgraph/generated/models/security/kubernetes_service_evidence.py +++ b/msgraph/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/generated/models/security/kubernetes_service_port.py b/msgraph/generated/models/security/kubernetes_service_port.py index e9e7d754de2..10d69291b7d 100644 --- a/msgraph/generated/models/security/kubernetes_service_port.py +++ b/msgraph/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/generated/models/security/labels_root.py b/msgraph/generated/models/security/labels_root.py index 345cb6316bc..623f4c454a9 100644 --- a/msgraph/generated/models/security/labels_root.py +++ b/msgraph/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/generated/models/security/mail_cluster_evidence.py b/msgraph/generated/models/security/mail_cluster_evidence.py index 46c1cf31209..01bd3ba373f 100644 --- a/msgraph/generated/models/security/mail_cluster_evidence.py +++ b/msgraph/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/generated/models/security/mailbox_configuration_evidence.py b/msgraph/generated/models/security/mailbox_configuration_evidence.py index 8cd49f9998b..70d468ff4e1 100644 --- a/msgraph/generated/models/security/mailbox_configuration_evidence.py +++ b/msgraph/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/generated/models/security/mailbox_evidence.py b/msgraph/generated/models/security/mailbox_evidence.py index 14f51032391..60a5327fb86 100644 --- a/msgraph/generated/models/security/mailbox_evidence.py +++ b/msgraph/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/generated/models/security/malware_evidence.py b/msgraph/generated/models/security/malware_evidence.py index 3535ff2434b..314523cf3b6 100644 --- a/msgraph/generated/models/security/malware_evidence.py +++ b/msgraph/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/generated/models/security/network_connection_evidence.py b/msgraph/generated/models/security/network_connection_evidence.py index 2b2f39fed91..11d6dca74cc 100644 --- a/msgraph/generated/models/security/network_connection_evidence.py +++ b/msgraph/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/generated/models/security/nic_evidence.py b/msgraph/generated/models/security/nic_evidence.py index 21a71a91873..1bfa396f56b 100644 --- a/msgraph/generated/models/security/nic_evidence.py +++ b/msgraph/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/generated/models/security/oauth_application_evidence.py b/msgraph/generated/models/security/oauth_application_evidence.py index 3fb473534fd..751a8130d2a 100644 --- a/msgraph/generated/models/security/oauth_application_evidence.py +++ b/msgraph/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/generated/models/security/passive_dns_record.py b/msgraph/generated/models/security/passive_dns_record.py index a700014574f..23d022f905c 100644 --- a/msgraph/generated/models/security/passive_dns_record.py +++ b/msgraph/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/generated/models/security/passive_dns_record_collection_response.py b/msgraph/generated/models/security/passive_dns_record_collection_response.py index 74246016dd8..7003d537b4b 100644 --- a/msgraph/generated/models/security/passive_dns_record_collection_response.py +++ b/msgraph/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/generated/models/security/process_evidence.py b/msgraph/generated/models/security/process_evidence.py index c66416c0dae..2987043fc95 100644 --- a/msgraph/generated/models/security/process_evidence.py +++ b/msgraph/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/generated/models/security/purge_type.py b/msgraph/generated/models/security/purge_type.py index 4721482a982..8a230e5b882 100644 --- a/msgraph/generated/models/security/purge_type.py +++ b/msgraph/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/generated/models/security/registry_key_evidence.py b/msgraph/generated/models/security/registry_key_evidence.py index 5c75d1b6cfe..ad7955a3563 100644 --- a/msgraph/generated/models/security/registry_key_evidence.py +++ b/msgraph/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/generated/models/security/registry_value_evidence.py b/msgraph/generated/models/security/registry_value_evidence.py index 79fb7e2daf4..cc52ca39b2a 100644 --- a/msgraph/generated/models/security/registry_value_evidence.py +++ b/msgraph/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/generated/models/security/retention_duration.py b/msgraph/generated/models/security/retention_duration.py index 01964da70fd..628925f6917 100644 --- a/msgraph/generated/models/security/retention_duration.py +++ b/msgraph/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/generated/models/security/retention_duration_forever.py b/msgraph/generated/models/security/retention_duration_forever.py index 622b3c05bbe..6a3e30f94bb 100644 --- a/msgraph/generated/models/security/retention_duration_forever.py +++ b/msgraph/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/generated/models/security/retention_duration_in_days.py b/msgraph/generated/models/security/retention_duration_in_days.py index 223648ed2d5..7c4d71d4ca0 100644 --- a/msgraph/generated/models/security/retention_duration_in_days.py +++ b/msgraph/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/generated/models/security/retention_event.py b/msgraph/generated/models/security/retention_event.py index 4effdd38695..1bdc96d524f 100644 --- a/msgraph/generated/models/security/retention_event.py +++ b/msgraph/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/generated/models/security/retention_event_collection_response.py b/msgraph/generated/models/security/retention_event_collection_response.py index c30183022bc..0e01739c1c3 100644 --- a/msgraph/generated/models/security/retention_event_collection_response.py +++ b/msgraph/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/generated/models/security/retention_event_status.py b/msgraph/generated/models/security/retention_event_status.py index 57c05bc8277..6daf26c0677 100644 --- a/msgraph/generated/models/security/retention_event_status.py +++ b/msgraph/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/generated/models/security/retention_event_type.py b/msgraph/generated/models/security/retention_event_type.py index 4c76b0a160a..20af8e6afc8 100644 --- a/msgraph/generated/models/security/retention_event_type.py +++ b/msgraph/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/generated/models/security/retention_event_type_collection_response.py b/msgraph/generated/models/security/retention_event_type_collection_response.py index b0b270834cf..9727f68f428 100644 --- a/msgraph/generated/models/security/retention_event_type_collection_response.py +++ b/msgraph/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/generated/models/security/retention_label.py b/msgraph/generated/models/security/retention_label.py index 147ac4418d6..e79012bec97 100644 --- a/msgraph/generated/models/security/retention_label.py +++ b/msgraph/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/generated/models/security/retention_label_collection_response.py b/msgraph/generated/models/security/retention_label_collection_response.py index 8c7508443bc..bf9fc02a851 100644 --- a/msgraph/generated/models/security/retention_label_collection_response.py +++ b/msgraph/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/generated/models/security/sas_token_evidence.py b/msgraph/generated/models/security/sas_token_evidence.py index 262c6882bbf..882d4377e48 100644 --- a/msgraph/generated/models/security/sas_token_evidence.py +++ b/msgraph/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/generated/models/security/search.py b/msgraph/generated/models/security/search.py index 4b690cffe85..06bbf17ed88 100644 --- a/msgraph/generated/models/security/search.py +++ b/msgraph/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/generated/models/security/security.py b/msgraph/generated/models/security/security.py index ac0be94e873..169737d9302 100644 --- a/msgraph/generated/models/security/security.py +++ b/msgraph/generated/models/security/security.py @@ -126,6 +126,21 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..alert import Alert + from ..attack_simulation_root import AttackSimulationRoot + from ..entity import Entity + from ..secure_score import SecureScore + from ..secure_score_control_profile import SecureScoreControlProfile + from ..subject_rights_request import SubjectRightsRequest + from .alert import Alert + from .cases_root import CasesRoot + from .identity_container import IdentityContainer + from .incident import Incident + from .labels_root import LabelsRoot + from .threat_intelligence import ThreatIntelligence + from .triggers_root import TriggersRoot + from .trigger_types_root import TriggerTypesRoot + writer.write_collection_of_object_values("alerts", self.alerts) writer.write_collection_of_object_values("alerts_v2", self.alerts_v2) writer.write_object_value("attackSimulation", self.attack_simulation) diff --git a/msgraph/generated/models/security/security_group_evidence.py b/msgraph/generated/models/security/security_group_evidence.py index e68ff71aa37..fe82541dcc4 100644 --- a/msgraph/generated/models/security/security_group_evidence.py +++ b/msgraph/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/generated/models/security/service_principal_evidence.py b/msgraph/generated/models/security/service_principal_evidence.py index b38d351c222..37aec351f21 100644 --- a/msgraph/generated/models/security/service_principal_evidence.py +++ b/msgraph/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/generated/models/security/site_source.py b/msgraph/generated/models/security/site_source.py index 8f41a90def8..f362b64ec5f 100644 --- a/msgraph/generated/models/security/site_source.py +++ b/msgraph/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/generated/models/security/site_source_collection_response.py b/msgraph/generated/models/security/site_source_collection_response.py index 5fb45d096c3..c79577a5bc6 100644 --- a/msgraph/generated/models/security/site_source_collection_response.py +++ b/msgraph/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/generated/models/security/ssl_certificate.py b/msgraph/generated/models/security/ssl_certificate.py index 20a6b9b2529..81364d3ad04 100644 --- a/msgraph/generated/models/security/ssl_certificate.py +++ b/msgraph/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/generated/models/security/ssl_certificate_collection_response.py b/msgraph/generated/models/security/ssl_certificate_collection_response.py index dac8b180919..2de12971562 100644 --- a/msgraph/generated/models/security/ssl_certificate_collection_response.py +++ b/msgraph/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/generated/models/security/ssl_certificate_entity.py b/msgraph/generated/models/security/ssl_certificate_entity.py index af01e0b5b65..721259a3c4b 100644 --- a/msgraph/generated/models/security/ssl_certificate_entity.py +++ b/msgraph/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/generated/models/security/subcategory_template.py b/msgraph/generated/models/security/subcategory_template.py index 75a55aaa89a..4a2ed0f4fc2 100644 --- a/msgraph/generated/models/security/subcategory_template.py +++ b/msgraph/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/generated/models/security/subcategory_template_collection_response.py b/msgraph/generated/models/security/subcategory_template_collection_response.py index b95aaa95d40..e4b47388cce 100644 --- a/msgraph/generated/models/security/subcategory_template_collection_response.py +++ b/msgraph/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/generated/models/security/subdomain.py b/msgraph/generated/models/security/subdomain.py index ce362db8876..31b84ce610c 100644 --- a/msgraph/generated/models/security/subdomain.py +++ b/msgraph/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/generated/models/security/subdomain_collection_response.py b/msgraph/generated/models/security/subdomain_collection_response.py index 08b60b1ccab..19974fb790b 100644 --- a/msgraph/generated/models/security/subdomain_collection_response.py +++ b/msgraph/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/generated/models/security/submission_mail_evidence.py b/msgraph/generated/models/security/submission_mail_evidence.py index b430301f87b..d72e3f9f24e 100644 --- a/msgraph/generated/models/security/submission_mail_evidence.py +++ b/msgraph/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/generated/models/security/tag.py b/msgraph/generated/models/security/tag.py index 4e6d0db629f..b2315e078d2 100644 --- a/msgraph/generated/models/security/tag.py +++ b/msgraph/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/generated/models/security/threat_intelligence.py b/msgraph/generated/models/security/threat_intelligence.py index 09b3eacc5de..d9504eac828 100644 --- a/msgraph/generated/models/security/threat_intelligence.py +++ b/msgraph/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/generated/models/security/trigger_types_root.py b/msgraph/generated/models/security/trigger_types_root.py index 5b1395f4976..afb02d378fd 100644 --- a/msgraph/generated/models/security/trigger_types_root.py +++ b/msgraph/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/generated/models/security/triggers_root.py b/msgraph/generated/models/security/triggers_root.py index a31e4d3d846..0c05b04e7f3 100644 --- a/msgraph/generated/models/security/triggers_root.py +++ b/msgraph/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/generated/models/security/unclassified_artifact.py b/msgraph/generated/models/security/unclassified_artifact.py index d058597097f..bf661ce03c4 100644 --- a/msgraph/generated/models/security/unclassified_artifact.py +++ b/msgraph/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/generated/models/security/unified_group_source.py b/msgraph/generated/models/security/unified_group_source.py index c196c2b84a5..67a9b04161a 100644 --- a/msgraph/generated/models/security/unified_group_source.py +++ b/msgraph/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/generated/models/security/unified_group_source_collection_response.py b/msgraph/generated/models/security/unified_group_source_collection_response.py index a9338635463..eafd3a40657 100644 --- a/msgraph/generated/models/security/unified_group_source_collection_response.py +++ b/msgraph/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/generated/models/security/url_evidence.py b/msgraph/generated/models/security/url_evidence.py index 87c1ae8409c..60fabb60351 100644 --- a/msgraph/generated/models/security/url_evidence.py +++ b/msgraph/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/generated/models/security/user_evidence.py b/msgraph/generated/models/security/user_evidence.py index fa76295ec75..b8b13fb5ea6 100644 --- a/msgraph/generated/models/security/user_evidence.py +++ b/msgraph/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/generated/models/security/user_source.py b/msgraph/generated/models/security/user_source.py index dbd12493c36..38abfe953c5 100644 --- a/msgraph/generated/models/security/user_source.py +++ b/msgraph/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/generated/models/security/user_source_collection_response.py b/msgraph/generated/models/security/user_source_collection_response.py index ce93ca6c6a0..7bce07e3d73 100644 --- a/msgraph/generated/models/security/user_source_collection_response.py +++ b/msgraph/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/generated/models/security/vm_metadata.py b/msgraph/generated/models/security/vm_metadata.py index d427afb0c7b..20958f2f1e5 100644 --- a/msgraph/generated/models/security/vm_metadata.py +++ b/msgraph/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/generated/models/security/vulnerability.py b/msgraph/generated/models/security/vulnerability.py index adcd8e8acb0..f1cfcbb6f86 100644 --- a/msgraph/generated/models/security/vulnerability.py +++ b/msgraph/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/generated/models/security/vulnerability_collection_response.py b/msgraph/generated/models/security/vulnerability_collection_response.py index 79310e2912d..a849cdc6b4a 100644 --- a/msgraph/generated/models/security/vulnerability_collection_response.py +++ b/msgraph/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/generated/models/security/vulnerability_component.py b/msgraph/generated/models/security/vulnerability_component.py index aaf2761dd9c..969a786882a 100644 --- a/msgraph/generated/models/security/vulnerability_component.py +++ b/msgraph/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/generated/models/security/vulnerability_component_collection_response.py b/msgraph/generated/models/security/vulnerability_component_collection_response.py index 370a21706f1..984388244ce 100644 --- a/msgraph/generated/models/security/vulnerability_component_collection_response.py +++ b/msgraph/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/generated/models/security/whois_base_record.py b/msgraph/generated/models/security/whois_base_record.py index ebfa215b3d5..c95b69d2a76 100644 --- a/msgraph/generated/models/security/whois_base_record.py +++ b/msgraph/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/generated/models/security/whois_contact.py b/msgraph/generated/models/security/whois_contact.py index c9afc638daa..52a65a2b8e9 100644 --- a/msgraph/generated/models/security/whois_contact.py +++ b/msgraph/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/generated/models/security/whois_history_record.py b/msgraph/generated/models/security/whois_history_record.py index 6b30db171b1..b80471108f8 100644 --- a/msgraph/generated/models/security/whois_history_record.py +++ b/msgraph/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/generated/models/security/whois_history_record_collection_response.py b/msgraph/generated/models/security/whois_history_record_collection_response.py index 8fa0f386c3d..54b22cb8d7c 100644 --- a/msgraph/generated/models/security/whois_history_record_collection_response.py +++ b/msgraph/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/generated/models/security/whois_nameserver.py b/msgraph/generated/models/security/whois_nameserver.py index 699d048ee13..8505851ed55 100644 --- a/msgraph/generated/models/security/whois_nameserver.py +++ b/msgraph/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/generated/models/security/whois_record.py b/msgraph/generated/models/security/whois_record.py index 2deaf44eb9d..859f6baec78 100644 --- a/msgraph/generated/models/security/whois_record.py +++ b/msgraph/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/generated/models/security/whois_record_collection_response.py b/msgraph/generated/models/security/whois_record_collection_response.py index 833cf578289..aac9b5f9c59 100644 --- a/msgraph/generated/models/security/whois_record_collection_response.py +++ b/msgraph/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/generated/models/security_reports_root.py b/msgraph/generated/models/security_reports_root.py index 351c070278b..169eaaf84f4 100644 --- a/msgraph/generated/models/security_reports_root.py +++ b/msgraph/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/generated/models/security_resource.py b/msgraph/generated/models/security_resource.py index 8acda15890f..f6cf5b0934f 100644 --- a/msgraph/generated/models/security_resource.py +++ b/msgraph/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/generated/models/send_dtmf_tones_operation.py b/msgraph/generated/models/send_dtmf_tones_operation.py index 24f4b3ef56b..4e611ba0b67 100644 --- a/msgraph/generated/models/send_dtmf_tones_operation.py +++ b/msgraph/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/generated/models/sensitivity_label_assignment.py b/msgraph/generated/models/sensitivity_label_assignment.py index 4b7082c27de..f506ce89d98 100644 --- a/msgraph/generated/models/sensitivity_label_assignment.py +++ b/msgraph/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/generated/models/server_processed_content.py b/msgraph/generated/models/server_processed_content.py index 853713dd2fd..a27e8e5bea4 100644 --- a/msgraph/generated/models/server_processed_content.py +++ b/msgraph/generated/models/server_processed_content.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .meta_data_key_string_pair import MetaDataKeyStringPair + writer.write_collection_of_object_values("htmlStrings", self.html_strings) writer.write_collection_of_object_values("imageSources", self.image_sources) writer.write_collection_of_object_values("links", self.links) diff --git a/msgraph/generated/models/service_announcement.py b/msgraph/generated/models/service_announcement.py index fd756749e6c..0c2da576e4b 100644 --- a/msgraph/generated/models/service_announcement.py +++ b/msgraph/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/generated/models/service_announcement_attachment.py b/msgraph/generated/models/service_announcement_attachment.py index bae43875b9a..01d3db3b944 100644 --- a/msgraph/generated/models/service_announcement_attachment.py +++ b/msgraph/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/generated/models/service_announcement_attachment_collection_response.py b/msgraph/generated/models/service_announcement_attachment_collection_response.py index fe1450370da..753d95a3240 100644 --- a/msgraph/generated/models/service_announcement_attachment_collection_response.py +++ b/msgraph/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/generated/models/service_announcement_base.py b/msgraph/generated/models/service_announcement_base.py index 8a810ed29b7..b4403d9a7c0 100644 --- a/msgraph/generated/models/service_announcement_base.py +++ b/msgraph/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/generated/models/service_app.py b/msgraph/generated/models/service_app.py index e791a33c4f8..f02043c5199 100644 --- a/msgraph/generated/models/service_app.py +++ b/msgraph/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/generated/models/service_app_collection_response.py b/msgraph/generated/models/service_app_collection_response.py index e46833f5361..1f09dd25f7c 100644 --- a/msgraph/generated/models/service_app_collection_response.py +++ b/msgraph/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/generated/models/service_health.py b/msgraph/generated/models/service_health.py index 8c30e4689f9..b2a43f60d6e 100644 --- a/msgraph/generated/models/service_health.py +++ b/msgraph/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/generated/models/service_health_collection_response.py b/msgraph/generated/models/service_health_collection_response.py index 6a4bb26448d..64749222abb 100644 --- a/msgraph/generated/models/service_health_collection_response.py +++ b/msgraph/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/generated/models/service_health_issue.py b/msgraph/generated/models/service_health_issue.py index a6d09da8e7e..deae1a0b6b1 100644 --- a/msgraph/generated/models/service_health_issue.py +++ b/msgraph/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/generated/models/service_health_issue_collection_response.py b/msgraph/generated/models/service_health_issue_collection_response.py index 5a2cd1d66a3..b25d8a559bf 100644 --- a/msgraph/generated/models/service_health_issue_collection_response.py +++ b/msgraph/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/generated/models/service_health_issue_post.py b/msgraph/generated/models/service_health_issue_post.py index bc7f8f0a899..287ab442862 100644 --- a/msgraph/generated/models/service_health_issue_post.py +++ b/msgraph/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/generated/models/service_hosted_media_config.py b/msgraph/generated/models/service_hosted_media_config.py index 41c806c2984..bdf7d49d3ad 100644 --- a/msgraph/generated/models/service_hosted_media_config.py +++ b/msgraph/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/generated/models/service_principal.py b/msgraph/generated/models/service_principal.py index 5fa9d90ce0b..ed5e23ee58a 100644 --- a/msgraph/generated/models/service_principal.py +++ b/msgraph/generated/models/service_principal.py @@ -271,6 +271,30 @@ 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_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 .o_auth2_permission_grant import OAuth2PermissionGrant + from .password_credential import PasswordCredential + from .permission_scope import PermissionScope + from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + from .resource_specific_permission import ResourceSpecificPermission + 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/generated/models/service_principal_collection_response.py b/msgraph/generated/models/service_principal_collection_response.py index 13a89896b2c..a72c4ba5805 100644 --- a/msgraph/generated/models/service_principal_collection_response.py +++ b/msgraph/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/generated/models/service_principal_identity.py b/msgraph/generated/models/service_principal_identity.py index f54cb3d5f8d..01abdc341b6 100644 --- a/msgraph/generated/models/service_principal_identity.py +++ b/msgraph/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/generated/models/service_principal_risk_detection.py b/msgraph/generated/models/service_principal_risk_detection.py index 5004392f550..6054e84c635 100644 --- a/msgraph/generated/models/service_principal_risk_detection.py +++ b/msgraph/generated/models/service_principal_risk_detection.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 .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/generated/models/service_principal_risk_detection_collection_response.py b/msgraph/generated/models/service_principal_risk_detection_collection_response.py index 3a2486edf99..fd624d342f0 100644 --- a/msgraph/generated/models/service_principal_risk_detection_collection_response.py +++ b/msgraph/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/generated/models/service_provisioning_error.py b/msgraph/generated/models/service_provisioning_error.py index e9542c10b5d..2b6c83b8710 100644 --- a/msgraph/generated/models/service_provisioning_error.py +++ b/msgraph/generated/models/service_provisioning_error.py @@ -34,7 +34,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.serviceProvisioningXmlError".casefold(): @@ -68,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + 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/generated/models/service_provisioning_error_collection_response.py b/msgraph/generated/models/service_provisioning_error_collection_response.py index e6a022c2fd5..e8b12a85dba 100644 --- a/msgraph/generated/models/service_provisioning_error_collection_response.py +++ b/msgraph/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/generated/models/service_provisioning_xml_error.py b/msgraph/generated/models/service_provisioning_xml_error.py index 4ef5c7e826d..535012e9c25 100644 --- a/msgraph/generated/models/service_provisioning_xml_error.py +++ b/msgraph/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/generated/models/service_status.py b/msgraph/generated/models/service_status.py index bf777814b45..f0710b1bb86 100644 --- a/msgraph/generated/models/service_status.py +++ b/msgraph/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/generated/models/service_storage_quota_breakdown.py b/msgraph/generated/models/service_storage_quota_breakdown.py index e79ee3fceb7..bf3e6b3c64a 100644 --- a/msgraph/generated/models/service_storage_quota_breakdown.py +++ b/msgraph/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/generated/models/service_storage_quota_breakdown_collection_response.py b/msgraph/generated/models/service_storage_quota_breakdown_collection_response.py index a37e11b1b6a..1228728c87b 100644 --- a/msgraph/generated/models/service_storage_quota_breakdown_collection_response.py +++ b/msgraph/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/generated/models/service_update_message.py b/msgraph/generated/models/service_update_message.py index 0cb64926c35..71f948b6dad 100644 --- a/msgraph/generated/models/service_update_message.py +++ b/msgraph/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/generated/models/service_update_message_collection_response.py b/msgraph/generated/models/service_update_message_collection_response.py index 9b0139bf06e..a6a8c02b2c5 100644 --- a/msgraph/generated/models/service_update_message_collection_response.py +++ b/msgraph/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/generated/models/setting_source.py b/msgraph/generated/models/setting_source.py index 974956295c7..6b34cbfe9d3 100644 --- a/msgraph/generated/models/setting_source.py +++ b/msgraph/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/generated/models/setting_state_device_summary.py b/msgraph/generated/models/setting_state_device_summary.py index e6bd080090d..a4014bfb3e0 100644 --- a/msgraph/generated/models/setting_state_device_summary.py +++ b/msgraph/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/generated/models/setting_state_device_summary_collection_response.py b/msgraph/generated/models/setting_state_device_summary_collection_response.py index 1529b63219b..52f6a3f80ae 100644 --- a/msgraph/generated/models/setting_state_device_summary_collection_response.py +++ b/msgraph/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/generated/models/share_point_identity.py b/msgraph/generated/models/share_point_identity.py index 5334e2685be..a832e35c38d 100644 --- a/msgraph/generated/models/share_point_identity.py +++ b/msgraph/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/generated/models/share_point_identity_set.py b/msgraph/generated/models/share_point_identity_set.py index 3bc0291b73a..cd4df7b4a93 100644 --- a/msgraph/generated/models/share_point_identity_set.py +++ b/msgraph/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/generated/models/share_point_one_drive_options.py b/msgraph/generated/models/share_point_one_drive_options.py index 26f27214002..26036821a5f 100644 --- a/msgraph/generated/models/share_point_one_drive_options.py +++ b/msgraph/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/generated/models/share_point_protection_policy.py b/msgraph/generated/models/share_point_protection_policy.py index e3bfd745f13..31ac30fa803 100644 --- a/msgraph/generated/models/share_point_protection_policy.py +++ b/msgraph/generated/models/share_point_protection_policy.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 .protection_policy_base import ProtectionPolicyBase + from .site_protection_rule import SiteProtectionRule + from .site_protection_unit import SiteProtectionUnit + writer.write_collection_of_object_values("siteInclusionRules", self.site_inclusion_rules) writer.write_collection_of_object_values("siteProtectionUnits", self.site_protection_units) diff --git a/msgraph/generated/models/share_point_protection_policy_collection_response.py b/msgraph/generated/models/share_point_protection_policy_collection_response.py index 94b535b98bc..6f0b986fa49 100644 --- a/msgraph/generated/models/share_point_protection_policy_collection_response.py +++ b/msgraph/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/generated/models/share_point_restore_session.py b/msgraph/generated/models/share_point_restore_session.py index 43cb8baebbc..b59004071df 100644 --- a/msgraph/generated/models/share_point_restore_session.py +++ b/msgraph/generated/models/share_point_restore_session.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 .restore_session_base import RestoreSessionBase + from .site_restore_artifact import SiteRestoreArtifact + writer.write_collection_of_object_values("siteRestoreArtifacts", self.site_restore_artifacts) diff --git a/msgraph/generated/models/share_point_restore_session_collection_response.py b/msgraph/generated/models/share_point_restore_session_collection_response.py index 7a6aa646272..6d73194fcc4 100644 --- a/msgraph/generated/models/share_point_restore_session_collection_response.py +++ b/msgraph/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/generated/models/shared.py b/msgraph/generated/models/shared.py index f1c9de58fa7..90485fd001f 100644 --- a/msgraph/generated/models/shared.py +++ b/msgraph/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/generated/models/shared_drive_item.py b/msgraph/generated/models/shared_drive_item.py index c7094c792af..2181a7f92e6 100644 --- a/msgraph/generated/models/shared_drive_item.py +++ b/msgraph/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/generated/models/shared_drive_item_collection_response.py b/msgraph/generated/models/shared_drive_item_collection_response.py index 4d1e13532f5..57b0440cfc0 100644 --- a/msgraph/generated/models/shared_drive_item_collection_response.py +++ b/msgraph/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/generated/models/shared_insight.py b/msgraph/generated/models/shared_insight.py index 9ad93a85283..075765c9a00 100644 --- a/msgraph/generated/models/shared_insight.py +++ b/msgraph/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/generated/models/shared_insight_collection_response.py b/msgraph/generated/models/shared_insight_collection_response.py index 5530cab7aab..fbbda477a66 100644 --- a/msgraph/generated/models/shared_insight_collection_response.py +++ b/msgraph/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/generated/models/shared_p_c_account_manager_policy.py b/msgraph/generated/models/shared_p_c_account_manager_policy.py index da72d290c5f..f82d703f60c 100644 --- a/msgraph/generated/models/shared_p_c_account_manager_policy.py +++ b/msgraph/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/generated/models/shared_p_c_configuration.py b/msgraph/generated/models/shared_p_c_configuration.py index a8ad92316e3..1dffd50e4e5 100644 --- a/msgraph/generated/models/shared_p_c_configuration.py +++ b/msgraph/generated/models/shared_p_c_configuration.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 .device_configuration import DeviceConfiguration + 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/generated/models/shared_with_channel_team_info.py b/msgraph/generated/models/shared_with_channel_team_info.py index c404fe98547..6dcea2a3f18 100644 --- a/msgraph/generated/models/shared_with_channel_team_info.py +++ b/msgraph/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/generated/models/shared_with_channel_team_info_collection_response.py b/msgraph/generated/models/shared_with_channel_team_info_collection_response.py index c69d2a5bef9..fc1f9c4f023 100644 --- a/msgraph/generated/models/shared_with_channel_team_info_collection_response.py +++ b/msgraph/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/generated/models/sharepoint.py b/msgraph/generated/models/sharepoint.py index c7c9ed7b042..f45ae03085d 100644 --- a/msgraph/generated/models/sharepoint.py +++ b/msgraph/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/generated/models/sharepoint_settings.py b/msgraph/generated/models/sharepoint_settings.py index 3918599d4da..890c330b30b 100644 --- a/msgraph/generated/models/sharepoint_settings.py +++ b/msgraph/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/generated/models/sharing_detail.py b/msgraph/generated/models/sharing_detail.py index 2536ca0e13b..a2b6d436bea 100644 --- a/msgraph/generated/models/sharing_detail.py +++ b/msgraph/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/generated/models/sharing_invitation.py b/msgraph/generated/models/sharing_invitation.py index ac7049c6c14..f27ce4943cd 100644 --- a/msgraph/generated/models/sharing_invitation.py +++ b/msgraph/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/generated/models/sharing_link.py b/msgraph/generated/models/sharing_link.py index 82c2dc27e6f..44f42257f37 100644 --- a/msgraph/generated/models/sharing_link.py +++ b/msgraph/generated/models/sharing_link.py @@ -68,6 +68,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("@odata.type", self.odata_type) writer.write_bool_value("preventsDownload", self.prevents_download) diff --git a/msgraph/generated/models/shift.py b/msgraph/generated/models/shift.py index 10569d46228..9fa07da91ea 100644 --- a/msgraph/generated/models/shift.py +++ b/msgraph/generated/models/shift.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 .shift_item import ShiftItem + writer.write_object_value("draftShift", self.draft_shift) writer.write_str_value("schedulingGroupId", self.scheduling_group_id) writer.write_object_value("sharedShift", self.shared_shift) diff --git a/msgraph/generated/models/shift_activity.py b/msgraph/generated/models/shift_activity.py index 64885051864..7cc33f49527 100644 --- a/msgraph/generated/models/shift_activity.py +++ b/msgraph/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/generated/models/shift_availability.py b/msgraph/generated/models/shift_availability.py index 58ab6d21f2c..7c90a025201 100644 --- a/msgraph/generated/models/shift_availability.py +++ b/msgraph/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/generated/models/shift_collection_response.py b/msgraph/generated/models/shift_collection_response.py index 17dfc117a0b..15855b675f5 100644 --- a/msgraph/generated/models/shift_collection_response.py +++ b/msgraph/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/generated/models/shift_item.py b/msgraph/generated/models/shift_item.py index 0c6fef1f74a..ea01a79a298 100644 --- a/msgraph/generated/models/shift_item.py +++ b/msgraph/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/generated/models/shift_preferences.py b/msgraph/generated/models/shift_preferences.py index 7db9532add7..9f80f8f8f31 100644 --- a/msgraph/generated/models/shift_preferences.py +++ b/msgraph/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/generated/models/sign_in.py b/msgraph/generated/models/sign_in.py index 0a11982a352..5d6f1de7dd0 100644 --- a/msgraph/generated/models/sign_in.py +++ b/msgraph/generated/models/sign_in.py @@ -145,6 +145,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .applied_conditional_access_policy import AppliedConditionalAccessPolicy + from .conditional_access_status import ConditionalAccessStatus + from .device_detail import DeviceDetail + from .entity import Entity + from .risk_detail import RiskDetail + from .risk_event_type import RiskEventType + from .risk_level import RiskLevel + from .risk_state import RiskState + from .sign_in_location import SignInLocation + from .sign_in_status import SignInStatus + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appId", self.app_id) writer.write_collection_of_object_values("appliedConditionalAccessPolicies", self.applied_conditional_access_policies) diff --git a/msgraph/generated/models/sign_in_collection_response.py b/msgraph/generated/models/sign_in_collection_response.py index d05ddf33aec..a38126a3a8e 100644 --- a/msgraph/generated/models/sign_in_collection_response.py +++ b/msgraph/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/generated/models/sign_in_frequency_session_control.py b/msgraph/generated/models/sign_in_frequency_session_control.py index f9a867a53da..31e54e4451f 100644 --- a/msgraph/generated/models/sign_in_frequency_session_control.py +++ b/msgraph/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/generated/models/sign_in_location.py b/msgraph/generated/models/sign_in_location.py index 4dd5df3385d..1609323965c 100644 --- a/msgraph/generated/models/sign_in_location.py +++ b/msgraph/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/generated/models/simulation.py b/msgraph/generated/models/simulation.py index 92a1526c027..aa7b1a97603 100644 --- a/msgraph/generated/models/simulation.py +++ b/msgraph/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/generated/models/simulation_automation.py b/msgraph/generated/models/simulation_automation.py index 866f4c5dc78..e8412013ae6 100644 --- a/msgraph/generated/models/simulation_automation.py +++ b/msgraph/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/generated/models/simulation_automation_collection_response.py b/msgraph/generated/models/simulation_automation_collection_response.py index 27ee7eb2210..7c91adda9b0 100644 --- a/msgraph/generated/models/simulation_automation_collection_response.py +++ b/msgraph/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/generated/models/simulation_automation_run.py b/msgraph/generated/models/simulation_automation_run.py index d3d6b6dd981..1fb3ffcba72 100644 --- a/msgraph/generated/models/simulation_automation_run.py +++ b/msgraph/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/generated/models/simulation_automation_run_collection_response.py b/msgraph/generated/models/simulation_automation_run_collection_response.py index 61f4fdfa1f7..3a04f8bd8e5 100644 --- a/msgraph/generated/models/simulation_automation_run_collection_response.py +++ b/msgraph/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/generated/models/simulation_collection_response.py b/msgraph/generated/models/simulation_collection_response.py index 829cb02d13b..148981a2b13 100644 --- a/msgraph/generated/models/simulation_collection_response.py +++ b/msgraph/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/generated/models/simulation_events_content.py b/msgraph/generated/models/simulation_events_content.py index 2b8cf1fb856..a324f093412 100644 --- a/msgraph/generated/models/simulation_events_content.py +++ b/msgraph/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/generated/models/simulation_notification.py b/msgraph/generated/models/simulation_notification.py index fde344906df..05841038c6e 100644 --- a/msgraph/generated/models/simulation_notification.py +++ b/msgraph/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/generated/models/simulation_report.py b/msgraph/generated/models/simulation_report.py index f0d1ca1ce48..adbdc49a6cb 100644 --- a/msgraph/generated/models/simulation_report.py +++ b/msgraph/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/generated/models/simulation_report_overview.py b/msgraph/generated/models/simulation_report_overview.py index 492182c6865..6fc093a4105 100644 --- a/msgraph/generated/models/simulation_report_overview.py +++ b/msgraph/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/generated/models/single_service_principal.py b/msgraph/generated/models/single_service_principal.py index 9ed673661ae..d90a7d30a75 100644 --- a/msgraph/generated/models/single_service_principal.py +++ b/msgraph/generated/models/single_service_principal.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_set import SubjectSet + writer.write_str_value("description", self.description) writer.write_str_value("servicePrincipalId", self.service_principal_id) diff --git a/msgraph/generated/models/single_user.py b/msgraph/generated/models/single_user.py index 9b329ae7ae7..629bbf5b1e3 100644 --- a/msgraph/generated/models/single_user.py +++ b/msgraph/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 .subject_set import SubjectSet + writer.write_str_value("description", self.description) writer.write_str_value("userId", self.user_id) diff --git a/msgraph/generated/models/single_value_legacy_extended_property.py b/msgraph/generated/models/single_value_legacy_extended_property.py index 923c847b799..d690f80df64 100644 --- a/msgraph/generated/models/single_value_legacy_extended_property.py +++ b/msgraph/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/generated/models/site.py b/msgraph/generated/models/site.py index 524eb92e0b9..98dd93d4b24 100644 --- a/msgraph/generated/models/site.py +++ b/msgraph/generated/models/site.py @@ -153,6 +153,22 @@ 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_type import ContentType + from .drive import Drive + from .item_analytics import ItemAnalytics + from .list_ import List_ + from .onenote import Onenote + from .permission import Permission + from .public_error import PublicError + from .rich_long_running_operation import RichLongRunningOperation + from .root import Root + from .sharepoint_ids import SharepointIds + from .site_collection import SiteCollection + 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("contentTypes", self.content_types) diff --git a/msgraph/generated/models/site_archival_details.py b/msgraph/generated/models/site_archival_details.py index 2b06bdf3b4e..a97f6d6e46a 100644 --- a/msgraph/generated/models/site_archival_details.py +++ b/msgraph/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/generated/models/site_collection.py b/msgraph/generated/models/site_collection.py index 8a41da4ed46..620a24280c4 100644 --- a/msgraph/generated/models/site_collection.py +++ b/msgraph/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/generated/models/site_collection_response.py b/msgraph/generated/models/site_collection_response.py index e48d0db4009..d5d4fbde8c6 100644 --- a/msgraph/generated/models/site_collection_response.py +++ b/msgraph/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/generated/models/site_page.py b/msgraph/generated/models/site_page.py index 3a5032eaabb..1c7de1a54d9 100644 --- a/msgraph/generated/models/site_page.py +++ b/msgraph/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/generated/models/site_page_collection_response.py b/msgraph/generated/models/site_page_collection_response.py index 88621a71138..c2eebbc699f 100644 --- a/msgraph/generated/models/site_page_collection_response.py +++ b/msgraph/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/generated/models/site_protection_rule.py b/msgraph/generated/models/site_protection_rule.py index 7b00bf9008a..88138df4859 100644 --- a/msgraph/generated/models/site_protection_rule.py +++ b/msgraph/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/generated/models/site_protection_rule_collection_response.py b/msgraph/generated/models/site_protection_rule_collection_response.py index c1f00513d6a..4e33a35d296 100644 --- a/msgraph/generated/models/site_protection_rule_collection_response.py +++ b/msgraph/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/generated/models/site_protection_unit.py b/msgraph/generated/models/site_protection_unit.py index 3e1cc13bc84..dbc6ad97946 100644 --- a/msgraph/generated/models/site_protection_unit.py +++ b/msgraph/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/generated/models/site_protection_unit_collection_response.py b/msgraph/generated/models/site_protection_unit_collection_response.py index 853c9ca6538..8d051af1e01 100644 --- a/msgraph/generated/models/site_protection_unit_collection_response.py +++ b/msgraph/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/generated/models/site_restore_artifact.py b/msgraph/generated/models/site_restore_artifact.py index d28dac99974..1e0aab31dc9 100644 --- a/msgraph/generated/models/site_restore_artifact.py +++ b/msgraph/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/generated/models/site_restore_artifact_collection_response.py b/msgraph/generated/models/site_restore_artifact_collection_response.py index d0e57ecb908..ca9e21b469d 100644 --- a/msgraph/generated/models/site_restore_artifact_collection_response.py +++ b/msgraph/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/generated/models/skype_for_business_user_conversation_member.py b/msgraph/generated/models/skype_for_business_user_conversation_member.py index 3ab4ba48717..49161683107 100644 --- a/msgraph/generated/models/skype_for_business_user_conversation_member.py +++ b/msgraph/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/generated/models/skype_user_conversation_member.py b/msgraph/generated/models/skype_user_conversation_member.py index 862ace8708f..b2d8187a607 100644 --- a/msgraph/generated/models/skype_user_conversation_member.py +++ b/msgraph/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/generated/models/sms_authentication_method_configuration.py b/msgraph/generated/models/sms_authentication_method_configuration.py index 3474029fa85..65313145a79 100644 --- a/msgraph/generated/models/sms_authentication_method_configuration.py +++ b/msgraph/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/generated/models/sms_authentication_method_target.py b/msgraph/generated/models/sms_authentication_method_target.py index 77e9121efcf..76fdd6ccc53 100644 --- a/msgraph/generated/models/sms_authentication_method_target.py +++ b/msgraph/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/generated/models/social_identity_provider.py b/msgraph/generated/models/social_identity_provider.py index 99b84ce42e3..2f14416e9f7 100644 --- a/msgraph/generated/models/social_identity_provider.py +++ b/msgraph/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/generated/models/social_identity_source.py b/msgraph/generated/models/social_identity_source.py index 1b86fc7fb6a..8f1dc7f1090 100644 --- a/msgraph/generated/models/social_identity_source.py +++ b/msgraph/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/generated/models/software_oath_authentication_method.py b/msgraph/generated/models/software_oath_authentication_method.py index ee1972541bd..4b485c76c10 100644 --- a/msgraph/generated/models/software_oath_authentication_method.py +++ b/msgraph/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/generated/models/software_oath_authentication_method_collection_response.py b/msgraph/generated/models/software_oath_authentication_method_collection_response.py index ef8c5563fc6..6c45c428d3e 100644 --- a/msgraph/generated/models/software_oath_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/software_oath_authentication_method_configuration.py b/msgraph/generated/models/software_oath_authentication_method_configuration.py index a3c6afad480..7a010ce66a6 100644 --- a/msgraph/generated/models/software_oath_authentication_method_configuration.py +++ b/msgraph/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/generated/models/software_update_status_summary.py b/msgraph/generated/models/software_update_status_summary.py index 41fc1559fbe..809adb67adc 100644 --- a/msgraph/generated/models/software_update_status_summary.py +++ b/msgraph/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/generated/models/solutions_root.py b/msgraph/generated/models/solutions_root.py index b7b2f0904ac..03159cec074 100644 --- a/msgraph/generated/models/solutions_root.py +++ b/msgraph/generated/models/solutions_root.py @@ -71,6 +71,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .backup_restore_root import BackupRestoreRoot + from .booking_business import BookingBusiness + from .booking_currency import BookingCurrency + from .virtual_events_root import VirtualEventsRoot + writer.write_object_value("backupRestore", self.backup_restore) writer.write_collection_of_object_values("bookingBusinesses", self.booking_businesses) writer.write_collection_of_object_values("bookingCurrencies", self.booking_currencies) diff --git a/msgraph/generated/models/staff_availability_item.py b/msgraph/generated/models/staff_availability_item.py index edaa41870e6..e1da7018b4a 100644 --- a/msgraph/generated/models/staff_availability_item.py +++ b/msgraph/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/generated/models/standard_time_zone_offset.py b/msgraph/generated/models/standard_time_zone_offset.py index 71699605348..e91d89d52bf 100644 --- a/msgraph/generated/models/standard_time_zone_offset.py +++ b/msgraph/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/generated/models/standard_web_part.py b/msgraph/generated/models/standard_web_part.py index 45954079a06..654bfd1ce4b 100644 --- a/msgraph/generated/models/standard_web_part.py +++ b/msgraph/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/generated/models/start_hold_music_operation.py b/msgraph/generated/models/start_hold_music_operation.py index 844a68d851f..4bbafd768f5 100644 --- a/msgraph/generated/models/start_hold_music_operation.py +++ b/msgraph/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/generated/models/stop_hold_music_operation.py b/msgraph/generated/models/stop_hold_music_operation.py index d6615a2ea79..392ad0dcba2 100644 --- a/msgraph/generated/models/stop_hold_music_operation.py +++ b/msgraph/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/generated/models/storage.py b/msgraph/generated/models/storage.py index 2d2c61f6deb..dc7fbbaf01d 100644 --- a/msgraph/generated/models/storage.py +++ b/msgraph/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/generated/models/storage_quota_breakdown.py b/msgraph/generated/models/storage_quota_breakdown.py index f6e4b8b972c..f638294b8a6 100644 --- a/msgraph/generated/models/storage_quota_breakdown.py +++ b/msgraph/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/generated/models/storage_settings.py b/msgraph/generated/models/storage_settings.py index 4df6dcc42f6..9e9b9800bca 100644 --- a/msgraph/generated/models/storage_settings.py +++ b/msgraph/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/generated/models/string_collection_response.py b/msgraph/generated/models/string_collection_response.py index 9b6eae29c74..27503666dd0 100644 --- a/msgraph/generated/models/string_collection_response.py +++ b/msgraph/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/generated/models/string_key_attribute_mapping_source_value_pair.py b/msgraph/generated/models/string_key_attribute_mapping_source_value_pair.py index a6bcf381631..5f44661250e 100644 --- a/msgraph/generated/models/string_key_attribute_mapping_source_value_pair.py +++ b/msgraph/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/generated/models/sts_policy.py b/msgraph/generated/models/sts_policy.py index 61adbef96ed..e2b73190d29 100644 --- a/msgraph/generated/models/sts_policy.py +++ b/msgraph/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/generated/models/subject_rights_request.py b/msgraph/generated/models/subject_rights_request.py index 9fa8d8ce51d..b03272747e1 100644 --- a/msgraph/generated/models/subject_rights_request.py +++ b/msgraph/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/generated/models/subject_rights_request_all_mailbox_location.py b/msgraph/generated/models/subject_rights_request_all_mailbox_location.py index 51f31a865ec..dc160a502e3 100644 --- a/msgraph/generated/models/subject_rights_request_all_mailbox_location.py +++ b/msgraph/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/generated/models/subject_rights_request_all_site_location.py b/msgraph/generated/models/subject_rights_request_all_site_location.py index 40cf271d8e1..2ba69113629 100644 --- a/msgraph/generated/models/subject_rights_request_all_site_location.py +++ b/msgraph/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/generated/models/subject_rights_request_collection_response.py b/msgraph/generated/models/subject_rights_request_collection_response.py index 9fdf5ecd2e0..35b96ef38b4 100644 --- a/msgraph/generated/models/subject_rights_request_collection_response.py +++ b/msgraph/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/generated/models/subject_rights_request_detail.py b/msgraph/generated/models/subject_rights_request_detail.py index de20763d1f9..b1649cdb6f1 100644 --- a/msgraph/generated/models/subject_rights_request_detail.py +++ b/msgraph/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/generated/models/subject_rights_request_enumerated_mailbox_location.py b/msgraph/generated/models/subject_rights_request_enumerated_mailbox_location.py index c62989486d8..8188ef7ea8b 100644 --- a/msgraph/generated/models/subject_rights_request_enumerated_mailbox_location.py +++ b/msgraph/generated/models/subject_rights_request_enumerated_mailbox_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_mailbox_location import SubjectRightsRequestMailboxLocation + writer.write_collection_of_primitive_values("userPrincipalNames", self.user_principal_names) diff --git a/msgraph/generated/models/subject_rights_request_enumerated_site_location.py b/msgraph/generated/models/subject_rights_request_enumerated_site_location.py index 267c5a08719..97b88e0f462 100644 --- a/msgraph/generated/models/subject_rights_request_enumerated_site_location.py +++ b/msgraph/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/generated/models/subject_rights_request_history.py b/msgraph/generated/models/subject_rights_request_history.py index 3db6125eeaf..27695aca0ac 100644 --- a/msgraph/generated/models/subject_rights_request_history.py +++ b/msgraph/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/generated/models/subject_rights_request_mailbox_location.py b/msgraph/generated/models/subject_rights_request_mailbox_location.py index 3688ffea44e..2a3711d8646 100644 --- a/msgraph/generated/models/subject_rights_request_mailbox_location.py +++ b/msgraph/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/generated/models/subject_rights_request_site_location.py b/msgraph/generated/models/subject_rights_request_site_location.py index c2a0008e84e..691f5e3579b 100644 --- a/msgraph/generated/models/subject_rights_request_site_location.py +++ b/msgraph/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/generated/models/subject_rights_request_stage_detail.py b/msgraph/generated/models/subject_rights_request_stage_detail.py index 780134314dc..d3e8e379501 100644 --- a/msgraph/generated/models/subject_rights_request_stage_detail.py +++ b/msgraph/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/generated/models/subject_set.py b/msgraph/generated/models/subject_set.py index 8dd56592109..11bc66063ed 100644 --- a/msgraph/generated/models/subject_set.py +++ b/msgraph/generated/models/subject_set.py @@ -39,7 +39,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.attributeRuleMembers".casefold(): @@ -142,6 +143,20 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_rule_members import AttributeRuleMembers + from .connected_organization_members import ConnectedOrganizationMembers + from .external_sponsors import ExternalSponsors + from .group_members import GroupMembers + from .identity_governance.group_based_subject_set import GroupBasedSubjectSet + from .identity_governance.rule_based_subject_set import RuleBasedSubjectSet + from .internal_sponsors import InternalSponsors + from .requestor_manager import RequestorManager + from .single_service_principal import SingleServicePrincipal + from .single_user import SingleUser + from .target_application_owners import TargetApplicationOwners + from .target_manager import TargetManager + from .target_user_sponsors import TargetUserSponsors + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/subscribe_to_tone_operation.py b/msgraph/generated/models/subscribe_to_tone_operation.py index 07a153b12c5..24575a3b606 100644 --- a/msgraph/generated/models/subscribe_to_tone_operation.py +++ b/msgraph/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/generated/models/subscribed_sku.py b/msgraph/generated/models/subscribed_sku.py index ff81a901c12..72ebfa1809e 100644 --- a/msgraph/generated/models/subscribed_sku.py +++ b/msgraph/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/generated/models/subscribed_sku_collection_response.py b/msgraph/generated/models/subscribed_sku_collection_response.py index 440c03cc5b4..33c89c32455 100644 --- a/msgraph/generated/models/subscribed_sku_collection_response.py +++ b/msgraph/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/generated/models/subscription.py b/msgraph/generated/models/subscription.py index 666b407f612..bfefd2e7a17 100644 --- a/msgraph/generated/models/subscription.py +++ b/msgraph/generated/models/subscription.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("applicationId", self.application_id) writer.write_str_value("changeType", self.change_type) writer.write_str_value("clientState", self.client_state) diff --git a/msgraph/generated/models/subscription_collection_response.py b/msgraph/generated/models/subscription_collection_response.py index 428c0be3ad2..dc5d94162a8 100644 --- a/msgraph/generated/models/subscription_collection_response.py +++ b/msgraph/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/generated/models/swap_shifts_change_request.py b/msgraph/generated/models/swap_shifts_change_request.py index d7443254edc..48898fdb419 100644 --- a/msgraph/generated/models/swap_shifts_change_request.py +++ b/msgraph/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/generated/models/swap_shifts_change_request_collection_response.py b/msgraph/generated/models/swap_shifts_change_request_collection_response.py index 602f955b0a3..8b7191dd257 100644 --- a/msgraph/generated/models/swap_shifts_change_request_collection_response.py +++ b/msgraph/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/generated/models/synchronization.py b/msgraph/generated/models/synchronization.py index da365ca0873..0bb5698e26d 100644 --- a/msgraph/generated/models/synchronization.py +++ b/msgraph/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/generated/models/synchronization_job.py b/msgraph/generated/models/synchronization_job.py index 3316249bd68..fc7a539ae6a 100644 --- a/msgraph/generated/models/synchronization_job.py +++ b/msgraph/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/generated/models/synchronization_job_application_parameters.py b/msgraph/generated/models/synchronization_job_application_parameters.py index bebcc83bef1..484f29a1c85 100644 --- a/msgraph/generated/models/synchronization_job_application_parameters.py +++ b/msgraph/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/generated/models/synchronization_job_collection_response.py b/msgraph/generated/models/synchronization_job_collection_response.py index f0614bd9c14..fb02273695f 100644 --- a/msgraph/generated/models/synchronization_job_collection_response.py +++ b/msgraph/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/generated/models/synchronization_job_restart_criteria.py b/msgraph/generated/models/synchronization_job_restart_criteria.py index ec1546d7510..ba5101a90aa 100644 --- a/msgraph/generated/models/synchronization_job_restart_criteria.py +++ b/msgraph/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/generated/models/synchronization_job_subject.py b/msgraph/generated/models/synchronization_job_subject.py index 6b6175162ba..10080388418 100644 --- a/msgraph/generated/models/synchronization_job_subject.py +++ b/msgraph/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/generated/models/synchronization_linked_objects.py b/msgraph/generated/models/synchronization_linked_objects.py index 116c0505c7f..09ca922edf5 100644 --- a/msgraph/generated/models/synchronization_linked_objects.py +++ b/msgraph/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/generated/models/synchronization_metadata_entry.py b/msgraph/generated/models/synchronization_metadata_entry.py index 43bdeebdbfe..6ff52d3aeee 100644 --- a/msgraph/generated/models/synchronization_metadata_entry.py +++ b/msgraph/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/generated/models/synchronization_quarantine.py b/msgraph/generated/models/synchronization_quarantine.py index 927f56c5b74..67d08930f41 100644 --- a/msgraph/generated/models/synchronization_quarantine.py +++ b/msgraph/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/generated/models/synchronization_rule.py b/msgraph/generated/models/synchronization_rule.py index 8b726b940f0..eec0a427649 100644 --- a/msgraph/generated/models/synchronization_rule.py +++ b/msgraph/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/generated/models/synchronization_schedule.py b/msgraph/generated/models/synchronization_schedule.py index 518640a81db..9d8cc3d37e2 100644 --- a/msgraph/generated/models/synchronization_schedule.py +++ b/msgraph/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/generated/models/synchronization_schema.py b/msgraph/generated/models/synchronization_schema.py index fb61512f5d5..be145ffe40a 100644 --- a/msgraph/generated/models/synchronization_schema.py +++ b/msgraph/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/generated/models/synchronization_secret_key_string_value_pair.py b/msgraph/generated/models/synchronization_secret_key_string_value_pair.py index 27523eea044..3102960a5b2 100644 --- a/msgraph/generated/models/synchronization_secret_key_string_value_pair.py +++ b/msgraph/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/generated/models/synchronization_status.py b/msgraph/generated/models/synchronization_status.py index 0dc26ddaef1..89db21168a7 100644 --- a/msgraph/generated/models/synchronization_status.py +++ b/msgraph/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/generated/models/synchronization_task_execution.py b/msgraph/generated/models/synchronization_task_execution.py index e680b9752c1..c3fe763dad0 100644 --- a/msgraph/generated/models/synchronization_task_execution.py +++ b/msgraph/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/generated/models/synchronization_template.py b/msgraph/generated/models/synchronization_template.py index c63460cce9f..acd806b1a44 100644 --- a/msgraph/generated/models/synchronization_template.py +++ b/msgraph/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/generated/models/synchronization_template_collection_response.py b/msgraph/generated/models/synchronization_template_collection_response.py index 7d66dc3ead6..4cc11b4320c 100644 --- a/msgraph/generated/models/synchronization_template_collection_response.py +++ b/msgraph/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/generated/models/tab_updated_event_message_detail.py b/msgraph/generated/models/tab_updated_event_message_detail.py index 4bdada7dbf2..118192119fd 100644 --- a/msgraph/generated/models/tab_updated_event_message_detail.py +++ b/msgraph/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/generated/models/target_application_owners.py b/msgraph/generated/models/target_application_owners.py index 4e4e780e339..fa082ee46ba 100644 --- a/msgraph/generated/models/target_application_owners.py +++ b/msgraph/generated/models/target_application_owners.py @@ -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_set import SubjectSet + diff --git a/msgraph/generated/models/target_device_group.py b/msgraph/generated/models/target_device_group.py index 878df9cbc67..f7df3fc11a6 100644 --- a/msgraph/generated/models/target_device_group.py +++ b/msgraph/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/generated/models/target_device_group_collection_response.py b/msgraph/generated/models/target_device_group_collection_response.py index 7224d76b3b5..c73f5e90f65 100644 --- a/msgraph/generated/models/target_device_group_collection_response.py +++ b/msgraph/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/generated/models/target_manager.py b/msgraph/generated/models/target_manager.py index a01fc5192d5..efbea8fe5cb 100644 --- a/msgraph/generated/models/target_manager.py +++ b/msgraph/generated/models/target_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 .subject_set import SubjectSet + writer.write_int_value("managerLevel", self.manager_level) diff --git a/msgraph/generated/models/target_resource.py b/msgraph/generated/models/target_resource.py index 160be516adb..4666cf4050e 100644 --- a/msgraph/generated/models/target_resource.py +++ b/msgraph/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/generated/models/target_user_sponsors.py b/msgraph/generated/models/target_user_sponsors.py index 071868d608e..0dcd57848d8 100644 --- a/msgraph/generated/models/target_user_sponsors.py +++ b/msgraph/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 .subject_set import SubjectSet + diff --git a/msgraph/generated/models/targeted_managed_app_configuration.py b/msgraph/generated/models/targeted_managed_app_configuration.py index d847db03dba..c4730fab04a 100644 --- a/msgraph/generated/models/targeted_managed_app_configuration.py +++ b/msgraph/generated/models/targeted_managed_app_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 .managed_app_configuration import ManagedAppConfiguration + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_collection_of_object_values("apps", self.apps) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_int_value("deployedAppCount", self.deployed_app_count) diff --git a/msgraph/generated/models/targeted_managed_app_configuration_collection_response.py b/msgraph/generated/models/targeted_managed_app_configuration_collection_response.py index 31ec0eab89c..5077ea9bfed 100644 --- a/msgraph/generated/models/targeted_managed_app_configuration_collection_response.py +++ b/msgraph/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/generated/models/targeted_managed_app_policy_assignment.py b/msgraph/generated/models/targeted_managed_app_policy_assignment.py index f9510f5a0b1..e8654811d0c 100644 --- a/msgraph/generated/models/targeted_managed_app_policy_assignment.py +++ b/msgraph/generated/models/targeted_managed_app_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/generated/models/targeted_managed_app_policy_assignment_collection_response.py b/msgraph/generated/models/targeted_managed_app_policy_assignment_collection_response.py index 8df702fc074..f8ddbd66f4b 100644 --- a/msgraph/generated/models/targeted_managed_app_policy_assignment_collection_response.py +++ b/msgraph/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/generated/models/targeted_managed_app_protection.py b/msgraph/generated/models/targeted_managed_app_protection.py index 97078233a75..4cb7959beb0 100644 --- a/msgraph/generated/models/targeted_managed_app_protection.py +++ b/msgraph/generated/models/targeted_managed_app_protection.py @@ -33,7 +33,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(): @@ -78,6 +79,11 @@ 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 .ios_managed_app_protection import IosManagedAppProtection + from .managed_app_protection import ManagedAppProtection + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_bool_value("isAssigned", self.is_assigned) diff --git a/msgraph/generated/models/task_file_attachment.py b/msgraph/generated/models/task_file_attachment.py index f59059c6162..48ff6e0b3c7 100644 --- a/msgraph/generated/models/task_file_attachment.py +++ b/msgraph/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/generated/models/team.py b/msgraph/generated/models/team.py index 01961a7b5c0..67e516f818c 100644 --- a/msgraph/generated/models/team.py +++ b/msgraph/generated/models/team.py @@ -184,6 +184,25 @@ 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_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_visibility_type import TeamVisibilityType + 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/generated/models/team_archived_event_message_detail.py b/msgraph/generated/models/team_archived_event_message_detail.py index 161d8085b94..f014f336916 100644 --- a/msgraph/generated/models/team_archived_event_message_detail.py +++ b/msgraph/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/generated/models/team_collection_response.py b/msgraph/generated/models/team_collection_response.py index ae892bea794..3497c2e37d4 100644 --- a/msgraph/generated/models/team_collection_response.py +++ b/msgraph/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/generated/models/team_created_event_message_detail.py b/msgraph/generated/models/team_created_event_message_detail.py index 91b750de809..9e469670803 100644 --- a/msgraph/generated/models/team_created_event_message_detail.py +++ b/msgraph/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/generated/models/team_description_updated_event_message_detail.py b/msgraph/generated/models/team_description_updated_event_message_detail.py index 4374bc9e121..f0e1a0e4615 100644 --- a/msgraph/generated/models/team_description_updated_event_message_detail.py +++ b/msgraph/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/generated/models/team_fun_settings.py b/msgraph/generated/models/team_fun_settings.py index 9e7f807c62e..f15788b141b 100644 --- a/msgraph/generated/models/team_fun_settings.py +++ b/msgraph/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/generated/models/team_info.py b/msgraph/generated/models/team_info.py index e7e36f47f35..054db9102fb 100644 --- a/msgraph/generated/models/team_info.py +++ b/msgraph/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/generated/models/team_joining_disabled_event_message_detail.py b/msgraph/generated/models/team_joining_disabled_event_message_detail.py index ef63d5e3d52..53264cd782d 100644 --- a/msgraph/generated/models/team_joining_disabled_event_message_detail.py +++ b/msgraph/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/generated/models/team_joining_enabled_event_message_detail.py b/msgraph/generated/models/team_joining_enabled_event_message_detail.py index f31e4494f51..49671c9037e 100644 --- a/msgraph/generated/models/team_joining_enabled_event_message_detail.py +++ b/msgraph/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/generated/models/team_members_notification_recipient.py b/msgraph/generated/models/team_members_notification_recipient.py index aa1da494d05..2ee0639f220 100644 --- a/msgraph/generated/models/team_members_notification_recipient.py +++ b/msgraph/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/generated/models/team_renamed_event_message_detail.py b/msgraph/generated/models/team_renamed_event_message_detail.py index af6c13ff606..7d0930fdeee 100644 --- a/msgraph/generated/models/team_renamed_event_message_detail.py +++ b/msgraph/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/generated/models/team_unarchived_event_message_detail.py b/msgraph/generated/models/team_unarchived_event_message_detail.py index 011170b3568..c8c4f364f6b 100644 --- a/msgraph/generated/models/team_unarchived_event_message_detail.py +++ b/msgraph/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/generated/models/teams_app.py b/msgraph/generated/models/teams_app.py index 2cebc63fa7c..c13dfce3d85 100644 --- a/msgraph/generated/models/teams_app.py +++ b/msgraph/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/generated/models/teams_app_authorization.py b/msgraph/generated/models/teams_app_authorization.py index 16ee9307ed3..10ecd609c7c 100644 --- a/msgraph/generated/models/teams_app_authorization.py +++ b/msgraph/generated/models/teams_app_authorization.py @@ -14,6 +14,8 @@ class TeamsAppAuthorization(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 registration ID of the Microsoft Entra app ID associated with the teamsApp. + client_app_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None # Set of permissions required by the teamsApp. @@ -40,6 +42,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .teams_app_permission_set import TeamsAppPermissionSet fields: Dict[str, Callable[[Any], None]] = { + "clientAppId": lambda n : setattr(self, 'client_app_id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "requiredPermissionSet": lambda n : setattr(self, 'required_permission_set', n.get_object_value(TeamsAppPermissionSet)), } @@ -53,6 +56,9 @@ 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) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/teams_app_collection_response.py b/msgraph/generated/models/teams_app_collection_response.py index 6f412ee743e..c1bb3c2bf4b 100644 --- a/msgraph/generated/models/teams_app_collection_response.py +++ b/msgraph/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/generated/models/teams_app_definition.py b/msgraph/generated/models/teams_app_definition.py index c4e4a940aba..9fef865e874 100644 --- a/msgraph/generated/models/teams_app_definition.py +++ b/msgraph/generated/models/teams_app_definition.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 .identity_set import IdentitySet + from .teams_app_authorization import TeamsAppAuthorization + from .teams_app_publishing_state import TeamsAppPublishingState + from .teamwork_bot import TeamworkBot + writer.write_object_value("authorization", self.authorization) writer.write_object_value("bot", self.bot) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph/generated/models/teams_app_definition_collection_response.py b/msgraph/generated/models/teams_app_definition_collection_response.py index fce8ca2ab18..7bd8cc00d16 100644 --- a/msgraph/generated/models/teams_app_definition_collection_response.py +++ b/msgraph/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/generated/models/teams_app_installation.py b/msgraph/generated/models/teams_app_installation.py index 4295607f4e3..b5f0932113a 100644 --- a/msgraph/generated/models/teams_app_installation.py +++ b/msgraph/generated/models/teams_app_installation.py @@ -33,7 +33,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(): @@ -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 .teams_app import TeamsApp + from .teams_app_definition import TeamsAppDefinition + 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("teamsApp", self.teams_app) writer.write_object_value("teamsAppDefinition", self.teams_app_definition) diff --git a/msgraph/generated/models/teams_app_installation_collection_response.py b/msgraph/generated/models/teams_app_installation_collection_response.py index 3626149d19b..c6234cbe686 100644 --- a/msgraph/generated/models/teams_app_installation_collection_response.py +++ b/msgraph/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/generated/models/teams_app_installed_event_message_detail.py b/msgraph/generated/models/teams_app_installed_event_message_detail.py index bc6ae6900d4..4e47a84eb59 100644 --- a/msgraph/generated/models/teams_app_installed_event_message_detail.py +++ b/msgraph/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/generated/models/teams_app_permission_set.py b/msgraph/generated/models/teams_app_permission_set.py index bca2fe564e9..c8dd3ef4cde 100644 --- a/msgraph/generated/models/teams_app_permission_set.py +++ b/msgraph/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/generated/models/teams_app_removed_event_message_detail.py b/msgraph/generated/models/teams_app_removed_event_message_detail.py index 52fafa79bf6..87aa842f06e 100644 --- a/msgraph/generated/models/teams_app_removed_event_message_detail.py +++ b/msgraph/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/generated/models/teams_app_resource_specific_permission.py b/msgraph/generated/models/teams_app_resource_specific_permission.py index bdbdb267862..76d95ed97c9 100644 --- a/msgraph/generated/models/teams_app_resource_specific_permission.py +++ b/msgraph/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/generated/models/teams_app_settings.py b/msgraph/generated/models/teams_app_settings.py index 8c9b1054675..1f4333cb438 100644 --- a/msgraph/generated/models/teams_app_settings.py +++ b/msgraph/generated/models/teams_app_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_bool_value("allowUserRequestsForAppAccess", self.allow_user_requests_for_app_access) writer.write_bool_value("isUserPersonalScopeResourceSpecificConsentEnabled", self.is_user_personal_scope_resource_specific_consent_enabled) diff --git a/msgraph/generated/models/teams_app_upgraded_event_message_detail.py b/msgraph/generated/models/teams_app_upgraded_event_message_detail.py index e4941600429..0e56b2ef7dc 100644 --- a/msgraph/generated/models/teams_app_upgraded_event_message_detail.py +++ b/msgraph/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/generated/models/teams_async_operation.py b/msgraph/generated/models/teams_async_operation.py index bbacdb8d431..62b2a94e696 100644 --- a/msgraph/generated/models/teams_async_operation.py +++ b/msgraph/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/generated/models/teams_async_operation_collection_response.py b/msgraph/generated/models/teams_async_operation_collection_response.py index 91a0e20e0d5..3b3fec042e8 100644 --- a/msgraph/generated/models/teams_async_operation_collection_response.py +++ b/msgraph/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/generated/models/teams_licensing_details.py b/msgraph/generated/models/teams_licensing_details.py index b15418ed4cf..ac513f553e5 100644 --- a/msgraph/generated/models/teams_licensing_details.py +++ b/msgraph/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/generated/models/teams_tab.py b/msgraph/generated/models/teams_tab.py index 540e76afd8f..43edd0927df 100644 --- a/msgraph/generated/models/teams_tab.py +++ b/msgraph/generated/models/teams_tab.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 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_object_value("teamsApp", self.teams_app) diff --git a/msgraph/generated/models/teams_tab_collection_response.py b/msgraph/generated/models/teams_tab_collection_response.py index 9bcbf8b4b8e..6635fb9ec10 100644 --- a/msgraph/generated/models/teams_tab_collection_response.py +++ b/msgraph/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/generated/models/teams_template.py b/msgraph/generated/models/teams_template.py index 4b6086daab4..44181c8ba6d 100644 --- a/msgraph/generated/models/teams_template.py +++ b/msgraph/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/generated/models/teams_template_collection_response.py b/msgraph/generated/models/teams_template_collection_response.py index 89803c24b84..f726aa61067 100644 --- a/msgraph/generated/models/teams_template_collection_response.py +++ b/msgraph/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/generated/models/teamwork.py b/msgraph/generated/models/teamwork.py index e3c640d2caf..eaa03742d9a 100644 --- a/msgraph/generated/models/teamwork.py +++ b/msgraph/generated/models/teamwork.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 .deleted_chat import DeletedChat + from .deleted_team import DeletedTeam + from .entity import Entity + from .teams_app_settings import TeamsAppSettings + 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_bool_value("isTeamsEnabled", self.is_teams_enabled) diff --git a/msgraph/generated/models/teamwork_activity_topic.py b/msgraph/generated/models/teamwork_activity_topic.py index dd602789c1d..1afab1e9b94 100644 --- a/msgraph/generated/models/teamwork_activity_topic.py +++ b/msgraph/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/generated/models/teamwork_application_identity.py b/msgraph/generated/models/teamwork_application_identity.py index ae700f655e7..4f31021ad5f 100644 --- a/msgraph/generated/models/teamwork_application_identity.py +++ b/msgraph/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/generated/models/teamwork_bot.py b/msgraph/generated/models/teamwork_bot.py index aecb5d07e75..df7948894e1 100644 --- a/msgraph/generated/models/teamwork_bot.py +++ b/msgraph/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/generated/models/teamwork_conversation_identity.py b/msgraph/generated/models/teamwork_conversation_identity.py index 15a544a1b7d..c6175098d99 100644 --- a/msgraph/generated/models/teamwork_conversation_identity.py +++ b/msgraph/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/generated/models/teamwork_hosted_content.py b/msgraph/generated/models/teamwork_hosted_content.py index c7d44ca56a9..a170d6d0d54 100644 --- a/msgraph/generated/models/teamwork_hosted_content.py +++ b/msgraph/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/generated/models/teamwork_notification_recipient.py b/msgraph/generated/models/teamwork_notification_recipient.py index 119885a9065..3f76843d2aa 100644 --- a/msgraph/generated/models/teamwork_notification_recipient.py +++ b/msgraph/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/generated/models/teamwork_online_meeting_info.py b/msgraph/generated/models/teamwork_online_meeting_info.py index c91188ce535..f5f1e980d77 100644 --- a/msgraph/generated/models/teamwork_online_meeting_info.py +++ b/msgraph/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/generated/models/teamwork_tag.py b/msgraph/generated/models/teamwork_tag.py index 00ca6f9ff80..e2bdac07d2c 100644 --- a/msgraph/generated/models/teamwork_tag.py +++ b/msgraph/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/generated/models/teamwork_tag_collection_response.py b/msgraph/generated/models/teamwork_tag_collection_response.py index bee1d00d625..b85cc5116f4 100644 --- a/msgraph/generated/models/teamwork_tag_collection_response.py +++ b/msgraph/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/generated/models/teamwork_tag_identity.py b/msgraph/generated/models/teamwork_tag_identity.py index 2c758dfc6a9..480c6db433b 100644 --- a/msgraph/generated/models/teamwork_tag_identity.py +++ b/msgraph/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/generated/models/teamwork_tag_member.py b/msgraph/generated/models/teamwork_tag_member.py index 824c3964170..aba8d7e1ee6 100644 --- a/msgraph/generated/models/teamwork_tag_member.py +++ b/msgraph/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/generated/models/teamwork_tag_member_collection_response.py b/msgraph/generated/models/teamwork_tag_member_collection_response.py index 960b47f2c69..07d54fef0dd 100644 --- a/msgraph/generated/models/teamwork_tag_member_collection_response.py +++ b/msgraph/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/generated/models/teamwork_user_identity.py b/msgraph/generated/models/teamwork_user_identity.py index b3cbff0cf00..d6d65223679 100644 --- a/msgraph/generated/models/teamwork_user_identity.py +++ b/msgraph/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/generated/models/telecom_expense_management_partner.py b/msgraph/generated/models/telecom_expense_management_partner.py index 1bbdda2a1e8..41f21a1eb29 100644 --- a/msgraph/generated/models/telecom_expense_management_partner.py +++ b/msgraph/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/generated/models/telecom_expense_management_partner_collection_response.py b/msgraph/generated/models/telecom_expense_management_partner_collection_response.py index 6849e884d32..f98526a141a 100644 --- a/msgraph/generated/models/telecom_expense_management_partner_collection_response.py +++ b/msgraph/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/generated/models/teleconference_device_audio_quality.py b/msgraph/generated/models/teleconference_device_audio_quality.py index 064c1b029a5..56925b5ea7e 100644 --- a/msgraph/generated/models/teleconference_device_audio_quality.py +++ b/msgraph/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/generated/models/teleconference_device_media_quality.py b/msgraph/generated/models/teleconference_device_media_quality.py index dee134e030d..734f2a3cf5d 100644 --- a/msgraph/generated/models/teleconference_device_media_quality.py +++ b/msgraph/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/generated/models/teleconference_device_quality.py b/msgraph/generated/models/teleconference_device_quality.py index 1eec487266e..9c914d751d5 100644 --- a/msgraph/generated/models/teleconference_device_quality.py +++ b/msgraph/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/generated/models/teleconference_device_screen_sharing_quality.py b/msgraph/generated/models/teleconference_device_screen_sharing_quality.py index 30db2cbc0bf..db0c32945bf 100644 --- a/msgraph/generated/models/teleconference_device_screen_sharing_quality.py +++ b/msgraph/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/generated/models/teleconference_device_video_quality.py b/msgraph/generated/models/teleconference_device_video_quality.py index 8924c5f2b9a..0b66a12308b 100644 --- a/msgraph/generated/models/teleconference_device_video_quality.py +++ b/msgraph/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/generated/models/temporary_access_pass_authentication_method.py b/msgraph/generated/models/temporary_access_pass_authentication_method.py index ed5d48bc500..89949627871 100644 --- a/msgraph/generated/models/temporary_access_pass_authentication_method.py +++ b/msgraph/generated/models/temporary_access_pass_authentication_method.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 .authentication_method import AuthenticationMethod + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_bool_value("isUsable", self.is_usable) writer.write_bool_value("isUsableOnce", self.is_usable_once) diff --git a/msgraph/generated/models/temporary_access_pass_authentication_method_collection_response.py b/msgraph/generated/models/temporary_access_pass_authentication_method_collection_response.py index 5c846bd03a0..68688fa9747 100644 --- a/msgraph/generated/models/temporary_access_pass_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/temporary_access_pass_authentication_method_configuration.py b/msgraph/generated/models/temporary_access_pass_authentication_method_configuration.py index b3f05fd2ae2..5190ce4f322 100644 --- a/msgraph/generated/models/temporary_access_pass_authentication_method_configuration.py +++ b/msgraph/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/generated/models/tenant_app_management_policy.py b/msgraph/generated/models/tenant_app_management_policy.py index 2c9d9330efa..7be074ccfe3 100644 --- a/msgraph/generated/models/tenant_app_management_policy.py +++ b/msgraph/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/generated/models/tenant_relationship.py b/msgraph/generated/models/tenant_relationship.py index 87a09964310..599470f09e7 100644 --- a/msgraph/generated/models/tenant_relationship.py +++ b/msgraph/generated/models/tenant_relationship.py @@ -65,6 +65,10 @@ 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 .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("multiTenantOrganization", self.multi_tenant_organization) diff --git a/msgraph/generated/models/term_column.py b/msgraph/generated/models/term_column.py index c679202df97..d3ceffa0e63 100644 --- a/msgraph/generated/models/term_column.py +++ b/msgraph/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/generated/models/term_store/group.py b/msgraph/generated/models/term_store/group.py index 2ec69608a7c..d08e3ccdd7d 100644 --- a/msgraph/generated/models/term_store/group.py +++ b/msgraph/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/generated/models/term_store/group_collection_response.py b/msgraph/generated/models/term_store/group_collection_response.py index 3839b3f68e2..de1c97a5507 100644 --- a/msgraph/generated/models/term_store/group_collection_response.py +++ b/msgraph/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/generated/models/term_store/relation.py b/msgraph/generated/models/term_store/relation.py index 69f90075e6f..9836afcaf56 100644 --- a/msgraph/generated/models/term_store/relation.py +++ b/msgraph/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/generated/models/term_store/relation_collection_response.py b/msgraph/generated/models/term_store/relation_collection_response.py index feb791c6f12..e0cb231f7e3 100644 --- a/msgraph/generated/models/term_store/relation_collection_response.py +++ b/msgraph/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/generated/models/term_store/set.py b/msgraph/generated/models/term_store/set.py index d04df547d80..8d6a2aca843 100644 --- a/msgraph/generated/models/term_store/set.py +++ b/msgraph/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/generated/models/term_store/set_collection_response.py b/msgraph/generated/models/term_store/set_collection_response.py index 8dbfacfe134..e0bd104d01e 100644 --- a/msgraph/generated/models/term_store/set_collection_response.py +++ b/msgraph/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/generated/models/term_store/store.py b/msgraph/generated/models/term_store/store.py index 3234aa44d81..32eea16600f 100644 --- a/msgraph/generated/models/term_store/store.py +++ b/msgraph/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/generated/models/term_store/store_collection_response.py b/msgraph/generated/models/term_store/store_collection_response.py index 61f0b085d61..4eafc6d5133 100644 --- a/msgraph/generated/models/term_store/store_collection_response.py +++ b/msgraph/generated/models/term_store/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 .store import Store + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/models/term_store/term.py b/msgraph/generated/models/term_store/term.py index bf7a97f901f..b559fe4aecf 100644 --- a/msgraph/generated/models/term_store/term.py +++ b/msgraph/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/generated/models/term_store/term_collection_response.py b/msgraph/generated/models/term_store/term_collection_response.py index 8fe615b685f..6842e154a58 100644 --- a/msgraph/generated/models/term_store/term_collection_response.py +++ b/msgraph/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/generated/models/terms_and_conditions.py b/msgraph/generated/models/terms_and_conditions.py index db5c47b428c..a7cf8da8d57 100644 --- a/msgraph/generated/models/terms_and_conditions.py +++ b/msgraph/generated/models/terms_and_conditions.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 .terms_and_conditions_acceptance_status import TermsAndConditionsAcceptanceStatus + from .terms_and_conditions_assignment import TermsAndConditionsAssignment + 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/generated/models/terms_and_conditions_acceptance_status.py b/msgraph/generated/models/terms_and_conditions_acceptance_status.py index e34a44a9e96..ca5d1e32c61 100644 --- a/msgraph/generated/models/terms_and_conditions_acceptance_status.py +++ b/msgraph/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/generated/models/terms_and_conditions_acceptance_status_collection_response.py b/msgraph/generated/models/terms_and_conditions_acceptance_status_collection_response.py index 5fac64f0311..38dc1d235e2 100644 --- a/msgraph/generated/models/terms_and_conditions_acceptance_status_collection_response.py +++ b/msgraph/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/generated/models/terms_and_conditions_assignment.py b/msgraph/generated/models/terms_and_conditions_assignment.py index 5d6db32ac9b..7e5cae00899 100644 --- a/msgraph/generated/models/terms_and_conditions_assignment.py +++ b/msgraph/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/generated/models/terms_and_conditions_assignment_collection_response.py b/msgraph/generated/models/terms_and_conditions_assignment_collection_response.py index 459ffd84ebf..f1467dfd020 100644 --- a/msgraph/generated/models/terms_and_conditions_assignment_collection_response.py +++ b/msgraph/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/generated/models/terms_and_conditions_collection_response.py b/msgraph/generated/models/terms_and_conditions_collection_response.py index 4db67dabde5..befbc1257f5 100644 --- a/msgraph/generated/models/terms_and_conditions_collection_response.py +++ b/msgraph/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/generated/models/terms_of_use_container.py b/msgraph/generated/models/terms_of_use_container.py index 309cd546ab3..b87787827ad 100644 --- a/msgraph/generated/models/terms_of_use_container.py +++ b/msgraph/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/generated/models/text_web_part.py b/msgraph/generated/models/text_web_part.py index 4bdc6cca115..3a44d0924f0 100644 --- a/msgraph/generated/models/text_web_part.py +++ b/msgraph/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/generated/models/threat_assessment_request.py b/msgraph/generated/models/threat_assessment_request.py index 98d13e0eb3d..d1e005c4870 100644 --- a/msgraph/generated/models/threat_assessment_request.py +++ b/msgraph/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/generated/models/threat_assessment_request_collection_response.py b/msgraph/generated/models/threat_assessment_request_collection_response.py index 86e7b3b7b27..f24a6c2ed2c 100644 --- a/msgraph/generated/models/threat_assessment_request_collection_response.py +++ b/msgraph/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/generated/models/threat_assessment_result.py b/msgraph/generated/models/threat_assessment_result.py index d47c1acb4b6..33653818400 100644 --- a/msgraph/generated/models/threat_assessment_result.py +++ b/msgraph/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/generated/models/threat_assessment_result_collection_response.py b/msgraph/generated/models/threat_assessment_result_collection_response.py index 93611a5d9f7..1e751f04f14 100644 --- a/msgraph/generated/models/threat_assessment_result_collection_response.py +++ b/msgraph/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/generated/models/thumbnail_set.py b/msgraph/generated/models/thumbnail_set.py index 1023ecaa2d3..82003491d77 100644 --- a/msgraph/generated/models/thumbnail_set.py +++ b/msgraph/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/generated/models/thumbnail_set_collection_response.py b/msgraph/generated/models/thumbnail_set_collection_response.py index 8190a1ecfd8..470ea5b19f2 100644 --- a/msgraph/generated/models/thumbnail_set_collection_response.py +++ b/msgraph/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/generated/models/time_constraint.py b/msgraph/generated/models/time_constraint.py index 21502bbb2ca..db8f0a83497 100644 --- a/msgraph/generated/models/time_constraint.py +++ b/msgraph/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/generated/models/time_off.py b/msgraph/generated/models/time_off.py index 2ae9d1efdfc..89855aa36e0 100644 --- a/msgraph/generated/models/time_off.py +++ b/msgraph/generated/models/time_off.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 .change_tracked_entity import ChangeTrackedEntity + from .time_off_item import TimeOffItem + writer.write_object_value("draftTimeOff", self.draft_time_off) writer.write_object_value("sharedTimeOff", self.shared_time_off) writer.write_str_value("userId", self.user_id) diff --git a/msgraph/generated/models/time_off_collection_response.py b/msgraph/generated/models/time_off_collection_response.py index c9d9d6be5b4..9e631106beb 100644 --- a/msgraph/generated/models/time_off_collection_response.py +++ b/msgraph/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/generated/models/time_off_item.py b/msgraph/generated/models/time_off_item.py index 30cae4a97d9..420fa4f9d5a 100644 --- a/msgraph/generated/models/time_off_item.py +++ b/msgraph/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/generated/models/time_off_reason.py b/msgraph/generated/models/time_off_reason.py index c3b8c4c0a1e..fc7b474ee65 100644 --- a/msgraph/generated/models/time_off_reason.py +++ b/msgraph/generated/models/time_off_reason.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 .change_tracked_entity import ChangeTrackedEntity + from .time_off_reason_icon_type import TimeOffReasonIconType + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("iconType", self.icon_type) writer.write_bool_value("isActive", self.is_active) diff --git a/msgraph/generated/models/time_off_reason_collection_response.py b/msgraph/generated/models/time_off_reason_collection_response.py index ba26e5eb80f..f9fca59ea69 100644 --- a/msgraph/generated/models/time_off_reason_collection_response.py +++ b/msgraph/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/generated/models/time_off_request.py b/msgraph/generated/models/time_off_request.py index f0222e9eb2c..38e49000339 100644 --- a/msgraph/generated/models/time_off_request.py +++ b/msgraph/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/generated/models/time_off_request_collection_response.py b/msgraph/generated/models/time_off_request_collection_response.py index d25eadc7e86..8683a4733fd 100644 --- a/msgraph/generated/models/time_off_request_collection_response.py +++ b/msgraph/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/generated/models/time_slot.py b/msgraph/generated/models/time_slot.py index 4127a6a2395..99002de916e 100644 --- a/msgraph/generated/models/time_slot.py +++ b/msgraph/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/generated/models/time_zone_base.py b/msgraph/generated/models/time_zone_base.py index ca75014a193..52a9a780b5c 100644 --- a/msgraph/generated/models/time_zone_base.py +++ b/msgraph/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/generated/models/title_area.py b/msgraph/generated/models/title_area.py index c7e28d967a8..186e172c559 100644 --- a/msgraph/generated/models/title_area.py +++ b/msgraph/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/generated/models/todo.py b/msgraph/generated/models/todo.py index 99e5f3e5712..0d51ace7a64 100644 --- a/msgraph/generated/models/todo.py +++ b/msgraph/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/generated/models/todo_task.py b/msgraph/generated/models/todo_task.py index 6570c527575..294c0f86875 100644 --- a/msgraph/generated/models/todo_task.py +++ b/msgraph/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/generated/models/todo_task_collection_response.py b/msgraph/generated/models/todo_task_collection_response.py index 35dd6c56877..83f62acfe7c 100644 --- a/msgraph/generated/models/todo_task_collection_response.py +++ b/msgraph/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/generated/models/todo_task_list.py b/msgraph/generated/models/todo_task_list.py index d0b05515964..043de7e1ce0 100644 --- a/msgraph/generated/models/todo_task_list.py +++ b/msgraph/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/generated/models/todo_task_list_collection_response.py b/msgraph/generated/models/todo_task_list_collection_response.py index 8e07850066e..7dc6c15e90c 100644 --- a/msgraph/generated/models/todo_task_list_collection_response.py +++ b/msgraph/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/generated/models/token_issuance_policy.py b/msgraph/generated/models/token_issuance_policy.py index 59c1d6c1d8e..0ac2eee0f74 100644 --- a/msgraph/generated/models/token_issuance_policy.py +++ b/msgraph/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/generated/models/token_issuance_policy_collection_response.py b/msgraph/generated/models/token_issuance_policy_collection_response.py index 108ad538707..59b826fa0a5 100644 --- a/msgraph/generated/models/token_issuance_policy_collection_response.py +++ b/msgraph/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/generated/models/token_lifetime_policy.py b/msgraph/generated/models/token_lifetime_policy.py index 094d46c285a..f6bc5acf44a 100644 --- a/msgraph/generated/models/token_lifetime_policy.py +++ b/msgraph/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/generated/models/token_lifetime_policy_collection_response.py b/msgraph/generated/models/token_lifetime_policy_collection_response.py index 9bf3140e539..f865fd49195 100644 --- a/msgraph/generated/models/token_lifetime_policy_collection_response.py +++ b/msgraph/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/generated/models/token_meeting_info.py b/msgraph/generated/models/token_meeting_info.py index 1b75ab4353b..4f842699334 100644 --- a/msgraph/generated/models/token_meeting_info.py +++ b/msgraph/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/generated/models/tone_info.py b/msgraph/generated/models/tone_info.py index e6469719f17..eb26505eff2 100644 --- a/msgraph/generated/models/tone_info.py +++ b/msgraph/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/generated/models/training.py b/msgraph/generated/models/training.py index f825ad30936..9bfaad3bc9b 100644 --- a/msgraph/generated/models/training.py +++ b/msgraph/generated/models/training.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 .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/generated/models/training_collection_response.py b/msgraph/generated/models/training_collection_response.py index be2972a5921..c3b32c310dd 100644 --- a/msgraph/generated/models/training_collection_response.py +++ b/msgraph/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/generated/models/training_events_content.py b/msgraph/generated/models/training_events_content.py index cbb90673477..9a3c545aa5e 100644 --- a/msgraph/generated/models/training_events_content.py +++ b/msgraph/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/generated/models/training_language_detail.py b/msgraph/generated/models/training_language_detail.py index b30264d9d98..a944abaf23c 100644 --- a/msgraph/generated/models/training_language_detail.py +++ b/msgraph/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/generated/models/training_language_detail_collection_response.py b/msgraph/generated/models/training_language_detail_collection_response.py index b1d4596cab7..393b4a0f53d 100644 --- a/msgraph/generated/models/training_language_detail_collection_response.py +++ b/msgraph/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/generated/models/training_notification_setting.py b/msgraph/generated/models/training_notification_setting.py index adac9c7de6a..0caa7cd0b2f 100644 --- a/msgraph/generated/models/training_notification_setting.py +++ b/msgraph/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/generated/models/training_reminder_notification.py b/msgraph/generated/models/training_reminder_notification.py index 161efe9dfc6..3500da3002d 100644 --- a/msgraph/generated/models/training_reminder_notification.py +++ b/msgraph/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/generated/models/training_setting.py b/msgraph/generated/models/training_setting.py index d782edddd20..d1564af5a3f 100644 --- a/msgraph/generated/models/training_setting.py +++ b/msgraph/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/generated/models/trending.py b/msgraph/generated/models/trending.py index d083e8907b2..c9c79a90149 100644 --- a/msgraph/generated/models/trending.py +++ b/msgraph/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/generated/models/trending_collection_response.py b/msgraph/generated/models/trending_collection_response.py index b7c97ed0368..43581081815 100644 --- a/msgraph/generated/models/trending_collection_response.py +++ b/msgraph/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/generated/models/unified_approval_stage.py b/msgraph/generated/models/unified_approval_stage.py index ca4800cb146..dbe365b3e6a 100644 --- a/msgraph/generated/models/unified_approval_stage.py +++ b/msgraph/generated/models/unified_approval_stage.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_set import SubjectSet + 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/generated/models/unified_rbac_resource_action.py b/msgraph/generated/models/unified_rbac_resource_action.py index 54b39201fe4..91cdf9477f5 100644 --- a/msgraph/generated/models/unified_rbac_resource_action.py +++ b/msgraph/generated/models/unified_rbac_resource_action.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("actionVerb", self.action_verb) writer.write_str_value("authenticationContextId", self.authentication_context_id) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/unified_rbac_resource_action_collection_response.py b/msgraph/generated/models/unified_rbac_resource_action_collection_response.py index b5502cb3908..c1fef8b5cb8 100644 --- a/msgraph/generated/models/unified_rbac_resource_action_collection_response.py +++ b/msgraph/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/generated/models/unified_rbac_resource_namespace.py b/msgraph/generated/models/unified_rbac_resource_namespace.py index e8561a087ce..a8528c6d23a 100644 --- a/msgraph/generated/models/unified_rbac_resource_namespace.py +++ b/msgraph/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/generated/models/unified_rbac_resource_namespace_collection_response.py b/msgraph/generated/models/unified_rbac_resource_namespace_collection_response.py index 3488ffce1ad..47dc31e027d 100644 --- a/msgraph/generated/models/unified_rbac_resource_namespace_collection_response.py +++ b/msgraph/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/generated/models/unified_role_assignment.py b/msgraph/generated/models/unified_role_assignment.py index 94021709320..8c3cad7ad9d 100644 --- a/msgraph/generated/models/unified_role_assignment.py +++ b/msgraph/generated/models/unified_role_assignment.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 .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/generated/models/unified_role_assignment_collection_response.py b/msgraph/generated/models/unified_role_assignment_collection_response.py index 638ac05fe95..95f1aab6240 100644 --- a/msgraph/generated/models/unified_role_assignment_collection_response.py +++ b/msgraph/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/generated/models/unified_role_assignment_schedule.py b/msgraph/generated/models/unified_role_assignment_schedule.py index 1ffb04c63fb..2b329e0b73b 100644 --- a/msgraph/generated/models/unified_role_assignment_schedule.py +++ b/msgraph/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/generated/models/unified_role_assignment_schedule_collection_response.py b/msgraph/generated/models/unified_role_assignment_schedule_collection_response.py index 335f2b1596f..0a34aed7230 100644 --- a/msgraph/generated/models/unified_role_assignment_schedule_collection_response.py +++ b/msgraph/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/generated/models/unified_role_assignment_schedule_instance.py b/msgraph/generated/models/unified_role_assignment_schedule_instance.py index d90f7b58864..07bbf2bf4aa 100644 --- a/msgraph/generated/models/unified_role_assignment_schedule_instance.py +++ b/msgraph/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/generated/models/unified_role_assignment_schedule_instance_collection_response.py b/msgraph/generated/models/unified_role_assignment_schedule_instance_collection_response.py index 47a67c43c61..85eb4feffa2 100644 --- a/msgraph/generated/models/unified_role_assignment_schedule_instance_collection_response.py +++ b/msgraph/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/generated/models/unified_role_assignment_schedule_request.py b/msgraph/generated/models/unified_role_assignment_schedule_request.py index 330e6e1ff98..9e41f3d1d65 100644 --- a/msgraph/generated/models/unified_role_assignment_schedule_request.py +++ b/msgraph/generated/models/unified_role_assignment_schedule_request.py @@ -120,6 +120,16 @@ 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 + from .unified_role_schedule_request_actions import UnifiedRoleScheduleRequestActions + writer.write_enum_value("action", self.action) writer.write_object_value("activatedUsing", self.activated_using) writer.write_object_value("appScope", self.app_scope) diff --git a/msgraph/generated/models/unified_role_assignment_schedule_request_collection_response.py b/msgraph/generated/models/unified_role_assignment_schedule_request_collection_response.py index 3286ab5b959..0eb73649bae 100644 --- a/msgraph/generated/models/unified_role_assignment_schedule_request_collection_response.py +++ b/msgraph/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/generated/models/unified_role_definition.py b/msgraph/generated/models/unified_role_definition.py index 93deff90b37..ca5fba00c99 100644 --- a/msgraph/generated/models/unified_role_definition.py +++ b/msgraph/generated/models/unified_role_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 .entity import Entity + from .unified_role_permission import UnifiedRolePermission + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("inheritsPermissionsFrom", self.inherits_permissions_from) diff --git a/msgraph/generated/models/unified_role_definition_collection_response.py b/msgraph/generated/models/unified_role_definition_collection_response.py index 8642395f0f8..9bf0c1a3220 100644 --- a/msgraph/generated/models/unified_role_definition_collection_response.py +++ b/msgraph/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/generated/models/unified_role_eligibility_schedule.py b/msgraph/generated/models/unified_role_eligibility_schedule.py index 6322eca144f..d83d55cc2e3 100644 --- a/msgraph/generated/models/unified_role_eligibility_schedule.py +++ b/msgraph/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/generated/models/unified_role_eligibility_schedule_collection_response.py b/msgraph/generated/models/unified_role_eligibility_schedule_collection_response.py index 5d8aacc23c6..a330fd11d19 100644 --- a/msgraph/generated/models/unified_role_eligibility_schedule_collection_response.py +++ b/msgraph/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/generated/models/unified_role_eligibility_schedule_instance.py b/msgraph/generated/models/unified_role_eligibility_schedule_instance.py index a1644466d4a..db8d9ecec88 100644 --- a/msgraph/generated/models/unified_role_eligibility_schedule_instance.py +++ b/msgraph/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/generated/models/unified_role_eligibility_schedule_instance_collection_response.py b/msgraph/generated/models/unified_role_eligibility_schedule_instance_collection_response.py index f3baec9dae9..a47a5a1cfde 100644 --- a/msgraph/generated/models/unified_role_eligibility_schedule_instance_collection_response.py +++ b/msgraph/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/generated/models/unified_role_eligibility_schedule_request.py b/msgraph/generated/models/unified_role_eligibility_schedule_request.py index 88c41f13a22..a357a195c5d 100644 --- a/msgraph/generated/models/unified_role_eligibility_schedule_request.py +++ b/msgraph/generated/models/unified_role_eligibility_schedule_request.py @@ -114,6 +114,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_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + from .unified_role_schedule_request_actions import UnifiedRoleScheduleRequestActions + writer.write_enum_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/generated/models/unified_role_eligibility_schedule_request_collection_response.py b/msgraph/generated/models/unified_role_eligibility_schedule_request_collection_response.py index 72f2c97d31b..d5b68e50659 100644 --- a/msgraph/generated/models/unified_role_eligibility_schedule_request_collection_response.py +++ b/msgraph/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/generated/models/unified_role_management_policy.py b/msgraph/generated/models/unified_role_management_policy.py index 21c4068375e..065c24b472d 100644 --- a/msgraph/generated/models/unified_role_management_policy.py +++ b/msgraph/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/generated/models/unified_role_management_policy_approval_rule.py b/msgraph/generated/models/unified_role_management_policy_approval_rule.py index 4a09b863d6c..2c447d1d489 100644 --- a/msgraph/generated/models/unified_role_management_policy_approval_rule.py +++ b/msgraph/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/generated/models/unified_role_management_policy_assignment.py b/msgraph/generated/models/unified_role_management_policy_assignment.py index 5728bcf0c83..a5b871f6e6e 100644 --- a/msgraph/generated/models/unified_role_management_policy_assignment.py +++ b/msgraph/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/generated/models/unified_role_management_policy_assignment_collection_response.py b/msgraph/generated/models/unified_role_management_policy_assignment_collection_response.py index a4b63c6afca..fac7c393888 100644 --- a/msgraph/generated/models/unified_role_management_policy_assignment_collection_response.py +++ b/msgraph/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/generated/models/unified_role_management_policy_authentication_context_rule.py b/msgraph/generated/models/unified_role_management_policy_authentication_context_rule.py index b46b50dd6a8..f7f63ff4b7c 100644 --- a/msgraph/generated/models/unified_role_management_policy_authentication_context_rule.py +++ b/msgraph/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/generated/models/unified_role_management_policy_collection_response.py b/msgraph/generated/models/unified_role_management_policy_collection_response.py index 988737f3402..0a9376fd754 100644 --- a/msgraph/generated/models/unified_role_management_policy_collection_response.py +++ b/msgraph/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/generated/models/unified_role_management_policy_enablement_rule.py b/msgraph/generated/models/unified_role_management_policy_enablement_rule.py index d54e645328d..bf93d0ce7e1 100644 --- a/msgraph/generated/models/unified_role_management_policy_enablement_rule.py +++ b/msgraph/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/generated/models/unified_role_management_policy_expiration_rule.py b/msgraph/generated/models/unified_role_management_policy_expiration_rule.py index e2cce260c6e..7829fea36d9 100644 --- a/msgraph/generated/models/unified_role_management_policy_expiration_rule.py +++ b/msgraph/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/generated/models/unified_role_management_policy_notification_rule.py b/msgraph/generated/models/unified_role_management_policy_notification_rule.py index 319ffe42dd8..19fd9674f92 100644 --- a/msgraph/generated/models/unified_role_management_policy_notification_rule.py +++ b/msgraph/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/generated/models/unified_role_management_policy_rule.py b/msgraph/generated/models/unified_role_management_policy_rule.py index 456c819b967..5ef25874e2c 100644 --- a/msgraph/generated/models/unified_role_management_policy_rule.py +++ b/msgraph/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/generated/models/unified_role_management_policy_rule_collection_response.py b/msgraph/generated/models/unified_role_management_policy_rule_collection_response.py index 43bf89a0650..49327940ce7 100644 --- a/msgraph/generated/models/unified_role_management_policy_rule_collection_response.py +++ b/msgraph/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/generated/models/unified_role_management_policy_rule_target.py b/msgraph/generated/models/unified_role_management_policy_rule_target.py index 7f5996711c0..4b05db6e277 100644 --- a/msgraph/generated/models/unified_role_management_policy_rule_target.py +++ b/msgraph/generated/models/unified_role_management_policy_rule_target.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .directory_object import DirectoryObject + from .unified_role_management_policy_rule_target_operations import UnifiedRoleManagementPolicyRuleTargetOperations + 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/generated/models/unified_role_schedule_base.py b/msgraph/generated/models/unified_role_schedule_base.py index dfdbeb20c0a..056ffbf0389 100644 --- a/msgraph/generated/models/unified_role_schedule_base.py +++ b/msgraph/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/generated/models/unified_role_schedule_instance_base.py b/msgraph/generated/models/unified_role_schedule_instance_base.py index b3f6849e07a..30e98cd9c72 100644 --- a/msgraph/generated/models/unified_role_schedule_instance_base.py +++ b/msgraph/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/generated/models/unified_storage_quota.py b/msgraph/generated/models/unified_storage_quota.py index fc474844f18..d825ebd3ba2 100644 --- a/msgraph/generated/models/unified_storage_quota.py +++ b/msgraph/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/generated/models/unmute_participant_operation.py b/msgraph/generated/models/unmute_participant_operation.py index d705d224d93..8fa44734c1a 100644 --- a/msgraph/generated/models/unmute_participant_operation.py +++ b/msgraph/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/generated/models/update_allowed_combinations_result.py b/msgraph/generated/models/update_allowed_combinations_result.py index 7903c571f7f..f5871768e0e 100644 --- a/msgraph/generated/models/update_allowed_combinations_result.py +++ b/msgraph/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/generated/models/update_recording_status_operation.py b/msgraph/generated/models/update_recording_status_operation.py index cd5fc41ba7b..ec6fb8c13b0 100644 --- a/msgraph/generated/models/update_recording_status_operation.py +++ b/msgraph/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/generated/models/update_windows_device_account_action_parameter.py b/msgraph/generated/models/update_windows_device_account_action_parameter.py index 4c940c47829..3c27bc0bbe4 100644 --- a/msgraph/generated/models/update_windows_device_account_action_parameter.py +++ b/msgraph/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/generated/models/url_assessment_request.py b/msgraph/generated/models/url_assessment_request.py index 4f4285fb257..1b851add016 100644 --- a/msgraph/generated/models/url_assessment_request.py +++ b/msgraph/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/generated/models/used_insight.py b/msgraph/generated/models/used_insight.py index ef7d04e9621..d6361a4aef4 100644 --- a/msgraph/generated/models/used_insight.py +++ b/msgraph/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/generated/models/used_insight_collection_response.py b/msgraph/generated/models/used_insight_collection_response.py index 37fa451bcc3..5634c5ab582 100644 --- a/msgraph/generated/models/used_insight_collection_response.py +++ b/msgraph/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/generated/models/user.py b/msgraph/generated/models/user.py index 0792d294adf..65da0fcdf02 100644 --- a/msgraph/generated/models/user.py +++ b/msgraph/generated/models/user.py @@ -598,6 +598,61 @@ 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 .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 .contact import Contact + from .contact_folder import ContactFolder + from .custom_security_attribute_value import CustomSecurityAttributeValue + 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 .inference_classification import InferenceClassification + 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_registration import ManagedAppRegistration + from .managed_device import ManagedDevice + from .message import Message + 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 .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_photo import ProfilePhoto + from .provisioned_plan import ProvisionedPlan + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .scoped_role_membership import ScopedRoleMembership + 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 .user_activity import UserActivity + from .user_print import UserPrint + from .user_settings import UserSettings + from .user_solution_root import UserSolutionRoot + from .user_teamwork import UserTeamwork + 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) diff --git a/msgraph/generated/models/user_activity.py b/msgraph/generated/models/user_activity.py index a357252551b..d2aa5f0d595 100644 --- a/msgraph/generated/models/user_activity.py +++ b/msgraph/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/generated/models/user_activity_collection_response.py b/msgraph/generated/models/user_activity_collection_response.py index afbf54b652d..2b059b14cfb 100644 --- a/msgraph/generated/models/user_activity_collection_response.py +++ b/msgraph/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/generated/models/user_collection_response.py b/msgraph/generated/models/user_collection_response.py index 2c7ed7b6a6b..3102b80aa0f 100644 --- a/msgraph/generated/models/user_collection_response.py +++ b/msgraph/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/generated/models/user_consent_request.py b/msgraph/generated/models/user_consent_request.py index 96d98d9d2ba..da0fd14826d 100644 --- a/msgraph/generated/models/user_consent_request.py +++ b/msgraph/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/generated/models/user_consent_request_collection_response.py b/msgraph/generated/models/user_consent_request_collection_response.py index b3048ac459a..d108ebd859b 100644 --- a/msgraph/generated/models/user_consent_request_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py b/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py index 84b9f4d397a..99515808067 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py index 3054de80497..2ed5f3178dd 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py b/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py index 2fd9fd8b1c4..28fb8912842 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py index f5aeb660339..04305cd2236 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py b/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py index bb20c66347e..ada94a90ff7 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py index 6b9e9bb6d56..b68b4b6490c 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_application_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_application_performance.py index 65eb1f08278..6f821f3d950 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py index 236a58d4d63..aefff7f5fd8 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_device_model_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance.py index 95d1edb1fc1..3a651e382c0 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py index 2b3ba393f50..39ebe0143bc 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_device_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_device_performance.py index 4342a88597d..de07d7e0b09 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py index 38f5f581ad5..763a65c7bb7 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_device_performance_details.py b/msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py index 2f0ac5169e6..77e07d9b93c 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py index 04eab8da15f..6dd8bdf971f 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_o_s_version_performance.py b/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance.py index 3f159c3e08a..d2d89dacff1 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py index af9d1c88ccb..9d798c64512 100644 --- a/msgraph/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_baseline.py b/msgraph/generated/models/user_experience_analytics_baseline.py index 2958e7559a9..3580db5023b 100644 --- a/msgraph/generated/models/user_experience_analytics_baseline.py +++ b/msgraph/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/generated/models/user_experience_analytics_baseline_collection_response.py b/msgraph/generated/models/user_experience_analytics_baseline_collection_response.py index cca9639ded6..e292eca4c26 100644 --- a/msgraph/generated/models/user_experience_analytics_baseline_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_category.py b/msgraph/generated/models/user_experience_analytics_category.py index ed9d47f69f1..3f7f6064588 100644 --- a/msgraph/generated/models/user_experience_analytics_category.py +++ b/msgraph/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/generated/models/user_experience_analytics_category_collection_response.py b/msgraph/generated/models/user_experience_analytics_category_collection_response.py index 53b24390c15..f5ec1207764 100644 --- a/msgraph/generated/models/user_experience_analytics_category_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_performance.py b/msgraph/generated/models/user_experience_analytics_device_performance.py index 86dd2c979fd..d9a9f7e8ede 100644 --- a/msgraph/generated/models/user_experience_analytics_device_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_device_performance_collection_response.py index 2b8f3649a37..5887fa5e336 100644 --- a/msgraph/generated/models/user_experience_analytics_device_performance_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_scores.py b/msgraph/generated/models/user_experience_analytics_device_scores.py index 9984a716711..7196ec25c69 100644 --- a/msgraph/generated/models/user_experience_analytics_device_scores.py +++ b/msgraph/generated/models/user_experience_analytics_device_scores.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("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/generated/models/user_experience_analytics_device_scores_collection_response.py b/msgraph/generated/models/user_experience_analytics_device_scores_collection_response.py index 20246225d04..1280e3711bb 100644 --- a/msgraph/generated/models/user_experience_analytics_device_scores_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_startup_history.py b/msgraph/generated/models/user_experience_analytics_device_startup_history.py index f98852c7a38..b5080c9f0a7 100644 --- a/msgraph/generated/models/user_experience_analytics_device_startup_history.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_startup_history_collection_response.py b/msgraph/generated/models/user_experience_analytics_device_startup_history_collection_response.py index 1bbbef2f1fb..5747f75678f 100644 --- a/msgraph/generated/models/user_experience_analytics_device_startup_history_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_startup_process.py b/msgraph/generated/models/user_experience_analytics_device_startup_process.py index 2f82e16650d..9a6c72c03a0 100644 --- a/msgraph/generated/models/user_experience_analytics_device_startup_process.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_startup_process_collection_response.py b/msgraph/generated/models/user_experience_analytics_device_startup_process_collection_response.py index 555f6a8cc43..5e3ec91cf9a 100644 --- a/msgraph/generated/models/user_experience_analytics_device_startup_process_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_startup_process_performance.py b/msgraph/generated/models/user_experience_analytics_device_startup_process_performance.py index bf38f79d6fa..bd5e990adbc 100644 --- a/msgraph/generated/models/user_experience_analytics_device_startup_process_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py index d57ac0f03a7..b62986d51af 100644 --- a/msgraph/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_insight.py b/msgraph/generated/models/user_experience_analytics_insight.py index 52a7e6dd92c..b13a6a50a53 100644 --- a/msgraph/generated/models/user_experience_analytics_insight.py +++ b/msgraph/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/generated/models/user_experience_analytics_insight_value.py b/msgraph/generated/models/user_experience_analytics_insight_value.py index fd562484fdf..74c6a6b9cbc 100644 --- a/msgraph/generated/models/user_experience_analytics_insight_value.py +++ b/msgraph/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/generated/models/user_experience_analytics_metric.py b/msgraph/generated/models/user_experience_analytics_metric.py index b9edba4b4cc..373b4567f61 100644 --- a/msgraph/generated/models/user_experience_analytics_metric.py +++ b/msgraph/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/generated/models/user_experience_analytics_metric_collection_response.py b/msgraph/generated/models/user_experience_analytics_metric_collection_response.py index bd1a51dc335..8ba7c1fd508 100644 --- a/msgraph/generated/models/user_experience_analytics_metric_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_metric_history.py b/msgraph/generated/models/user_experience_analytics_metric_history.py index eaa57265226..82715f53bfe 100644 --- a/msgraph/generated/models/user_experience_analytics_metric_history.py +++ b/msgraph/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/generated/models/user_experience_analytics_metric_history_collection_response.py b/msgraph/generated/models/user_experience_analytics_metric_history_collection_response.py index 6e795dde9da..c20d4d5b3d9 100644 --- a/msgraph/generated/models/user_experience_analytics_metric_history_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_model_scores.py b/msgraph/generated/models/user_experience_analytics_model_scores.py index 0055666203d..29ec0f8061b 100644 --- a/msgraph/generated/models/user_experience_analytics_model_scores.py +++ b/msgraph/generated/models/user_experience_analytics_model_scores.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("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/generated/models/user_experience_analytics_model_scores_collection_response.py b/msgraph/generated/models/user_experience_analytics_model_scores_collection_response.py index a9c8eb0909e..e913dfc7419 100644 --- a/msgraph/generated/models/user_experience_analytics_model_scores_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_overview.py b/msgraph/generated/models/user_experience_analytics_overview.py index 15a62afcd2d..b3a68dfa4d8 100644 --- a/msgraph/generated/models/user_experience_analytics_overview.py +++ b/msgraph/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/generated/models/user_experience_analytics_score_history.py b/msgraph/generated/models/user_experience_analytics_score_history.py index 682c2fe1622..31cfa750361 100644 --- a/msgraph/generated/models/user_experience_analytics_score_history.py +++ b/msgraph/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/generated/models/user_experience_analytics_score_history_collection_response.py b/msgraph/generated/models/user_experience_analytics_score_history_collection_response.py index 9fde555f14a..59b4fb117ff 100644 --- a/msgraph/generated/models/user_experience_analytics_score_history_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_device.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device.py index 4c5532b5d7a..2f27cf29e9c 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py index 7f1d41631d3..a58552f174c 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py index 3c7a0475aa4..11e706d614e 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py index 17a25e1c758..fe973c544e7 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_metric.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_metric.py index 8e6d8abd630..7d0771a0c6d 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_metric.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py index 085550a3d92..e1ffa5fd9f3 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py index e26761187a6..177faf7c03e 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py +++ b/msgraph/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/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py b/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py index 2a694c2d1e1..f3c1a1cbdf8 100644 --- a/msgraph/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py +++ b/msgraph/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/generated/models/user_flow_api_connector_configuration.py b/msgraph/generated/models/user_flow_api_connector_configuration.py index a86fb2e274f..6b8e6f76d10 100644 --- a/msgraph/generated/models/user_flow_api_connector_configuration.py +++ b/msgraph/generated/models/user_flow_api_connector_configuration.py @@ -56,6 +56,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/generated/models/user_flow_language_configuration.py b/msgraph/generated/models/user_flow_language_configuration.py index 7cd883bd28a..bad42e1f9b3 100644 --- a/msgraph/generated/models/user_flow_language_configuration.py +++ b/msgraph/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/generated/models/user_flow_language_configuration_collection_response.py b/msgraph/generated/models/user_flow_language_configuration_collection_response.py index 81a50f0173a..b53c7cf6a56 100644 --- a/msgraph/generated/models/user_flow_language_configuration_collection_response.py +++ b/msgraph/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/generated/models/user_flow_language_page.py b/msgraph/generated/models/user_flow_language_page.py index 9ce045d6791..32b1258a80b 100644 --- a/msgraph/generated/models/user_flow_language_page.py +++ b/msgraph/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/generated/models/user_flow_language_page_collection_response.py b/msgraph/generated/models/user_flow_language_page_collection_response.py index 136d1658070..2ffe295cc4a 100644 --- a/msgraph/generated/models/user_flow_language_page_collection_response.py +++ b/msgraph/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/generated/models/user_identity.py b/msgraph/generated/models/user_identity.py index 74e095e54ee..b25cb9310ea 100644 --- a/msgraph/generated/models/user_identity.py +++ b/msgraph/generated/models/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 .identity import Identity + writer.write_str_value("ipAddress", self.ip_address) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph/generated/models/user_insights_settings.py b/msgraph/generated/models/user_insights_settings.py index 5da65cbc725..1818db44fe4 100644 --- a/msgraph/generated/models/user_insights_settings.py +++ b/msgraph/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/generated/models/user_install_state_summary.py b/msgraph/generated/models/user_install_state_summary.py index c2c401f0553..67b44fc4080 100644 --- a/msgraph/generated/models/user_install_state_summary.py +++ b/msgraph/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/generated/models/user_install_state_summary_collection_response.py b/msgraph/generated/models/user_install_state_summary_collection_response.py index cbad7603953..0d9088bca52 100644 --- a/msgraph/generated/models/user_install_state_summary_collection_response.py +++ b/msgraph/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/generated/models/user_last_sign_in_recommendation_insight_setting.py b/msgraph/generated/models/user_last_sign_in_recommendation_insight_setting.py index 7d44174024f..8a7a51bf411 100644 --- a/msgraph/generated/models/user_last_sign_in_recommendation_insight_setting.py +++ b/msgraph/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/generated/models/user_print.py b/msgraph/generated/models/user_print.py index 564a5dcce5d..97d400b765f 100644 --- a/msgraph/generated/models/user_print.py +++ b/msgraph/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/generated/models/user_registration_details.py b/msgraph/generated/models/user_registration_details.py index 759637d648d..85b2de8ac97 100644 --- a/msgraph/generated/models/user_registration_details.py +++ b/msgraph/generated/models/user_registration_details.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 .entity import Entity + from .sign_in_user_type import SignInUserType + from .user_default_authentication_method import UserDefaultAuthenticationMethod + writer.write_bool_value("isAdmin", self.is_admin) writer.write_bool_value("isMfaCapable", self.is_mfa_capable) writer.write_bool_value("isMfaRegistered", self.is_mfa_registered) diff --git a/msgraph/generated/models/user_registration_details_collection_response.py b/msgraph/generated/models/user_registration_details_collection_response.py index acd3ed69b80..5ff59196914 100644 --- a/msgraph/generated/models/user_registration_details_collection_response.py +++ b/msgraph/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/generated/models/user_registration_feature_count.py b/msgraph/generated/models/user_registration_feature_count.py index 214e6e404c1..0ce4f56c531 100644 --- a/msgraph/generated/models/user_registration_feature_count.py +++ b/msgraph/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/generated/models/user_registration_feature_summary.py b/msgraph/generated/models/user_registration_feature_summary.py index 2bd1d91a42b..1bf05650bce 100644 --- a/msgraph/generated/models/user_registration_feature_summary.py +++ b/msgraph/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/generated/models/user_registration_method_summary.py b/msgraph/generated/models/user_registration_method_summary.py index efd505406c9..1f23526b255 100644 --- a/msgraph/generated/models/user_registration_method_summary.py +++ b/msgraph/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/generated/models/user_scope_teams_app_installation.py b/msgraph/generated/models/user_scope_teams_app_installation.py index f68df591725..9e85352124b 100644 --- a/msgraph/generated/models/user_scope_teams_app_installation.py +++ b/msgraph/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/generated/models/user_scope_teams_app_installation_collection_response.py b/msgraph/generated/models/user_scope_teams_app_installation_collection_response.py index a8e0a0c6a69..bf391a18f27 100644 --- a/msgraph/generated/models/user_scope_teams_app_installation_collection_response.py +++ b/msgraph/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/generated/models/user_security_state.py b/msgraph/generated/models/user_security_state.py index ffb70fcfa02..5c286fa003f 100644 --- a/msgraph/generated/models/user_security_state.py +++ b/msgraph/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/generated/models/user_settings.py b/msgraph/generated/models/user_settings.py index 6a916069572..0a790532411 100644 --- a/msgraph/generated/models/user_settings.py +++ b/msgraph/generated/models/user_settings.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 .entity import Entity + from .shift_preferences import ShiftPreferences + from .user_insights_settings import UserInsightsSettings + from .user_storage import UserStorage + from .windows_setting import WindowsSetting + writer.write_bool_value("contributionToContentDiscoveryAsOrganizationDisabled", self.contribution_to_content_discovery_as_organization_disabled) writer.write_bool_value("contributionToContentDiscoveryDisabled", self.contribution_to_content_discovery_disabled) writer.write_object_value("itemInsights", self.item_insights) diff --git a/msgraph/generated/models/user_sign_in_insight.py b/msgraph/generated/models/user_sign_in_insight.py index 94ee3ca638b..6ec481b46cc 100644 --- a/msgraph/generated/models/user_sign_in_insight.py +++ b/msgraph/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/generated/models/user_simulation_details.py b/msgraph/generated/models/user_simulation_details.py index d1dbdc6ffe9..8f7fcf9076a 100644 --- a/msgraph/generated/models/user_simulation_details.py +++ b/msgraph/generated/models/user_simulation_details.py @@ -84,6 +84,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/generated/models/user_simulation_event_info.py b/msgraph/generated/models/user_simulation_event_info.py index cf22b693ca1..68f454734de 100644 --- a/msgraph/generated/models/user_simulation_event_info.py +++ b/msgraph/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/generated/models/user_solution_root.py b/msgraph/generated/models/user_solution_root.py index 7b7bcf7fc2a..4e6c5566912 100644 --- a/msgraph/generated/models/user_solution_root.py +++ b/msgraph/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/generated/models/user_storage.py b/msgraph/generated/models/user_storage.py index 146e3e38fd7..e4dc0033248 100644 --- a/msgraph/generated/models/user_storage.py +++ b/msgraph/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/generated/models/user_teamwork.py b/msgraph/generated/models/user_teamwork.py index 7c81b8031d6..46422b354cf 100644 --- a/msgraph/generated/models/user_teamwork.py +++ b/msgraph/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/generated/models/user_training_event_info.py b/msgraph/generated/models/user_training_event_info.py index 47db309c9fc..0341c78bae4 100644 --- a/msgraph/generated/models/user_training_event_info.py +++ b/msgraph/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/generated/models/user_training_status_info.py b/msgraph/generated/models/user_training_status_info.py index f3b3d95ab5f..7412d3ac9b9 100644 --- a/msgraph/generated/models/user_training_status_info.py +++ b/msgraph/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/generated/models/vertical_section.py b/msgraph/generated/models/vertical_section.py index cb38e47f5a7..7b433c1a3c3 100644 --- a/msgraph/generated/models/vertical_section.py +++ b/msgraph/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/generated/models/virtual_endpoint.py b/msgraph/generated/models/virtual_endpoint.py index 936680bc05e..47d3986e49c 100644 --- a/msgraph/generated/models/virtual_endpoint.py +++ b/msgraph/generated/models/virtual_endpoint.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 .cloud_pc_audit_event import CloudPcAuditEvent + from .cloud_pc_device_image import CloudPcDeviceImage + from .cloud_pc_gallery_image import CloudPcGalleryImage + from .cloud_pc_on_premises_connection import CloudPcOnPremisesConnection + from .cloud_pc_provisioning_policy import CloudPcProvisioningPolicy + 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("cloudPCs", self.cloud_p_cs) writer.write_collection_of_object_values("deviceImages", self.device_images) diff --git a/msgraph/generated/models/virtual_event.py b/msgraph/generated/models/virtual_event.py index 41c495ec6f2..5931a861e66 100644 --- a/msgraph/generated/models/virtual_event.py +++ b/msgraph/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/generated/models/virtual_event_collection_response.py b/msgraph/generated/models/virtual_event_collection_response.py index 9f32be5b3ae..9d778359b63 100644 --- a/msgraph/generated/models/virtual_event_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_presenter.py b/msgraph/generated/models/virtual_event_presenter.py index 606cc9d4907..a394257b5de 100644 --- a/msgraph/generated/models/virtual_event_presenter.py +++ b/msgraph/generated/models/virtual_event_presenter.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 .identity import Identity + from .virtual_event_presenter_details import VirtualEventPresenterDetails + 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/generated/models/virtual_event_presenter_collection_response.py b/msgraph/generated/models/virtual_event_presenter_collection_response.py index 58fe942db32..f165740181d 100644 --- a/msgraph/generated/models/virtual_event_presenter_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_presenter_details.py b/msgraph/generated/models/virtual_event_presenter_details.py index 35baf4859c3..d2ae3037ead 100644 --- a/msgraph/generated/models/virtual_event_presenter_details.py +++ b/msgraph/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/generated/models/virtual_event_presenter_info.py b/msgraph/generated/models/virtual_event_presenter_info.py index fb979d2f0a0..4790fe428de 100644 --- a/msgraph/generated/models/virtual_event_presenter_info.py +++ b/msgraph/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/generated/models/virtual_event_registration.py b/msgraph/generated/models/virtual_event_registration.py index 73dec3252f0..4bd139dffd4 100644 --- a/msgraph/generated/models/virtual_event_registration.py +++ b/msgraph/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/generated/models/virtual_event_registration_collection_response.py b/msgraph/generated/models/virtual_event_registration_collection_response.py index 136bb9b0c54..64d6215d903 100644 --- a/msgraph/generated/models/virtual_event_registration_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_registration_configuration.py b/msgraph/generated/models/virtual_event_registration_configuration.py index 72ae774388c..89d1dd4f9b8 100644 --- a/msgraph/generated/models/virtual_event_registration_configuration.py +++ b/msgraph/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/generated/models/virtual_event_registration_custom_question.py b/msgraph/generated/models/virtual_event_registration_custom_question.py index 7a4deb9f6cc..ef852907fb0 100644 --- a/msgraph/generated/models/virtual_event_registration_custom_question.py +++ b/msgraph/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/generated/models/virtual_event_registration_predefined_question.py b/msgraph/generated/models/virtual_event_registration_predefined_question.py index 3b32f52b994..913dd0eed05 100644 --- a/msgraph/generated/models/virtual_event_registration_predefined_question.py +++ b/msgraph/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/generated/models/virtual_event_registration_question_base.py b/msgraph/generated/models/virtual_event_registration_question_base.py index a5c4c72c8ec..dd3a15f6c4f 100644 --- a/msgraph/generated/models/virtual_event_registration_question_base.py +++ b/msgraph/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/generated/models/virtual_event_registration_question_base_collection_response.py b/msgraph/generated/models/virtual_event_registration_question_base_collection_response.py index 842b937f93a..19d7f7ab643 100644 --- a/msgraph/generated/models/virtual_event_registration_question_base_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_session.py b/msgraph/generated/models/virtual_event_session.py index acd74964004..2b53cf1507b 100644 --- a/msgraph/generated/models/virtual_event_session.py +++ b/msgraph/generated/models/virtual_event_session.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 .date_time_time_zone import DateTimeTimeZone + from .online_meeting_base import OnlineMeetingBase + writer.write_object_value("endDateTime", self.end_date_time) writer.write_object_value("startDateTime", self.start_date_time) diff --git a/msgraph/generated/models/virtual_event_session_collection_response.py b/msgraph/generated/models/virtual_event_session_collection_response.py index 199937121ac..183ff3e650b 100644 --- a/msgraph/generated/models/virtual_event_session_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_townhall.py b/msgraph/generated/models/virtual_event_townhall.py index 6b6d5d7fb40..9d192d826cd 100644 --- a/msgraph/generated/models/virtual_event_townhall.py +++ b/msgraph/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/generated/models/virtual_event_townhall_collection_response.py b/msgraph/generated/models/virtual_event_townhall_collection_response.py index 4c7c5bda61e..8c4709ac7cc 100644 --- a/msgraph/generated/models/virtual_event_townhall_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_webinar.py b/msgraph/generated/models/virtual_event_webinar.py index 3a04dee90cf..6df81a89562 100644 --- a/msgraph/generated/models/virtual_event_webinar.py +++ b/msgraph/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/generated/models/virtual_event_webinar_collection_response.py b/msgraph/generated/models/virtual_event_webinar_collection_response.py index 1d652f95ea8..c38002455f4 100644 --- a/msgraph/generated/models/virtual_event_webinar_collection_response.py +++ b/msgraph/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/generated/models/virtual_event_webinar_registration_configuration.py b/msgraph/generated/models/virtual_event_webinar_registration_configuration.py index a648194ed8e..b881889aa36 100644 --- a/msgraph/generated/models/virtual_event_webinar_registration_configuration.py +++ b/msgraph/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/generated/models/virtual_events_root.py b/msgraph/generated/models/virtual_events_root.py index 9f8bcab7dc8..636e9df64ea 100644 --- a/msgraph/generated/models/virtual_events_root.py +++ b/msgraph/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/generated/models/visual_info.py b/msgraph/generated/models/visual_info.py index ac7e6c5099e..35a6a0453b3 100644 --- a/msgraph/generated/models/visual_info.py +++ b/msgraph/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/generated/models/voice_authentication_method_configuration.py b/msgraph/generated/models/voice_authentication_method_configuration.py index d442f35c760..731489a9bb1 100644 --- a/msgraph/generated/models/voice_authentication_method_configuration.py +++ b/msgraph/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 .authentication_method_target import AuthenticationMethodTarget + writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_bool_value("isOfficePhoneAllowed", self.is_office_phone_allowed) diff --git a/msgraph/generated/models/vpp_token.py b/msgraph/generated/models/vpp_token.py index c9655144e2a..64ad39ea673 100644 --- a/msgraph/generated/models/vpp_token.py +++ b/msgraph/generated/models/vpp_token.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 .vpp_token_account_type import VppTokenAccountType + 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_str_value("countryOrRegion", self.country_or_region) diff --git a/msgraph/generated/models/vpp_token_collection_response.py b/msgraph/generated/models/vpp_token_collection_response.py index 519689bccc6..d5dfe5a337b 100644 --- a/msgraph/generated/models/vpp_token_collection_response.py +++ b/msgraph/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/generated/models/web_app.py b/msgraph/generated/models/web_app.py index 98e26c4c82d..6430fed858b 100644 --- a/msgraph/generated/models/web_app.py +++ b/msgraph/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/generated/models/web_application.py b/msgraph/generated/models/web_application.py index 1682c5a1ddc..ca47bce3cea 100644 --- a/msgraph/generated/models/web_application.py +++ b/msgraph/generated/models/web_application.py @@ -68,6 +68,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/generated/models/web_part.py b/msgraph/generated/models/web_part.py index a1d4655dbbb..b08611e099c 100644 --- a/msgraph/generated/models/web_part.py +++ b/msgraph/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/generated/models/web_part_collection_response.py b/msgraph/generated/models/web_part_collection_response.py index 6f651a00414..51682418c34 100644 --- a/msgraph/generated/models/web_part_collection_response.py +++ b/msgraph/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/generated/models/web_part_data.py b/msgraph/generated/models/web_part_data.py index 3a6d2a91895..fb1af0733f2 100644 --- a/msgraph/generated/models/web_part_data.py +++ b/msgraph/generated/models/web_part_data.py @@ -62,6 +62,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_str_value("dataVersion", self.data_version) writer.write_str_value("description", self.description) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph/generated/models/website.py b/msgraph/generated/models/website.py index f987b2734e1..69174c57d57 100644 --- a/msgraph/generated/models/website.py +++ b/msgraph/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/generated/models/win32_lob_app.py b/msgraph/generated/models/win32_lob_app.py index 17bb930f271..66717896fd7 100644 --- a/msgraph/generated/models/win32_lob_app.py +++ b/msgraph/generated/models/win32_lob_app.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 .mobile_lob_app import MobileLobApp + from .win32_lob_app_install_experience import Win32LobAppInstallExperience + from .win32_lob_app_msi_information import Win32LobAppMsiInformation + from .win32_lob_app_return_code import Win32LobAppReturnCode + from .win32_lob_app_rule import Win32LobAppRule + from .windows_architecture import WindowsArchitecture + writer.write_enum_value("applicableArchitectures", self.applicable_architectures) writer.write_str_value("installCommandLine", self.install_command_line) writer.write_object_value("installExperience", self.install_experience) diff --git a/msgraph/generated/models/win32_lob_app_assignment_settings.py b/msgraph/generated/models/win32_lob_app_assignment_settings.py index f1a0134a644..1e4ec2f5cd9 100644 --- a/msgraph/generated/models/win32_lob_app_assignment_settings.py +++ b/msgraph/generated/models/win32_lob_app_assignment_settings.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .mobile_app_assignment_settings import MobileAppAssignmentSettings from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + 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 @@ -19,6 +20,8 @@ class Win32LobAppAssignmentSettings(MobileAppAssignmentSettings): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.win32LobAppAssignmentSettings" + # The auto-update settings to apply for this app assignment. + auto_update_settings: Optional[Win32LobAppAutoUpdateSettings] = None # Contains value for delivery optimization priority. delivery_optimization_priority: Optional[Win32LobAppDeliveryOptimizationPriority] = None # The install time settings to apply for this app assignment. @@ -46,17 +49,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .mobile_app_assignment_settings import MobileAppAssignmentSettings from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + 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 from .mobile_app_assignment_settings import MobileAppAssignmentSettings from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + 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 fields: Dict[str, Callable[[Any], None]] = { + "autoUpdateSettings": lambda n : setattr(self, 'auto_update_settings', n.get_object_value(Win32LobAppAutoUpdateSettings)), "deliveryOptimizationPriority": lambda n : setattr(self, 'delivery_optimization_priority', n.get_enum_value(Win32LobAppDeliveryOptimizationPriority)), "installTimeSettings": lambda n : setattr(self, 'install_time_settings', n.get_object_value(MobileAppInstallTimeSettings)), "notifications": lambda n : setattr(self, 'notifications', n.get_enum_value(Win32LobAppNotification)), @@ -75,6 +81,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_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) writer.write_enum_value("notifications", self.notifications) diff --git a/msgraph/generated/models/win32_lob_app_auto_update_settings.py b/msgraph/generated/models/win32_lob_app_auto_update_settings.py new file mode 100644 index 00000000000..923fee58cf7 --- /dev/null +++ b/msgraph/generated/models/win32_lob_app_auto_update_settings.py @@ -0,0 +1,65 @@ +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 .win32_lob_auto_update_superseded_apps_state import Win32LobAutoUpdateSupersededAppsState + +@dataclass +class Win32LobAppAutoUpdateSettings(AdditionalDataHolder, BackedModel, Parsable): + """ + Contains properties used to perform the auto-update of an application. + """ + # 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) + # Contains value for auto-update superseded apps. + auto_update_superseded_apps_state: Optional[Win32LobAutoUpdateSupersededAppsState] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Win32LobAppAutoUpdateSettings: + """ + 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: Win32LobAppAutoUpdateSettings + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return Win32LobAppAutoUpdateSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .win32_lob_auto_update_superseded_apps_state import Win32LobAutoUpdateSupersededAppsState + + from .win32_lob_auto_update_superseded_apps_state import Win32LobAutoUpdateSupersededAppsState + + fields: Dict[str, Callable[[Any], None]] = { + "autoUpdateSupersededAppsState": lambda n : setattr(self, 'auto_update_superseded_apps_state', n.get_enum_value(Win32LobAutoUpdateSupersededAppsState)), + "@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 .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/generated/models/win32_lob_app_collection_response.py b/msgraph/generated/models/win32_lob_app_collection_response.py index a346a5881da..5bb3316cec6 100644 --- a/msgraph/generated/models/win32_lob_app_collection_response.py +++ b/msgraph/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/generated/models/win32_lob_app_file_system_rule.py b/msgraph/generated/models/win32_lob_app_file_system_rule.py index 9be903a0fa3..edffef4aa53 100644 --- a/msgraph/generated/models/win32_lob_app_file_system_rule.py +++ b/msgraph/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/generated/models/win32_lob_app_install_experience.py b/msgraph/generated/models/win32_lob_app_install_experience.py index 0edd6d0fbcf..97e56943435 100644 --- a/msgraph/generated/models/win32_lob_app_install_experience.py +++ b/msgraph/generated/models/win32_lob_app_install_experience.py @@ -62,6 +62,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_str_value("@odata.type", self.odata_type) writer.write_enum_value("runAsAccount", self.run_as_account) diff --git a/msgraph/generated/models/win32_lob_app_msi_information.py b/msgraph/generated/models/win32_lob_app_msi_information.py index cbd8c6e09bc..04e1a42c863 100644 --- a/msgraph/generated/models/win32_lob_app_msi_information.py +++ b/msgraph/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/generated/models/win32_lob_app_power_shell_script_rule.py b/msgraph/generated/models/win32_lob_app_power_shell_script_rule.py index ea2a97330ef..4d9a93282ad 100644 --- a/msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +++ b/msgraph/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/generated/models/win32_lob_app_product_code_rule.py b/msgraph/generated/models/win32_lob_app_product_code_rule.py index ef61d654a19..d8a38c02d9d 100644 --- a/msgraph/generated/models/win32_lob_app_product_code_rule.py +++ b/msgraph/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/generated/models/win32_lob_app_registry_rule.py b/msgraph/generated/models/win32_lob_app_registry_rule.py index 1816a203acf..243053bfa27 100644 --- a/msgraph/generated/models/win32_lob_app_registry_rule.py +++ b/msgraph/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/generated/models/win32_lob_app_return_code.py b/msgraph/generated/models/win32_lob_app_return_code.py index 45660460514..c309240d7dc 100644 --- a/msgraph/generated/models/win32_lob_app_return_code.py +++ b/msgraph/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/generated/models/win32_lob_app_rule.py b/msgraph/generated/models/win32_lob_app_rule.py index d9614d1efd6..70b62a2abcc 100644 --- a/msgraph/generated/models/win32_lob_app_rule.py +++ b/msgraph/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/generated/models/win32_lob_auto_update_superseded_apps_state.py b/msgraph/generated/models/win32_lob_auto_update_superseded_apps_state.py new file mode 100644 index 00000000000..045e744da94 --- /dev/null +++ b/msgraph/generated/models/win32_lob_auto_update_superseded_apps_state.py @@ -0,0 +1,10 @@ +from enum import Enum + +class Win32LobAutoUpdateSupersededAppsState(str, Enum): + # Indicates that the auto-update superseded apps state is not configured and the app will not auto-update the superseded apps. + NotConfigured = "notConfigured", + # Indicates that the auto-update superseded apps state is enabled and the app will auto-update the superseded apps if the superseded apps are installed on the device. + Enabled = "enabled", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/windows10_compliance_policy.py b/msgraph/generated/models/windows10_compliance_policy.py index ff4f33bb84d..d50a540ced1 100644 --- a/msgraph/generated/models/windows10_compliance_policy.py +++ b/msgraph/generated/models/windows10_compliance_policy.py @@ -111,6 +111,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_bool_value("bitLockerEnabled", self.bit_locker_enabled) writer.write_bool_value("codeIntegrityEnabled", self.code_integrity_enabled) writer.write_bool_value("earlyLaunchAntiMalwareDriverEnabled", self.early_launch_anti_malware_driver_enabled) diff --git a/msgraph/generated/models/windows10_custom_configuration.py b/msgraph/generated/models/windows10_custom_configuration.py index ce51fcbdd1a..5895bbcec7e 100644 --- a/msgraph/generated/models/windows10_custom_configuration.py +++ b/msgraph/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/generated/models/windows10_endpoint_protection_configuration.py b/msgraph/generated/models/windows10_endpoint_protection_configuration.py index f2c2bc45411..bbea98a8d76 100644 --- a/msgraph/generated/models/windows10_endpoint_protection_configuration.py +++ b/msgraph/generated/models/windows10_endpoint_protection_configuration.py @@ -183,6 +183,16 @@ 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 .app_locker_application_control_type import AppLockerApplicationControlType + from .bit_locker_removable_drive_policy import BitLockerRemovableDrivePolicy + from .device_configuration import DeviceConfiguration + 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 .windows_firewall_network_profile import WindowsFirewallNetworkProfile + writer.write_enum_value("appLockerApplicationControl", self.app_locker_application_control) writer.write_bool_value("applicationGuardAllowPersistence", self.application_guard_allow_persistence) writer.write_bool_value("applicationGuardAllowPrintToLocalPrinters", self.application_guard_allow_print_to_local_printers) diff --git a/msgraph/generated/models/windows10_enrollment_completion_page_configuration.py b/msgraph/generated/models/windows10_enrollment_completion_page_configuration.py index fe9c52cae3b..7f9d32d1627 100644 --- a/msgraph/generated/models/windows10_enrollment_completion_page_configuration.py +++ b/msgraph/generated/models/windows10_enrollment_completion_page_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_bool_value("allowNonBlockingAppInstallation", self.allow_non_blocking_app_installation) diff --git a/msgraph/generated/models/windows10_enterprise_modern_app_management_configuration.py b/msgraph/generated/models/windows10_enterprise_modern_app_management_configuration.py index c18d4971cb5..dc3fedb10e5 100644 --- a/msgraph/generated/models/windows10_enterprise_modern_app_management_configuration.py +++ b/msgraph/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/generated/models/windows10_general_configuration.py b/msgraph/generated/models/windows10_general_configuration.py index 86e05337df1..844fb9ba21d 100644 --- a/msgraph/generated/models/windows10_general_configuration.py +++ b/msgraph/generated/models/windows10_general_configuration.py @@ -706,6 +706,25 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .defender_cloud_block_level_type import DefenderCloudBlockLevelType + from .defender_detected_malware_actions import DefenderDetectedMalwareActions + from .defender_monitor_file_activity import DefenderMonitorFileActivity + from .defender_prompt_for_sample_submission import DefenderPromptForSampleSubmission + from .defender_scan_type import DefenderScanType + from .device_configuration import DeviceConfiguration + from .diagnostic_data_submission_mode import DiagnosticDataSubmissionMode + from .edge_cookie_policy import EdgeCookiePolicy + from .edge_search_engine_base import EdgeSearchEngineBase + from .required_password_type import RequiredPasswordType + from .safe_search_filter_type import SafeSearchFilterType + from .state_management_setting import StateManagementSetting + from .visibility_setting import VisibilitySetting + from .weekly_schedule import WeeklySchedule + from .windows10_network_proxy_server import Windows10NetworkProxyServer + 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_bool_value("antiTheftModeBlocked", self.anti_theft_mode_blocked) writer.write_enum_value("appsAllowTrustedAppsSideloading", self.apps_allow_trusted_apps_sideloading) diff --git a/msgraph/generated/models/windows10_mobile_compliance_policy.py b/msgraph/generated/models/windows10_mobile_compliance_policy.py index f6b37e09622..668ba260cd9 100644 --- a/msgraph/generated/models/windows10_mobile_compliance_policy.py +++ b/msgraph/generated/models/windows10_mobile_compliance_policy.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 .device_compliance_policy import DeviceCompliancePolicy + from .required_password_type import RequiredPasswordType + writer.write_bool_value("bitLockerEnabled", self.bit_locker_enabled) writer.write_bool_value("codeIntegrityEnabled", self.code_integrity_enabled) writer.write_bool_value("earlyLaunchAntiMalwareDriverEnabled", self.early_launch_anti_malware_driver_enabled) diff --git a/msgraph/generated/models/windows10_secure_assessment_configuration.py b/msgraph/generated/models/windows10_secure_assessment_configuration.py index 651289c3689..4d5a3d8043e 100644 --- a/msgraph/generated/models/windows10_secure_assessment_configuration.py +++ b/msgraph/generated/models/windows10_secure_assessment_configuration.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 .device_configuration import DeviceConfiguration + 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/generated/models/windows10_team_general_configuration.py b/msgraph/generated/models/windows10_team_general_configuration.py index dd75c789476..13b25cf08cc 100644 --- a/msgraph/generated/models/windows10_team_general_configuration.py +++ b/msgraph/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/generated/models/windows81_compliance_policy.py b/msgraph/generated/models/windows81_compliance_policy.py index 02f0d18af7b..bc8abee07b5 100644 --- a/msgraph/generated/models/windows81_compliance_policy.py +++ b/msgraph/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/generated/models/windows81_general_configuration.py b/msgraph/generated/models/windows81_general_configuration.py index a8104372fc9..2ceab387863 100644 --- a/msgraph/generated/models/windows81_general_configuration.py +++ b/msgraph/generated/models/windows81_general_configuration.py @@ -162,6 +162,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 .internet_site_security_level import InternetSiteSecurityLevel + from .required_password_type import RequiredPasswordType + from .site_security_level import SiteSecurityLevel + 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/generated/models/windows_app_x.py b/msgraph/generated/models/windows_app_x.py index b16b064cfe4..10b1ef3022f 100644 --- a/msgraph/generated/models/windows_app_x.py +++ b/msgraph/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/generated/models/windows_app_x_app_assignment_settings.py b/msgraph/generated/models/windows_app_x_app_assignment_settings.py index a94ed4d322e..0a6c5685331 100644 --- a/msgraph/generated/models/windows_app_x_app_assignment_settings.py +++ b/msgraph/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/generated/models/windows_app_x_collection_response.py b/msgraph/generated/models/windows_app_x_collection_response.py index 562ac5c60f3..1b129afd87b 100644 --- a/msgraph/generated/models/windows_app_x_collection_response.py +++ b/msgraph/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/generated/models/windows_autopilot_deployment_profile.py b/msgraph/generated/models/windows_autopilot_deployment_profile.py index 2b10d162eec..bd678ef7867 100644 --- a/msgraph/generated/models/windows_autopilot_deployment_profile.py +++ b/msgraph/generated/models/windows_autopilot_deployment_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 .entity import Entity + from .out_of_box_experience_setting import OutOfBoxExperienceSetting + from .windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + from .windows_autopilot_device_type import WindowsAutopilotDeviceType + writer.write_collection_of_object_values("assignedDevices", self.assigned_devices) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/windows_autopilot_deployment_profile_assignment.py b/msgraph/generated/models/windows_autopilot_deployment_profile_assignment.py index fdb35253b3a..8b498a90025 100644 --- a/msgraph/generated/models/windows_autopilot_deployment_profile_assignment.py +++ b/msgraph/generated/models/windows_autopilot_deployment_profile_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 .entity import Entity + diff --git a/msgraph/generated/models/windows_autopilot_device_identity.py b/msgraph/generated/models/windows_autopilot_device_identity.py index 42d83d1bd30..5011a6f6d50 100644 --- a/msgraph/generated/models/windows_autopilot_device_identity.py +++ b/msgraph/generated/models/windows_autopilot_device_identity.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 .enrollment_state import EnrollmentState + from .entity import Entity + writer.write_str_value("addressableUserName", self.addressable_user_name) writer.write_str_value("azureActiveDirectoryDeviceId", self.azure_active_directory_device_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/windows_autopilot_device_identity_collection_response.py b/msgraph/generated/models/windows_autopilot_device_identity_collection_response.py index 721e347b6b3..d1a6c98c000 100644 --- a/msgraph/generated/models/windows_autopilot_device_identity_collection_response.py +++ b/msgraph/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/generated/models/windows_defender_advanced_threat_protection_configuration.py b/msgraph/generated/models/windows_defender_advanced_threat_protection_configuration.py index a4d9ad65092..c71ac15bd20 100644 --- a/msgraph/generated/models/windows_defender_advanced_threat_protection_configuration.py +++ b/msgraph/generated/models/windows_defender_advanced_threat_protection_configuration.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_bool_value("allowSampleSharing", self.allow_sample_sharing) writer.write_bool_value("enableExpeditedTelemetryReporting", self.enable_expedited_telemetry_reporting) diff --git a/msgraph/generated/models/windows_defender_scan_action_result.py b/msgraph/generated/models/windows_defender_scan_action_result.py index 848729fde99..3f239a716c2 100644 --- a/msgraph/generated/models/windows_defender_scan_action_result.py +++ b/msgraph/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/generated/models/windows_device_a_d_account.py b/msgraph/generated/models/windows_device_a_d_account.py index ffcaeb6ba71..68f36c657ac 100644 --- a/msgraph/generated/models/windows_device_a_d_account.py +++ b/msgraph/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/generated/models/windows_device_account.py b/msgraph/generated/models/windows_device_account.py index e88e7d1f545..23c8e8a16c5 100644 --- a/msgraph/generated/models/windows_device_account.py +++ b/msgraph/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/generated/models/windows_device_azure_a_d_account.py b/msgraph/generated/models/windows_device_azure_a_d_account.py index b4dbd8e2e82..442b9ac0805 100644 --- a/msgraph/generated/models/windows_device_azure_a_d_account.py +++ b/msgraph/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/generated/models/windows_device_malware_state.py b/msgraph/generated/models/windows_device_malware_state.py index e604e403368..5e07d1f359a 100644 --- a/msgraph/generated/models/windows_device_malware_state.py +++ b/msgraph/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/generated/models/windows_device_malware_state_collection_response.py b/msgraph/generated/models/windows_device_malware_state_collection_response.py index c5f3814886e..9db7a781361 100644 --- a/msgraph/generated/models/windows_device_malware_state_collection_response.py +++ b/msgraph/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/generated/models/windows_firewall_network_profile.py b/msgraph/generated/models/windows_firewall_network_profile.py index 02648a5a763..e38e6d3f9fe 100644 --- a/msgraph/generated/models/windows_firewall_network_profile.py +++ b/msgraph/generated/models/windows_firewall_network_profile.py @@ -89,6 +89,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("connectionSecurityRulesFromGroupPolicyMerged", self.connection_security_rules_from_group_policy_merged) writer.write_enum_value("firewallEnabled", self.firewall_enabled) diff --git a/msgraph/generated/models/windows_hello_for_business_authentication_method.py b/msgraph/generated/models/windows_hello_for_business_authentication_method.py index 2b92542533a..08884f15422 100644 --- a/msgraph/generated/models/windows_hello_for_business_authentication_method.py +++ b/msgraph/generated/models/windows_hello_for_business_authentication_method.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 .authentication_method import AuthenticationMethod + from .authentication_method_key_strength import AuthenticationMethodKeyStrength + from .device import Device + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("device", self.device) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph/generated/models/windows_hello_for_business_authentication_method_collection_response.py b/msgraph/generated/models/windows_hello_for_business_authentication_method_collection_response.py index 7f526c89b0c..a087be4f16d 100644 --- a/msgraph/generated/models/windows_hello_for_business_authentication_method_collection_response.py +++ b/msgraph/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/generated/models/windows_information_protection.py b/msgraph/generated/models/windows_information_protection.py index 6d70b7f9314..ac9c6181a04 100644 --- a/msgraph/generated/models/windows_information_protection.py +++ b/msgraph/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/generated/models/windows_information_protection_app.py b/msgraph/generated/models/windows_information_protection_app.py index 6635b3f4929..54f35bb2968 100644 --- a/msgraph/generated/models/windows_information_protection_app.py +++ b/msgraph/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/generated/models/windows_information_protection_app_learning_summary.py b/msgraph/generated/models/windows_information_protection_app_learning_summary.py index 82afd6ab6b5..4de497b7298 100644 --- a/msgraph/generated/models/windows_information_protection_app_learning_summary.py +++ b/msgraph/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/generated/models/windows_information_protection_app_learning_summary_collection_response.py b/msgraph/generated/models/windows_information_protection_app_learning_summary_collection_response.py index b225f441a57..12e166ae1ef 100644 --- a/msgraph/generated/models/windows_information_protection_app_learning_summary_collection_response.py +++ b/msgraph/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/generated/models/windows_information_protection_app_locker_file.py b/msgraph/generated/models/windows_information_protection_app_locker_file.py index e011ef81c32..d714bc21b70 100644 --- a/msgraph/generated/models/windows_information_protection_app_locker_file.py +++ b/msgraph/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/generated/models/windows_information_protection_app_locker_file_collection_response.py b/msgraph/generated/models/windows_information_protection_app_locker_file_collection_response.py index 0cc728a7690..b99d37042d5 100644 --- a/msgraph/generated/models/windows_information_protection_app_locker_file_collection_response.py +++ b/msgraph/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/generated/models/windows_information_protection_desktop_app.py b/msgraph/generated/models/windows_information_protection_desktop_app.py index 5fae075b051..d7a15cc23e4 100644 --- a/msgraph/generated/models/windows_information_protection_desktop_app.py +++ b/msgraph/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/generated/models/windows_information_protection_i_p_range_collection.py b/msgraph/generated/models/windows_information_protection_i_p_range_collection.py index f6d0f4c3db3..762ea2968a6 100644 --- a/msgraph/generated/models/windows_information_protection_i_p_range_collection.py +++ b/msgraph/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/generated/models/windows_information_protection_network_learning_summary.py b/msgraph/generated/models/windows_information_protection_network_learning_summary.py index f864007b221..7254532e8ed 100644 --- a/msgraph/generated/models/windows_information_protection_network_learning_summary.py +++ b/msgraph/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/generated/models/windows_information_protection_network_learning_summary_collection_response.py b/msgraph/generated/models/windows_information_protection_network_learning_summary_collection_response.py index 6b5d0a556ce..91e18af65f3 100644 --- a/msgraph/generated/models/windows_information_protection_network_learning_summary_collection_response.py +++ b/msgraph/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/generated/models/windows_information_protection_policy.py b/msgraph/generated/models/windows_information_protection_policy.py index f07c9403bc8..23acee0fc6d 100644 --- a/msgraph/generated/models/windows_information_protection_policy.py +++ b/msgraph/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/generated/models/windows_information_protection_policy_collection_response.py b/msgraph/generated/models/windows_information_protection_policy_collection_response.py index cfc864b0c70..4e274f082e3 100644 --- a/msgraph/generated/models/windows_information_protection_policy_collection_response.py +++ b/msgraph/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/generated/models/windows_information_protection_proxied_domain_collection.py b/msgraph/generated/models/windows_information_protection_proxied_domain_collection.py index d2c1248271e..24648b9b469 100644 --- a/msgraph/generated/models/windows_information_protection_proxied_domain_collection.py +++ b/msgraph/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/generated/models/windows_information_protection_store_app.py b/msgraph/generated/models/windows_information_protection_store_app.py index 1e75cea7f2f..14144241cf1 100644 --- a/msgraph/generated/models/windows_information_protection_store_app.py +++ b/msgraph/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/generated/models/windows_malware_category_count.py b/msgraph/generated/models/windows_malware_category_count.py index 1d7903cc805..621be2e4d1d 100644 --- a/msgraph/generated/models/windows_malware_category_count.py +++ b/msgraph/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/generated/models/windows_malware_execution_state_count.py b/msgraph/generated/models/windows_malware_execution_state_count.py index 98710e246b7..baca1f97ce1 100644 --- a/msgraph/generated/models/windows_malware_execution_state_count.py +++ b/msgraph/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/generated/models/windows_malware_information.py b/msgraph/generated/models/windows_malware_information.py index 1c69c1c2f10..731652fb206 100644 --- a/msgraph/generated/models/windows_malware_information.py +++ b/msgraph/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/generated/models/windows_malware_information_collection_response.py b/msgraph/generated/models/windows_malware_information_collection_response.py index 3e346d3128c..160ffe5aac1 100644 --- a/msgraph/generated/models/windows_malware_information_collection_response.py +++ b/msgraph/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/generated/models/windows_malware_overview.py b/msgraph/generated/models/windows_malware_overview.py index 1420d0c5290..dd19ce4cd03 100644 --- a/msgraph/generated/models/windows_malware_overview.py +++ b/msgraph/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/generated/models/windows_malware_severity_count.py b/msgraph/generated/models/windows_malware_severity_count.py index ac9688b26d6..ec531c394d4 100644 --- a/msgraph/generated/models/windows_malware_severity_count.py +++ b/msgraph/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/generated/models/windows_malware_state_count.py b/msgraph/generated/models/windows_malware_state_count.py index 0606032e0ce..f5ba72bde31 100644 --- a/msgraph/generated/models/windows_malware_state_count.py +++ b/msgraph/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/generated/models/windows_microsoft_edge_app.py b/msgraph/generated/models/windows_microsoft_edge_app.py index 3700ec98350..326157ba28b 100644 --- a/msgraph/generated/models/windows_microsoft_edge_app.py +++ b/msgraph/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/generated/models/windows_mobile_m_s_i.py b/msgraph/generated/models/windows_mobile_m_s_i.py index 7f1e0d6aa14..b927f29167c 100644 --- a/msgraph/generated/models/windows_mobile_m_s_i.py +++ b/msgraph/generated/models/windows_mobile_m_s_i.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_lob_app import MobileLobApp + writer.write_str_value("commandLine", self.command_line) writer.write_bool_value("ignoreVersionDetection", self.ignore_version_detection) writer.write_str_value("productCode", self.product_code) diff --git a/msgraph/generated/models/windows_mobile_m_s_i_collection_response.py b/msgraph/generated/models/windows_mobile_m_s_i_collection_response.py index 810b469a203..e3013bb33d3 100644 --- a/msgraph/generated/models/windows_mobile_m_s_i_collection_response.py +++ b/msgraph/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/generated/models/windows_phone81_compliance_policy.py b/msgraph/generated/models/windows_phone81_compliance_policy.py index 810f5c71117..5c7d304820a 100644 --- a/msgraph/generated/models/windows_phone81_compliance_policy.py +++ b/msgraph/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/generated/models/windows_phone81_custom_configuration.py b/msgraph/generated/models/windows_phone81_custom_configuration.py index 0ddb62317f0..0c739304976 100644 --- a/msgraph/generated/models/windows_phone81_custom_configuration.py +++ b/msgraph/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/generated/models/windows_phone81_general_configuration.py b/msgraph/generated/models/windows_phone81_general_configuration.py index 59780511964..c8f8b8b7114 100644 --- a/msgraph/generated/models/windows_phone81_general_configuration.py +++ b/msgraph/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/generated/models/windows_protection_state.py b/msgraph/generated/models/windows_protection_state.py index 50b963386e5..6ae15b89523 100644 --- a/msgraph/generated/models/windows_protection_state.py +++ b/msgraph/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/generated/models/windows_setting.py b/msgraph/generated/models/windows_setting.py index 7a90597730a..508dd183d20 100644 --- a/msgraph/generated/models/windows_setting.py +++ b/msgraph/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/generated/models/windows_setting_collection_response.py b/msgraph/generated/models/windows_setting_collection_response.py index dae4a0421d6..e13bdeb4b6c 100644 --- a/msgraph/generated/models/windows_setting_collection_response.py +++ b/msgraph/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/generated/models/windows_setting_instance.py b/msgraph/generated/models/windows_setting_instance.py index 9aa00bd9346..de94344cf00 100644 --- a/msgraph/generated/models/windows_setting_instance.py +++ b/msgraph/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/generated/models/windows_setting_instance_collection_response.py b/msgraph/generated/models/windows_setting_instance_collection_response.py index becadf674e8..c6fc7b63f73 100644 --- a/msgraph/generated/models/windows_setting_instance_collection_response.py +++ b/msgraph/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/generated/models/windows_universal_app_x.py b/msgraph/generated/models/windows_universal_app_x.py index 57919a48d5b..226d39d7eb0 100644 --- a/msgraph/generated/models/windows_universal_app_x.py +++ b/msgraph/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/generated/models/windows_universal_app_x_app_assignment_settings.py b/msgraph/generated/models/windows_universal_app_x_app_assignment_settings.py index 0c1441c4230..8ed0bd81a6b 100644 --- a/msgraph/generated/models/windows_universal_app_x_app_assignment_settings.py +++ b/msgraph/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/generated/models/windows_universal_app_x_collection_response.py b/msgraph/generated/models/windows_universal_app_x_collection_response.py index 561be8530b0..cfa9853d1b5 100644 --- a/msgraph/generated/models/windows_universal_app_x_collection_response.py +++ b/msgraph/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/generated/models/windows_universal_app_x_contained_app.py b/msgraph/generated/models/windows_universal_app_x_contained_app.py index 78875874693..f5192803c34 100644 --- a/msgraph/generated/models/windows_universal_app_x_contained_app.py +++ b/msgraph/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/generated/models/windows_update_active_hours_install.py b/msgraph/generated/models/windows_update_active_hours_install.py index a9a9abc03b2..6f7d33a620a 100644 --- a/msgraph/generated/models/windows_update_active_hours_install.py +++ b/msgraph/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/generated/models/windows_update_for_business_configuration.py b/msgraph/generated/models/windows_update_for_business_configuration.py index 6d1c40bf7dd..0ef5b1da730 100644 --- a/msgraph/generated/models/windows_update_for_business_configuration.py +++ b/msgraph/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/generated/models/windows_update_install_schedule_type.py b/msgraph/generated/models/windows_update_install_schedule_type.py index 07b58dd44af..2a347f34175 100644 --- a/msgraph/generated/models/windows_update_install_schedule_type.py +++ b/msgraph/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/generated/models/windows_update_scheduled_install.py b/msgraph/generated/models/windows_update_scheduled_install.py index a134aa05e30..5d2d16869b6 100644 --- a/msgraph/generated/models/windows_update_scheduled_install.py +++ b/msgraph/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/generated/models/windows_web_app.py b/msgraph/generated/models/windows_web_app.py index 0d6a3a4b1cc..bfc93f38a08 100644 --- a/msgraph/generated/models/windows_web_app.py +++ b/msgraph/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/generated/models/windows_web_app_collection_response.py b/msgraph/generated/models/windows_web_app_collection_response.py index a14a4164133..94c744be8c4 100644 --- a/msgraph/generated/models/windows_web_app_collection_response.py +++ b/msgraph/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/generated/models/workbook.py b/msgraph/generated/models/workbook.py index 23eb3b47a0a..40531cea2b3 100644 --- a/msgraph/generated/models/workbook.py +++ b/msgraph/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/generated/models/workbook_application.py b/msgraph/generated/models/workbook_application.py index 1d30c2a5498..98861c70d13 100644 --- a/msgraph/generated/models/workbook_application.py +++ b/msgraph/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/generated/models/workbook_chart.py b/msgraph/generated/models/workbook_chart.py index 236ce98e4fc..9c33a65b4d0 100644 --- a/msgraph/generated/models/workbook_chart.py +++ b/msgraph/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/generated/models/workbook_chart_area_format.py b/msgraph/generated/models/workbook_chart_area_format.py index 7dcc575470e..27796df5506 100644 --- a/msgraph/generated/models/workbook_chart_area_format.py +++ b/msgraph/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/generated/models/workbook_chart_axes.py b/msgraph/generated/models/workbook_chart_axes.py index 85fd97e189c..d7e5ccbc50f 100644 --- a/msgraph/generated/models/workbook_chart_axes.py +++ b/msgraph/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/generated/models/workbook_chart_axis.py b/msgraph/generated/models/workbook_chart_axis.py index c336f71ec36..5c6cdaa7ee1 100644 --- a/msgraph/generated/models/workbook_chart_axis.py +++ b/msgraph/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/generated/models/workbook_chart_axis_format.py b/msgraph/generated/models/workbook_chart_axis_format.py index ae65b1f513e..f1e45c65203 100644 --- a/msgraph/generated/models/workbook_chart_axis_format.py +++ b/msgraph/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/generated/models/workbook_chart_axis_title.py b/msgraph/generated/models/workbook_chart_axis_title.py index 0ba6d6d0473..9e544f53872 100644 --- a/msgraph/generated/models/workbook_chart_axis_title.py +++ b/msgraph/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/generated/models/workbook_chart_axis_title_format.py b/msgraph/generated/models/workbook_chart_axis_title_format.py index 1a536f9ca1f..4128f399f11 100644 --- a/msgraph/generated/models/workbook_chart_axis_title_format.py +++ b/msgraph/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/generated/models/workbook_chart_collection_response.py b/msgraph/generated/models/workbook_chart_collection_response.py index 44de9d29ccb..c8c4ccdcfe1 100644 --- a/msgraph/generated/models/workbook_chart_collection_response.py +++ b/msgraph/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/generated/models/workbook_chart_data_label_format.py b/msgraph/generated/models/workbook_chart_data_label_format.py index 3a656d414eb..ac75f6e7ca0 100644 --- a/msgraph/generated/models/workbook_chart_data_label_format.py +++ b/msgraph/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/generated/models/workbook_chart_data_labels.py b/msgraph/generated/models/workbook_chart_data_labels.py index a91365b7279..3a363933ccf 100644 --- a/msgraph/generated/models/workbook_chart_data_labels.py +++ b/msgraph/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/generated/models/workbook_chart_fill.py b/msgraph/generated/models/workbook_chart_fill.py index 9259146fb26..7578c65d8a9 100644 --- a/msgraph/generated/models/workbook_chart_fill.py +++ b/msgraph/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/generated/models/workbook_chart_font.py b/msgraph/generated/models/workbook_chart_font.py index b541270e961..d346f5fa16a 100644 --- a/msgraph/generated/models/workbook_chart_font.py +++ b/msgraph/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/generated/models/workbook_chart_gridlines.py b/msgraph/generated/models/workbook_chart_gridlines.py index d175f9ead32..fbb79532ec6 100644 --- a/msgraph/generated/models/workbook_chart_gridlines.py +++ b/msgraph/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/generated/models/workbook_chart_gridlines_format.py b/msgraph/generated/models/workbook_chart_gridlines_format.py index a856ae26491..60ca6a7abaf 100644 --- a/msgraph/generated/models/workbook_chart_gridlines_format.py +++ b/msgraph/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/generated/models/workbook_chart_legend.py b/msgraph/generated/models/workbook_chart_legend.py index 9362552ffc3..5d2a203f918 100644 --- a/msgraph/generated/models/workbook_chart_legend.py +++ b/msgraph/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/generated/models/workbook_chart_legend_format.py b/msgraph/generated/models/workbook_chart_legend_format.py index a31df929559..591215124a7 100644 --- a/msgraph/generated/models/workbook_chart_legend_format.py +++ b/msgraph/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/generated/models/workbook_chart_line_format.py b/msgraph/generated/models/workbook_chart_line_format.py index af197ae9928..c4fced8a1f7 100644 --- a/msgraph/generated/models/workbook_chart_line_format.py +++ b/msgraph/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/generated/models/workbook_chart_point.py b/msgraph/generated/models/workbook_chart_point.py index 161e9c94952..b135e9c36d4 100644 --- a/msgraph/generated/models/workbook_chart_point.py +++ b/msgraph/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/generated/models/workbook_chart_point_collection_response.py b/msgraph/generated/models/workbook_chart_point_collection_response.py index 207fd06b15a..795c2564985 100644 --- a/msgraph/generated/models/workbook_chart_point_collection_response.py +++ b/msgraph/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/generated/models/workbook_chart_point_format.py b/msgraph/generated/models/workbook_chart_point_format.py index 0e52fc21f1d..863335dc9e6 100644 --- a/msgraph/generated/models/workbook_chart_point_format.py +++ b/msgraph/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/generated/models/workbook_chart_series.py b/msgraph/generated/models/workbook_chart_series.py index 1da389c7835..d49ef4ac8d9 100644 --- a/msgraph/generated/models/workbook_chart_series.py +++ b/msgraph/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/generated/models/workbook_chart_series_collection_response.py b/msgraph/generated/models/workbook_chart_series_collection_response.py index 876a26f432a..da12fb86689 100644 --- a/msgraph/generated/models/workbook_chart_series_collection_response.py +++ b/msgraph/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/generated/models/workbook_chart_series_format.py b/msgraph/generated/models/workbook_chart_series_format.py index 5ad070f1ac1..1a2489ea85c 100644 --- a/msgraph/generated/models/workbook_chart_series_format.py +++ b/msgraph/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/generated/models/workbook_chart_title.py b/msgraph/generated/models/workbook_chart_title.py index 7fd82d168b6..bafaf25ca0f 100644 --- a/msgraph/generated/models/workbook_chart_title.py +++ b/msgraph/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/generated/models/workbook_chart_title_format.py b/msgraph/generated/models/workbook_chart_title_format.py index 9c3a6fbe9d9..d4d796d124e 100644 --- a/msgraph/generated/models/workbook_chart_title_format.py +++ b/msgraph/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/generated/models/workbook_comment.py b/msgraph/generated/models/workbook_comment.py index 028689e2c37..a2d8d487860 100644 --- a/msgraph/generated/models/workbook_comment.py +++ b/msgraph/generated/models/workbook_comment.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_comment_reply import WorkbookCommentReply + 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/generated/models/workbook_comment_collection_response.py b/msgraph/generated/models/workbook_comment_collection_response.py index 4fb66dc379e..e97cb14728d 100644 --- a/msgraph/generated/models/workbook_comment_collection_response.py +++ b/msgraph/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/generated/models/workbook_comment_reply.py b/msgraph/generated/models/workbook_comment_reply.py index 05b7a167ea0..67e9ed6a048 100644 --- a/msgraph/generated/models/workbook_comment_reply.py +++ b/msgraph/generated/models/workbook_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("contentType", self.content_type) diff --git a/msgraph/generated/models/workbook_comment_reply_collection_response.py b/msgraph/generated/models/workbook_comment_reply_collection_response.py index 4831eee39f0..b8b5ea90bab 100644 --- a/msgraph/generated/models/workbook_comment_reply_collection_response.py +++ b/msgraph/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/generated/models/workbook_filter.py b/msgraph/generated/models/workbook_filter.py index 8c471fe318b..6c5e5feb262 100644 --- a/msgraph/generated/models/workbook_filter.py +++ b/msgraph/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/generated/models/workbook_filter_criteria.py b/msgraph/generated/models/workbook_filter_criteria.py index eabed812bec..8d8718714ea 100644 --- a/msgraph/generated/models/workbook_filter_criteria.py +++ b/msgraph/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/generated/models/workbook_format_protection.py b/msgraph/generated/models/workbook_format_protection.py index 011141269f9..0710b787e63 100644 --- a/msgraph/generated/models/workbook_format_protection.py +++ b/msgraph/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/generated/models/workbook_function_result.py b/msgraph/generated/models/workbook_function_result.py index 6e841ceba66..3f179ea3e84 100644 --- a/msgraph/generated/models/workbook_function_result.py +++ b/msgraph/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/generated/models/workbook_functions.py b/msgraph/generated/models/workbook_functions.py index e4240b8aa0c..3e855cbf5aa 100644 --- a/msgraph/generated/models/workbook_functions.py +++ b/msgraph/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/generated/models/workbook_named_item.py b/msgraph/generated/models/workbook_named_item.py index 3112ebd0223..bc545158412 100644 --- a/msgraph/generated/models/workbook_named_item.py +++ b/msgraph/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/generated/models/workbook_named_item_collection_response.py b/msgraph/generated/models/workbook_named_item_collection_response.py index ee85fe4e5cd..11c5fbc055e 100644 --- a/msgraph/generated/models/workbook_named_item_collection_response.py +++ b/msgraph/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/generated/models/workbook_operation.py b/msgraph/generated/models/workbook_operation.py index d7e20e8629a..9fcfc633097 100644 --- a/msgraph/generated/models/workbook_operation.py +++ b/msgraph/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/generated/models/workbook_operation_collection_response.py b/msgraph/generated/models/workbook_operation_collection_response.py index 39455e82264..05cd4a7f226 100644 --- a/msgraph/generated/models/workbook_operation_collection_response.py +++ b/msgraph/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/generated/models/workbook_pivot_table.py b/msgraph/generated/models/workbook_pivot_table.py index 0e29ea564d0..dd17c80c047 100644 --- a/msgraph/generated/models/workbook_pivot_table.py +++ b/msgraph/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/generated/models/workbook_pivot_table_collection_response.py b/msgraph/generated/models/workbook_pivot_table_collection_response.py index 5117ff0e469..bf7f85911cf 100644 --- a/msgraph/generated/models/workbook_pivot_table_collection_response.py +++ b/msgraph/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/generated/models/workbook_range.py b/msgraph/generated/models/workbook_range.py index 916100da1f0..b2f9cd9d80a 100644 --- a/msgraph/generated/models/workbook_range.py +++ b/msgraph/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/generated/models/workbook_range_border.py b/msgraph/generated/models/workbook_range_border.py index 0992ba5f034..33140de5321 100644 --- a/msgraph/generated/models/workbook_range_border.py +++ b/msgraph/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/generated/models/workbook_range_fill.py b/msgraph/generated/models/workbook_range_fill.py index bf4884edc2f..44a768101b8 100644 --- a/msgraph/generated/models/workbook_range_fill.py +++ b/msgraph/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/generated/models/workbook_range_font.py b/msgraph/generated/models/workbook_range_font.py index e36611902c8..387a965624b 100644 --- a/msgraph/generated/models/workbook_range_font.py +++ b/msgraph/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/generated/models/workbook_range_format.py b/msgraph/generated/models/workbook_range_format.py index 1815d242394..37701fca29d 100644 --- a/msgraph/generated/models/workbook_range_format.py +++ b/msgraph/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/generated/models/workbook_range_sort.py b/msgraph/generated/models/workbook_range_sort.py index ce2de1f1e17..83cb676763a 100644 --- a/msgraph/generated/models/workbook_range_sort.py +++ b/msgraph/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/generated/models/workbook_range_view.py b/msgraph/generated/models/workbook_range_view.py index 9b941ec6c04..49d9889e240 100644 --- a/msgraph/generated/models/workbook_range_view.py +++ b/msgraph/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/generated/models/workbook_sort_field.py b/msgraph/generated/models/workbook_sort_field.py index 40fff159791..120bf2af04e 100644 --- a/msgraph/generated/models/workbook_sort_field.py +++ b/msgraph/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/generated/models/workbook_table.py b/msgraph/generated/models/workbook_table.py index b1a539b3323..a7801289750 100644 --- a/msgraph/generated/models/workbook_table.py +++ b/msgraph/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/generated/models/workbook_table_collection_response.py b/msgraph/generated/models/workbook_table_collection_response.py index 8f50881c9b4..6ddf6534ec7 100644 --- a/msgraph/generated/models/workbook_table_collection_response.py +++ b/msgraph/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/generated/models/workbook_table_column.py b/msgraph/generated/models/workbook_table_column.py index 03ddd60759d..bf51c436bd9 100644 --- a/msgraph/generated/models/workbook_table_column.py +++ b/msgraph/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/generated/models/workbook_table_column_collection_response.py b/msgraph/generated/models/workbook_table_column_collection_response.py index 681c6f5fce3..69fc873beff 100644 --- a/msgraph/generated/models/workbook_table_column_collection_response.py +++ b/msgraph/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/generated/models/workbook_table_row.py b/msgraph/generated/models/workbook_table_row.py index 80d6ac94510..26eb88ea03f 100644 --- a/msgraph/generated/models/workbook_table_row.py +++ b/msgraph/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/generated/models/workbook_table_row_collection_response.py b/msgraph/generated/models/workbook_table_row_collection_response.py index 8c884e652e6..8650cd79f41 100644 --- a/msgraph/generated/models/workbook_table_row_collection_response.py +++ b/msgraph/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/generated/models/workbook_table_sort.py b/msgraph/generated/models/workbook_table_sort.py index d04ca18cf76..c145e6239bd 100644 --- a/msgraph/generated/models/workbook_table_sort.py +++ b/msgraph/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/generated/models/workbook_worksheet.py b/msgraph/generated/models/workbook_worksheet.py index f22a6efe0b7..c9a5b9aee46 100644 --- a/msgraph/generated/models/workbook_worksheet.py +++ b/msgraph/generated/models/workbook_worksheet.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 .entity import Entity + from .workbook_chart import WorkbookChart + 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/generated/models/workbook_worksheet_collection_response.py b/msgraph/generated/models/workbook_worksheet_collection_response.py index d5e229223ed..6d1e35f95af 100644 --- a/msgraph/generated/models/workbook_worksheet_collection_response.py +++ b/msgraph/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/generated/models/workbook_worksheet_protection.py b/msgraph/generated/models/workbook_worksheet_protection.py index 022547a00b8..f86b17c39c6 100644 --- a/msgraph/generated/models/workbook_worksheet_protection.py +++ b/msgraph/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/generated/models/workforce_integration.py b/msgraph/generated/models/workforce_integration.py index 57a8edbe62f..1a39fb955ea 100644 --- a/msgraph/generated/models/workforce_integration.py +++ b/msgraph/generated/models/workforce_integration.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 .change_tracked_entity import ChangeTrackedEntity + 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_object_value("encryption", self.encryption) diff --git a/msgraph/generated/models/workforce_integration_collection_response.py b/msgraph/generated/models/workforce_integration_collection_response.py index 08bbb8ed082..a2d1b66ef46 100644 --- a/msgraph/generated/models/workforce_integration_collection_response.py +++ b/msgraph/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/generated/models/workforce_integration_encryption.py b/msgraph/generated/models/workforce_integration_encryption.py index 1583b7d79e7..ec5c0f7f4d0 100644 --- a/msgraph/generated/models/workforce_integration_encryption.py +++ b/msgraph/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/generated/models/working_hours.py b/msgraph/generated/models/working_hours.py index 90e12a06ca1..b4c3ae45342 100644 --- a/msgraph/generated/models/working_hours.py +++ b/msgraph/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/generated/models/working_time_schedule.py b/msgraph/generated/models/working_time_schedule.py index 4db6e30bd4d..4afb28510d7 100644 --- a/msgraph/generated/models/working_time_schedule.py +++ b/msgraph/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/generated/models/x509_certificate_authentication_method_configuration.py b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py index a25e1238fee..22689bfd6b1 100644 --- a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py +++ b/msgraph/generated/models/x509_certificate_authentication_method_configuration.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 .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + 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/generated/models/x509_certificate_authentication_mode_configuration.py b/msgraph/generated/models/x509_certificate_authentication_mode_configuration.py index b79d2e5951b..6b539cd5c42 100644 --- a/msgraph/generated/models/x509_certificate_authentication_mode_configuration.py +++ b/msgraph/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/generated/models/x509_certificate_combination_configuration.py b/msgraph/generated/models/x509_certificate_combination_configuration.py index 414b0a6ae53..54067895f9d 100644 --- a/msgraph/generated/models/x509_certificate_combination_configuration.py +++ b/msgraph/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/generated/models/x509_certificate_rule.py b/msgraph/generated/models/x509_certificate_rule.py index 92684de8213..ec35ee473d1 100644 --- a/msgraph/generated/models/x509_certificate_rule.py +++ b/msgraph/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/generated/models/x509_certificate_user_binding.py b/msgraph/generated/models/x509_certificate_user_binding.py index 026b0408024..ed9ebf6415e 100644 --- a/msgraph/generated/models/x509_certificate_user_binding.py +++ b/msgraph/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/generated/oauth2_permission_grants/count/count_request_builder.py b/msgraph/generated/oauth2_permission_grants/count/count_request_builder.py index 4118fb0d00d..8a4a0aa9c2c 100644 --- a/msgraph/generated/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/oauth2_permission_grants/delta/delta_get_response.py b/msgraph/generated/oauth2_permission_grants/delta/delta_get_response.py index ff94b97605c..6d55eb69f35 100644 --- a/msgraph/generated/oauth2_permission_grants/delta/delta_get_response.py +++ b/msgraph/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/generated/oauth2_permission_grants/delta/delta_request_builder.py b/msgraph/generated/oauth2_permission_grants/delta/delta_request_builder.py index e71e362ae9e..bae25c77ac7 100644 --- a/msgraph/generated/oauth2_permission_grants/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/organization/count/count_request_builder.py b/msgraph/generated/organization/count/count_request_builder.py index 22e45f37d4a..82a9a4b419f 100644 --- a/msgraph/generated/organization/count/count_request_builder.py +++ b/msgraph/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/generated/organization/delta/delta_get_response.py b/msgraph/generated/organization/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph/generated/organization/delta/delta_get_response.py +++ b/msgraph/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/generated/organization/delta/delta_request_builder.py b/msgraph/generated/organization/delta/delta_request_builder.py index daa628c48a3..7d65c301eb4 100644 --- a/msgraph/generated/organization/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/organization/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/organization/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/organization/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/organization/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/organization/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/organization/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/organization/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/organization/item/branding/localizations/count/count_request_builder.py b/msgraph/generated/organization/item/branding/localizations/count/count_request_builder.py index d965ff04c96..210b31f365e 100644 --- a/msgraph/generated/organization/item/branding/localizations/count/count_request_builder.py +++ b/msgraph/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/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index fddf28273b5..c96fbb00321 100644 --- a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes - Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py b/msgraph/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py index d8ed77d34b3..4bbe7deaca1 100644 --- a/msgraph/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py +++ b/msgraph/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/generated/organization/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/organization/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/organization/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/organization/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/organization/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/organization/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/organization/item/extensions/count/count_request_builder.py b/msgraph/generated/organization/item/extensions/count/count_request_builder.py index 5f29a331c99..d5a6b528d9e 100644 --- a/msgraph/generated/organization/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/organization/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/organization/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/organization/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/organization/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/organization/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/organization/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index f694f8a8b78..05ccdbe73ab 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]: """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + Read properties and relationships of the organization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + Read properties and relationships of the organization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -239,7 +239,7 @@ class OrganizationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class OrganizationItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + Read properties and relationships of the organization object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/permission_grants/delta/delta_get_response.py b/msgraph/generated/permission_grants/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph/generated/permission_grants/delta/delta_get_response.py +++ b/msgraph/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/generated/permission_grants/delta/delta_request_builder.py b/msgraph/generated/permission_grants/delta/delta_request_builder.py index 8095464065d..24e70b5e381 100644 --- a/msgraph/generated/permission_grants/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/permission_grants/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/permission_grants/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/permission_grants/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/permission_grants/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/permission_grants/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/permission_grants/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/permission_grants/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/places/count/count_request_builder.py b/msgraph/generated/places/count/count_request_builder.py index 525e9ca31ba..6c8657f1184 100644 --- a/msgraph/generated/places/count/count_request_builder.py +++ b/msgraph/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/generated/places/graph_room/count/count_request_builder.py b/msgraph/generated/places/graph_room/count/count_request_builder.py index a00034106cc..4416f44ca31 100644 --- a/msgraph/generated/places/graph_room/count/count_request_builder.py +++ b/msgraph/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/generated/places/graph_room_list/count/count_request_builder.py b/msgraph/generated/places/graph_room_list/count/count_request_builder.py index d06ed2cd42f..fea32446008 100644 --- a/msgraph/generated/places/graph_room_list/count/count_request_builder.py +++ b/msgraph/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/generated/places/item/graph_room_list/rooms/count/count_request_builder.py b/msgraph/generated/places/item/graph_room_list/rooms/count/count_request_builder.py index 39d3d891338..b7ffb488444 100644 --- a/msgraph/generated/places/item/graph_room_list/rooms/count/count_request_builder.py +++ b/msgraph/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/generated/planner/buckets/count/count_request_builder.py b/msgraph/generated/planner/buckets/count/count_request_builder.py index c15096cfcde..a2ddcfcd766 100644 --- a/msgraph/generated/planner/buckets/count/count_request_builder.py +++ b/msgraph/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/generated/planner/buckets/item/tasks/count/count_request_builder.py b/msgraph/generated/planner/buckets/item/tasks/count/count_request_builder.py index 8936e5243b6..1f614362772 100644 --- a/msgraph/generated/planner/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/planner/plans/count/count_request_builder.py b/msgraph/generated/planner/plans/count/count_request_builder.py index 8cce4764dbb..6cd4541538c 100644 --- a/msgraph/generated/planner/plans/count/count_request_builder.py +++ b/msgraph/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/generated/planner/plans/item/buckets/count/count_request_builder.py b/msgraph/generated/planner/plans/item/buckets/count/count_request_builder.py index 79fbf8405d2..c744cc6a5a7 100644 --- a/msgraph/generated/planner/plans/item/buckets/count/count_request_builder.py +++ b/msgraph/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/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py b/msgraph/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py index 70c1d9d6fee..0d404f0c4f8 100644 --- a/msgraph/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/planner/plans/item/tasks/count/count_request_builder.py b/msgraph/generated/planner/plans/item/tasks/count/count_request_builder.py index 03440359a81..d8c15f50bc1 100644 --- a/msgraph/generated/planner/plans/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/planner/tasks/count/count_request_builder.py b/msgraph/generated/planner/tasks/count/count_request_builder.py index dda662bd9a2..5f9c92d74d3 100644 --- a/msgraph/generated/planner/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/policies/activity_based_timeout_policies/count/count_request_builder.py b/msgraph/generated/policies/activity_based_timeout_policies/count/count_request_builder.py index 7312e4718d3..1a984c7d42c 100644 --- a/msgraph/generated/policies/activity_based_timeout_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py index ab702ad8b40..acdd7f9091d 100644 --- a/msgraph/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/policies/app_management_policies/count/count_request_builder.py b/msgraph/generated/policies/app_management_policies/count/count_request_builder.py index fe1d12a9297..c0c629e319e 100644 --- a/msgraph/generated/policies/app_management_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py index 1e521c33c98..640757b9262 100644 --- a/msgraph/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py b/msgraph/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py index 2a364f114ac..b6ba7030eb4 100644 --- a/msgraph/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/policies/authentication_strength_policies/count/count_request_builder.py b/msgraph/generated/policies/authentication_strength_policies/count/count_request_builder.py index 1e6f611da34..884886b0da4 100644 --- a/msgraph/generated/policies/authentication_strength_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py b/msgraph/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py index 7fd943ad59d..ff60d953e94 100644 --- a/msgraph/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py +++ b/msgraph/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/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py b/msgraph/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py index a6153eec46d..8511c709bfc 100644 --- a/msgraph/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py +++ b/msgraph/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/generated/policies/claims_mapping_policies/count/count_request_builder.py b/msgraph/generated/policies/claims_mapping_policies/count/count_request_builder.py index 2b9fc58561c..d5c9ac33f3e 100644 --- a/msgraph/generated/policies/claims_mapping_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py index de99eb10188..754492c3baf 100644 --- a/msgraph/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/policies/conditional_access_policies/count/count_request_builder.py b/msgraph/generated/policies/conditional_access_policies/count/count_request_builder.py index 7c9b0cbd838..3504bd93391 100644 --- a/msgraph/generated/policies/conditional_access_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py b/msgraph/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py index aa4ed508233..14023885bdc 100644 --- a/msgraph/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py +++ b/msgraph/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/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 6418faa67cc..2b3fb6eeabb 100644 --- a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/policies/feature_rollout_policies/count/count_request_builder.py b/msgraph/generated/policies/feature_rollout_policies/count/count_request_builder.py index b7ce8c9d94e..05fb89b70e3 100644 --- a/msgraph/generated/policies/feature_rollout_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py index d496e34e300..e26e67b1da4 100644 --- a/msgraph/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/policies/home_realm_discovery_policies/count/count_request_builder.py b/msgraph/generated/policies/home_realm_discovery_policies/count/count_request_builder.py index 49dcb3a1988..33c121ff24b 100644 --- a/msgraph/generated/policies/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py index 0972e0e1e87..e27e18e97d1 100644 --- a/msgraph/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/policies/permission_grant_policies/count/count_request_builder.py b/msgraph/generated/policies/permission_grant_policies/count/count_request_builder.py index a6229344aff..f7462194334 100644 --- a/msgraph/generated/policies/permission_grant_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py b/msgraph/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py index ed91949db34..dda3f700b11 100644 --- a/msgraph/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py +++ b/msgraph/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/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py b/msgraph/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py index b940ab8bc7d..7aaeb3504e7 100644 --- a/msgraph/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py +++ b/msgraph/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/generated/policies/role_management_policies/count/count_request_builder.py b/msgraph/generated/policies/role_management_policies/count/count_request_builder.py index ab150e840a0..2f335708e78 100644 --- a/msgraph/generated/policies/role_management_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py b/msgraph/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py index 37a2947cbf0..8e69c7705ab 100644 --- a/msgraph/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py +++ b/msgraph/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/generated/policies/role_management_policies/item/rules/count/count_request_builder.py b/msgraph/generated/policies/role_management_policies/item/rules/count/count_request_builder.py index 32aec7e7a3c..8f0c439a502 100644 --- a/msgraph/generated/policies/role_management_policies/item/rules/count/count_request_builder.py +++ b/msgraph/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/generated/policies/role_management_policy_assignments/count/count_request_builder.py b/msgraph/generated/policies/role_management_policy_assignments/count/count_request_builder.py index ba0f085745b..1689c80040b 100644 --- a/msgraph/generated/policies/role_management_policy_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/policies/token_issuance_policies/count/count_request_builder.py b/msgraph/generated/policies/token_issuance_policies/count/count_request_builder.py index 515f9152d01..935ba7dff1b 100644 --- a/msgraph/generated/policies/token_issuance_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py index fcfabe275ee..b7376255d9d 100644 --- a/msgraph/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/policies/token_lifetime_policies/count/count_request_builder.py b/msgraph/generated/policies/token_lifetime_policies/count/count_request_builder.py index 3317253165c..fac2cc4ba88 100644 --- a/msgraph/generated/policies/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph/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/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py b/msgraph/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py index 3b36b5a0809..76f1bc2531d 100644 --- a/msgraph/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph/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/generated/print/connectors/count/count_request_builder.py b/msgraph/generated/print/connectors/count/count_request_builder.py index c5dd6d0e229..cf92cd94136 100644 --- a/msgraph/generated/print/connectors/count/count_request_builder.py +++ b/msgraph/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/generated/print/operations/count/count_request_builder.py b/msgraph/generated/print/operations/count/count_request_builder.py index 23434608c62..3515b6698e3 100644 --- a/msgraph/generated/print/operations/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/count/count_request_builder.py b/msgraph/generated/print/printers/count/count_request_builder.py index 1c06d797704..7415ea7b523 100644 --- a/msgraph/generated/print/printers/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/create/create_post_request_body.py b/msgraph/generated/print/printers/create/create_post_request_body.py index 4a0a7632139..d01d726daf8 100644 --- a/msgraph/generated/print/printers/create/create_post_request_body.py +++ b/msgraph/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/generated/print/printers/item/connectors/count/count_request_builder.py b/msgraph/generated/print/printers/item/connectors/count/count_request_builder.py index 323157ad285..ef20aafeadb 100644 --- a/msgraph/generated/print/printers/item/connectors/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/item/jobs/count/count_request_builder.py b/msgraph/generated/print/printers/item/jobs/count/count_request_builder.py index 02e58318c3b..ff517cbaecc 100644 --- a/msgraph/generated/print/printers/item/jobs/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py b/msgraph/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py index 4b9a421ace3..c3ba8470b3a 100644 --- a/msgraph/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py index 8269d331f45..24a3135dbd3 100644 --- a/msgraph/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py b/msgraph/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py index ded8edbb1ce..cdfd92ff7f6 100644 --- a/msgraph/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py +++ b/msgraph/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/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py b/msgraph/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py index de601dc7d3e..d1d8092f814 100644 --- a/msgraph/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/item/shares/count/count_request_builder.py b/msgraph/generated/print/printers/item/shares/count/count_request_builder.py index 2a494e629df..76592d3f322 100644 --- a/msgraph/generated/print/printers/item/shares/count/count_request_builder.py +++ b/msgraph/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/generated/print/printers/item/task_triggers/count/count_request_builder.py b/msgraph/generated/print/printers/item/task_triggers/count/count_request_builder.py index f187fa94883..3af68377909 100644 --- a/msgraph/generated/print/printers/item/task_triggers/count/count_request_builder.py +++ b/msgraph/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/generated/print/services/count/count_request_builder.py b/msgraph/generated/print/services/count/count_request_builder.py index 24feec938bc..7fc2069cade 100644 --- a/msgraph/generated/print/services/count/count_request_builder.py +++ b/msgraph/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/generated/print/services/item/endpoints/count/count_request_builder.py b/msgraph/generated/print/services/item/endpoints/count/count_request_builder.py index e2f4054ad97..8c96107e7e4 100644 --- a/msgraph/generated/print/services/item/endpoints/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/count/count_request_builder.py b/msgraph/generated/print/shares/count/count_request_builder.py index db1e25732c2..76c4a6de9f0 100644 --- a/msgraph/generated/print/shares/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/allowed_groups/count/count_request_builder.py b/msgraph/generated/print/shares/item/allowed_groups/count/count_request_builder.py index 9bbcdb78618..658b8a7fafa 100644 --- a/msgraph/generated/print/shares/item/allowed_groups/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py index 454ac4f98bd..924ca0d2813 100644 --- a/msgraph/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/allowed_users/count/count_request_builder.py b/msgraph/generated/print/shares/item/allowed_users/count/count_request_builder.py index 370cb19472c..69ce62f72b7 100644 --- a/msgraph/generated/print/shares/item/allowed_users/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py index 700faed50fd..1281ecd80e6 100644 --- a/msgraph/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/jobs/count/count_request_builder.py b/msgraph/generated/print/shares/item/jobs/count/count_request_builder.py index 9019898785f..b641095664e 100644 --- a/msgraph/generated/print/shares/item/jobs/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py b/msgraph/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py index b685dcc49fb..9505f297f3f 100644 --- a/msgraph/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py +++ b/msgraph/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/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py index 8269d331f45..24a3135dbd3 100644 --- a/msgraph/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py b/msgraph/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py index ded8edbb1ce..cdfd92ff7f6 100644 --- a/msgraph/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py +++ b/msgraph/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/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py b/msgraph/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py index c65d1b61076..d59a0bb05b2 100644 --- a/msgraph/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/print/task_definitions/count/count_request_builder.py b/msgraph/generated/print/task_definitions/count/count_request_builder.py index c8726e81a21..0936b4b5b7e 100644 --- a/msgraph/generated/print/task_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/print/task_definitions/item/tasks/count/count_request_builder.py b/msgraph/generated/print/task_definitions/item/tasks/count/count_request_builder.py index 59cb432f63b..dc9ad2e22a0 100644 --- a/msgraph/generated/print/task_definitions/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/count/count_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/count/count_request_builder.py index ee4d0d219de..b0c8fcf1bd2 100644 --- a/msgraph/generated/privacy/subject_rights_requests/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py index 3e22f58edee..75f3b88afad 100644 --- a/msgraph/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py index 7d8b701cec7..2e82525229d 100644 --- a/msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py b/msgraph/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..6db1e0e4122 --- /dev/null +++ b/msgraph/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]: + """ + Collection of users who can approve the request. Currently only supported for requests of type delete. + 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: + """ + Collection of users who can approve the request. Currently only supported for requests of type delete. + 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(): + """ + Collection of users who can approve the request. Currently only supported for requests of type delete. + """ + 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/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py index 3ab5db37b7f..8d198ef2abf 100644 --- a/msgraph/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py index 4c1d09acc26..43072c3c3fc 100644 --- a/msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py b/msgraph/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..eaf1d09b1da --- /dev/null +++ b/msgraph/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]: + """ + Collection of users who can collaborate on the request. + 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: + """ + Collection of users who can collaborate on the request. + 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(): + """ + Collection of users who can collaborate on the request. + """ + 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/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py index cd9853e2cad..ce91370bf85 100644 --- a/msgraph/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +++ b/msgraph/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/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py index 05a2b37ae0b..770c4f58bea 100644 --- a/msgraph/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph/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/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py b/msgraph/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py index 58c3d16739b..d3ff0c0092f 100644 --- a/msgraph/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py +++ b/msgraph/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/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py b/msgraph/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py index b67f9d2403c..bc6f0d98777 100644 --- a/msgraph/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py +++ b/msgraph/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/generated/reports/daily_print_usage_by_user/count/count_request_builder.py b/msgraph/generated/reports/daily_print_usage_by_user/count/count_request_builder.py index 226cc791a58..c42bb73115c 100644 --- a/msgraph/generated/reports/daily_print_usage_by_user/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_get_response.py b/msgraph/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/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_get_response.py +++ b/msgraph/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/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/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/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/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/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py b/msgraph/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py index 1244c4ccf7b..91aa45842f2 100644 --- a/msgraph/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py +++ b/msgraph/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/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py b/msgraph/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py index decaeb1ec95..c5f4d70df3d 100644 --- a/msgraph/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py +++ b/msgraph/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/generated/reports/partners/billing/manifests/count/count_request_builder.py b/msgraph/generated/reports/partners/billing/manifests/count/count_request_builder.py index 9f414443a4f..ecbafb42ad1 100644 --- a/msgraph/generated/reports/partners/billing/manifests/count/count_request_builder.py +++ b/msgraph/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/generated/reports/partners/billing/operations/count/count_request_builder.py b/msgraph/generated/reports/partners/billing/operations/count/count_request_builder.py index 56deec3915c..24aaf0297ce 100644 --- a/msgraph/generated/reports/partners/billing/operations/count/count_request_builder.py +++ b/msgraph/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/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py index 7605c044806..ef1f070a2e6 100644 --- a/msgraph/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py +++ b/msgraph/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/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py index 7605c044806..ef1f070a2e6 100644 --- a/msgraph/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py +++ b/msgraph/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/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py index be527b7fe64..6bfd2239dce 100644 --- a/msgraph/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py +++ b/msgraph/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/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py b/msgraph/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py index 95fe3d56a11..ff5d4a1953b 100644 --- a/msgraph/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py +++ b/msgraph/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/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py b/msgraph/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py index fea6feec981..53513dee1ae 100644 --- a/msgraph/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py +++ b/msgraph/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/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py b/msgraph/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py index 9085328e7ae..d749cddbfde 100644 --- a/msgraph/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py +++ b/msgraph/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/generated/role_management/directory/resource_namespaces/count/count_request_builder.py b/msgraph/generated/role_management/directory/resource_namespaces/count/count_request_builder.py index bf87c60a175..feea26d401a 100644 --- a/msgraph/generated/role_management/directory/resource_namespaces/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py index f6c06404121..bb6e663cb47 100644 --- a/msgraph/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py index 3d31c614ed0..4c7ec1cc017 100644 --- a/msgraph/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py index a37a8ba6253..47f1b4ef36e 100644 --- a/msgraph/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py index 58052c85747..3d5876b7d73 100644 --- a/msgraph/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph/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/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph/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/generated/role_management/directory/role_assignments/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_assignments/count/count_request_builder.py index 8b4772ec6e4..4342b096347 100644 --- a/msgraph/generated/role_management/directory/role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/role_definitions/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_definitions/count/count_request_builder.py index 97e67ee298f..3e4a1d70d82 100644 --- a/msgraph/generated/role_management/directory/role_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index cdcc965436a..05c7774c000 100644 --- a/msgraph/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py index 6debbcdf0f2..4fd1fc6da2c 100644 --- a/msgraph/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py index 648e8aba27b..0a489ed1091 100644 --- a/msgraph/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py b/msgraph/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py index ce3f0be1812..cab2684e566 100644 --- a/msgraph/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph/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/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph/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/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py index 67bd5a7c31c..013c42ff2f5 100644 --- a/msgraph/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py index 5b66d281cce..066e4194d07 100644 --- a/msgraph/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py index 5ab71493713..c5e2a8e54c6 100644 --- a/msgraph/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py index 5f922f7b7a5..95f1c438bfb 100644 --- a/msgraph/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py index 4852708317d..999bda49c87 100644 --- a/msgraph/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py index ed452e7b3ca..64237234f8d 100644 --- a/msgraph/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py index d24e21ba4f6..d5d3c37d350 100644 --- a/msgraph/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 70524354387..e57fcbfcc3c 100644 --- a/msgraph/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph/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/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py index 06997666e32..f424ab1af76 100644 --- a/msgraph/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py index a515d83053f..92c626f8497 100644 --- a/msgraph/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py index 586f244f34b..a90e4608d6d 100644 --- a/msgraph/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/schema_extensions/count/count_request_builder.py b/msgraph/generated/schema_extensions/count/count_request_builder.py index 6bc96cc2293..014ff79d5a7 100644 --- a/msgraph/generated/schema_extensions/count/count_request_builder.py +++ b/msgraph/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/generated/scoped_role_memberships/count/count_request_builder.py b/msgraph/generated/scoped_role_memberships/count/count_request_builder.py index 587323f5d18..63e9283925e 100644 --- a/msgraph/generated/scoped_role_memberships/count/count_request_builder.py +++ b/msgraph/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/generated/search/acronyms/count/count_request_builder.py b/msgraph/generated/search/acronyms/count/count_request_builder.py index eb2ed7071b4..90469b77e33 100644 --- a/msgraph/generated/search/acronyms/count/count_request_builder.py +++ b/msgraph/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/generated/search/bookmarks/count/count_request_builder.py b/msgraph/generated/search/bookmarks/count/count_request_builder.py index ae1c5d3542c..da55f40fcee 100644 --- a/msgraph/generated/search/bookmarks/count/count_request_builder.py +++ b/msgraph/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/generated/search/qnas/count/count_request_builder.py b/msgraph/generated/search/qnas/count/count_request_builder.py index 36ef1fd0919..4178b7cb516 100644 --- a/msgraph/generated/search/qnas/count/count_request_builder.py +++ b/msgraph/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/generated/search/query/query_post_request_body.py b/msgraph/generated/search/query/query_post_request_body.py index 718cf4426c2..47b854a9448 100644 --- a/msgraph/generated/search/query/query_post_request_body.py +++ b/msgraph/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/generated/search/query/query_post_response.py b/msgraph/generated/search/query/query_post_response.py index 6c2c7b12d41..ff459e2b91d 100644 --- a/msgraph/generated/search/query/query_post_response.py +++ b/msgraph/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/generated/security/alerts/count/count_request_builder.py b/msgraph/generated/security/alerts/count/count_request_builder.py index 9168185fb08..7d183e111ed 100644 --- a/msgraph/generated/security/alerts/count/count_request_builder.py +++ b/msgraph/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/generated/security/alerts_v2/count/count_request_builder.py b/msgraph/generated/security/alerts_v2/count/count_request_builder.py index 46d93b4c2aa..80d43818efa 100644 --- a/msgraph/generated/security/alerts_v2/count/count_request_builder.py +++ b/msgraph/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/generated/security/alerts_v2/item/comments/count/count_request_builder.py b/msgraph/generated/security/alerts_v2/item/comments/count/count_request_builder.py index 0fb11ca72a4..7d6f33b70e4 100644 --- a/msgraph/generated/security/alerts_v2/item/comments/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py index 8512d068476..02fe236622a 100644 --- a/msgraph/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py index a7067865eb2..e6222bb2f10 100644 --- a/msgraph/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/landing_pages/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/landing_pages/count/count_request_builder.py index 09031fb4595..a22b602afba 100644 --- a/msgraph/generated/security/attack_simulation/landing_pages/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py index c985ff24fb0..dbc0f54bddd 100644 --- a/msgraph/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/login_pages/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/login_pages/count/count_request_builder.py index 8900f10e861..47e1a0a7c3f 100644 --- a/msgraph/generated/security/attack_simulation/login_pages/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/operations/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/operations/count/count_request_builder.py index f71a2d0b120..f19e01b7e89 100644 --- a/msgraph/generated/security/attack_simulation/operations/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/payloads/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/payloads/count/count_request_builder.py index 6f683bc7488..d790337a853 100644 --- a/msgraph/generated/security/attack_simulation/payloads/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py index 2e10fdbc906..771ddb5498f 100644 --- a/msgraph/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py index 672df25e9f4..00c2f85c7b4 100644 --- a/msgraph/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/simulations/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/simulations/count/count_request_builder.py index f12296e0680..f7c9bb1c135 100644 --- a/msgraph/generated/security/attack_simulation/simulations/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/trainings/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/trainings/count/count_request_builder.py index 30066158fe2..f4fada4b8a9 100644 --- a/msgraph/generated/security/attack_simulation/trainings/count/count_request_builder.py +++ b/msgraph/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/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py b/msgraph/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py index 96a0a17ef3f..4db5b69ee5f 100644 --- a/msgraph/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/count/count_request_builder.py index 03c530e2900..789c585ad8f 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py index 54b6585181a..73662d22e48 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py index efa5101999e..1f9fbe3a450 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py index d86c2ead33d..6daae45700f 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py index cfe9feb4689..eb7b7a0a5ee 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py index 5b14f3d3c11..957575bb626 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py index 7b26cec7ddf..13f1450373a 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py index e95b3bf9ae7..07f7e15ab51 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py index e4fc8781e19..ec4750d176b 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py index 75f435930d2..f226a197c88 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py b/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py index 0ead7e37095..e05d412e6a2 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py +++ b/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_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.security.export_file_structure import ExportFileStructure + from ........models.security.export_options import ExportOptions + writer.write_str_value("description", self.description) writer.write_enum_value("exportOptions", self.export_options) writer.write_enum_value("exportStructure", self.export_structure) diff --git a/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py index b0864a7f885..34e99c5858e 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/apply_tags_post_request_body.py b/msgraph/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/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/apply_tags_post_request_body.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py b/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py index 1b62ae7ea23..5d9bfef1e7f 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py +++ b/msgraph/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_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.security.export_file_structure import ExportFileStructure + from ..........models.security.export_options import ExportOptions + writer.write_str_value("description", self.description) writer.write_enum_value("exportOptions", self.export_options) writer.write_enum_value("exportStructure", self.export_structure) diff --git a/msgraph/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py index 15a43d10751..79252afa67e 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py index d8da0a67425..0fbd346add7 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py index ebcfefd7d6d..06bcc13523f 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/export_report_post_request_body.py b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/export_report_post_request_body.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py index 566668c850f..a12bd71c4dd 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py +++ b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py @@ -31,10 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ExportReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action exportReport + Export an item report from an estimated ediscoverySearch. For details, see Manage a collection estimate. 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-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -52,7 +53,7 @@ async def post(self,body: ExportReportPostRequestBody, request_configuration: Op def to_post_request_information(self,body: ExportReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action exportReport + Export an item report from an estimated ediscoverySearch. For details, see Manage a collection estimate. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/export_result_post_request_body.py b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/export_result_post_request_body.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py index 03767edda50..19cc25f9bd0 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py +++ b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py @@ -31,10 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ExportResultPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action exportResult + Export results from an estimated ediscoverySearch. For details, see Manage a collection estimate. 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-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -52,7 +53,7 @@ async def post(self,body: ExportResultPostRequestBody, request_configuration: Op def to_post_request_information(self,body: ExportResultPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action exportResult + Export results from an estimated ediscoverySearch. For details, see Manage a collection estimate. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py index aed3a1d815a..51e1a8765aa 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py +++ b/msgraph/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 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 + 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 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 + 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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py index c9e354f607c..e7c2556e737 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py index 1a23085b47c..221e6f267ce 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py index 4b819586778..91dcb743d4e 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py +++ b/msgraph/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/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py b/msgraph/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py index 5c1f3f57688..3e6332cfbea 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py +++ b/msgraph/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/generated/security/identities/health_issues/count/count_request_builder.py b/msgraph/generated/security/identities/health_issues/count/count_request_builder.py index 44f06d205bc..cf58f6440ce 100644 --- a/msgraph/generated/security/identities/health_issues/count/count_request_builder.py +++ b/msgraph/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/generated/security/incidents/count/count_request_builder.py b/msgraph/generated/security/incidents/count/count_request_builder.py index e083c5af49b..b90bb412022 100644 --- a/msgraph/generated/security/incidents/count/count_request_builder.py +++ b/msgraph/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/generated/security/incidents/item/alerts/count/count_request_builder.py b/msgraph/generated/security/incidents/item/alerts/count/count_request_builder.py index 234e174fa6a..562ce554579 100644 --- a/msgraph/generated/security/incidents/item/alerts/count/count_request_builder.py +++ b/msgraph/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/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py b/msgraph/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py index a1bdc67de75..153e16e8751 100644 --- a/msgraph/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/authorities/count/count_request_builder.py b/msgraph/generated/security/labels/authorities/count/count_request_builder.py index e6332e391b6..03b368e70f4 100644 --- a/msgraph/generated/security/labels/authorities/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/categories/count/count_request_builder.py b/msgraph/generated/security/labels/categories/count/count_request_builder.py index 096771a5357..70f126f1e1d 100644 --- a/msgraph/generated/security/labels/categories/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/categories/item/subcategories/count/count_request_builder.py b/msgraph/generated/security/labels/categories/item/subcategories/count/count_request_builder.py index c1f09aff4f0..9d9795f8452 100644 --- a/msgraph/generated/security/labels/categories/item/subcategories/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/citations/count/count_request_builder.py b/msgraph/generated/security/labels/citations/count/count_request_builder.py index e34032be3be..675019b44b1 100644 --- a/msgraph/generated/security/labels/citations/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/departments/count/count_request_builder.py b/msgraph/generated/security/labels/departments/count/count_request_builder.py index 244f98e30b8..0a1da15a022 100644 --- a/msgraph/generated/security/labels/departments/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/file_plan_references/count/count_request_builder.py b/msgraph/generated/security/labels/file_plan_references/count/count_request_builder.py index 45c4edb106a..07e2df486e1 100644 --- a/msgraph/generated/security/labels/file_plan_references/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/retention_labels/count/count_request_builder.py b/msgraph/generated/security/labels/retention_labels/count/count_request_builder.py index c2ccaffc155..810a0d048f5 100644 --- a/msgraph/generated/security/labels/retention_labels/count/count_request_builder.py +++ b/msgraph/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/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py b/msgraph/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py index 8ec2705c36f..342af137f2d 100644 --- a/msgraph/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py +++ b/msgraph/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/generated/security/secure_score_control_profiles/count/count_request_builder.py b/msgraph/generated/security/secure_score_control_profiles/count/count_request_builder.py index 2942ecde181..5ccc23d65f7 100644 --- a/msgraph/generated/security/secure_score_control_profiles/count/count_request_builder.py +++ b/msgraph/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/generated/security/secure_scores/count/count_request_builder.py b/msgraph/generated/security/secure_scores/count/count_request_builder.py index 97df0255fd5..2f8bf0b5fa6 100644 --- a/msgraph/generated/security/secure_scores/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/count/count_request_builder.py b/msgraph/generated/security/subject_rights_requests/count/count_request_builder.py index 43eab554120..3aa3244a1aa 100644 --- a/msgraph/generated/security/subject_rights_requests/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py b/msgraph/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py index 3b095abf93a..7822f2ace99 100644 --- a/msgraph/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py index ef09259e7ad..8449470790d 100644 --- a/msgraph/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py b/msgraph/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..7dd86f44c0b --- /dev/null +++ b/msgraph/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]: + """ + Collection of users who can approve the request. Currently only supported for requests of type delete. + 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: + """ + Collection of users who can approve the request. Currently only supported for requests of type delete. + 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(): + """ + Collection of users who can approve the request. Currently only supported for requests of type delete. + """ + 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/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py b/msgraph/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py index 74d9a79db41..dc248329232 100644 --- a/msgraph/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py index d47339b973e..776100f271a 100644 --- a/msgraph/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py b/msgraph/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..9eb549b44e5 --- /dev/null +++ b/msgraph/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]: + """ + Collection of users who can collaborate on the request. + 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: + """ + Collection of users who can collaborate on the request. + 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(): + """ + Collection of users who can collaborate on the request. + """ + 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/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py b/msgraph/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py index 40a1bf0800d..0370f43cacb 100644 --- a/msgraph/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py +++ b/msgraph/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/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py index 75b28887b88..10028874e29 100644 --- a/msgraph/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py index f10c3d8a98b..46b48960c3a 100644 --- a/msgraph/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/articles/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/articles/count/count_request_builder.py index 796c1433fa7..947c12f5c80 100644 --- a/msgraph/generated/security/threat_intelligence/articles/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py index d9d8f5ef092..d313b724d2c 100644 --- a/msgraph/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/host_components/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/host_components/count/count_request_builder.py index 2504adf1527..bce70337e2b 100644 --- a/msgraph/generated/security/threat_intelligence/host_components/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py index bf17d575594..328dc4d171e 100644 --- a/msgraph/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py index dd2fa059e52..a9577c27486 100644 --- a/msgraph/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/host_ports/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/host_ports/count/count_request_builder.py index 6bc4b9c3f11..7fe143d81d7 100644 --- a/msgraph/generated/security/threat_intelligence/host_ports/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py index 75dddbf61a3..55c3c410b46 100644 --- a/msgraph/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py index e885472b9d5..1cd1c54d62b 100644 --- a/msgraph/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/count/count_request_builder.py index aa43982124f..1f72fb4df40 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py index 373913cd0a8..7e194c91062 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py index d65f02c2389..b257b64a5fb 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py index df4da9c6cd4..d9f888e91a9 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py index 33cd002a80a..7c280a1132c 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py index 51cac232d2d..c62d7538098 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py index 7b50af55472..1a499fe01b1 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py index 19ce4b5d1ab..67279d48810 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py index a841c0c0a16..1d845ac3295 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py index df70f855898..5c205e9c060 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py index 712ddd7cbaf..137814d97f2 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py index e37a339cf10..85653fc40b1 100644 --- a/msgraph/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py index 3847a900ad5..e170df632e1 100644 --- a/msgraph/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py index 5b6d709aa2b..598da1b40eb 100644 --- a/msgraph/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py index 38033c63057..f8ba777aa0b 100644 --- a/msgraph/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py index e7ae508f82d..1fbde613cdb 100644 --- a/msgraph/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py index 9fb37667184..0b438c5bbca 100644 --- a/msgraph/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py index 1b1d40b2823..8b39b5b00e3 100644 --- a/msgraph/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/subdomains/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/subdomains/count/count_request_builder.py index 463f7799e73..31d78021e8b 100644 --- a/msgraph/generated/security/threat_intelligence/subdomains/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py index d4ab281878c..eeed4794b40 100644 --- a/msgraph/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py index 01a9a65285a..ad5ec2dceae 100644 --- a/msgraph/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py index 86ba11d2bee..a714b9fdf77 100644 --- a/msgraph/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py index 44cff02ea2b..8531790c99b 100644 --- a/msgraph/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/whois_records/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/whois_records/count/count_request_builder.py index f55323b6ab2..64e63b9b2aa 100644 --- a/msgraph/generated/security/threat_intelligence/whois_records/count/count_request_builder.py +++ b/msgraph/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/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py b/msgraph/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py index e03fd210926..edac256bd1f 100644 --- a/msgraph/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py +++ b/msgraph/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/generated/security/trigger_types/retention_event_types/count/count_request_builder.py b/msgraph/generated/security/trigger_types/retention_event_types/count/count_request_builder.py index 8c20f57bbc1..e4a73c18c33 100644 --- a/msgraph/generated/security/trigger_types/retention_event_types/count/count_request_builder.py +++ b/msgraph/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/generated/security/triggers/retention_events/count/count_request_builder.py b/msgraph/generated/security/triggers/retention_events/count/count_request_builder.py index c8a830c5d49..4683a0cdf53 100644 --- a/msgraph/generated/security/triggers/retention_events/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/count/count_request_builder.py b/msgraph/generated/service_principals/count/count_request_builder.py index 81e5ddb36c5..95c72dfa6a2 100644 --- a/msgraph/generated/service_principals/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/delta/delta_get_response.py b/msgraph/generated/service_principals/delta/delta_get_response.py index 64cf761ca90..9342b133017 100644 --- a/msgraph/generated/service_principals/delta/delta_get_response.py +++ b/msgraph/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/generated/service_principals/delta/delta_request_builder.py b/msgraph/generated/service_principals/delta/delta_request_builder.py index b65db3d583d..52e37639890 100644 --- a/msgraph/generated/service_principals/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/service_principals/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/service_principals/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/service_principals/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/service_principals/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/service_principals/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/service_principals/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/service_principals/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/service_principals/item/add_key/add_key_post_request_body.py b/msgraph/generated/service_principals/item/add_key/add_key_post_request_body.py index 31135fa4058..8e090f05906 100644 --- a/msgraph/generated/service_principals/item/add_key/add_key_post_request_body.py +++ b/msgraph/generated/service_principals/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/generated/service_principals/item/add_password/add_password_post_request_body.py b/msgraph/generated/service_principals/item/add_password/add_password_post_request_body.py index 3b83892ef80..17813675d07 100644 --- a/msgraph/generated/service_principals/item/add_password/add_password_post_request_body.py +++ b/msgraph/generated/service_principals/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/generated/service_principals/item/app_management_policies/count/count_request_builder.py b/msgraph/generated/service_principals/item/app_management_policies/count/count_request_builder.py index f1deaa14c76..237ee7fbba9 100644 --- a/msgraph/generated/service_principals/item/app_management_policies/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py b/msgraph/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py index 06058c2d220..484446a0fab 100644 --- a/msgraph/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/app_role_assignments/count/count_request_builder.py b/msgraph/generated/service_principals/item/app_role_assignments/count/count_request_builder.py index a03bb824711..de5a1f9782f 100644 --- a/msgraph/generated/service_principals/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py b/msgraph/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py index d379db38c93..3fbbebea98c 100644 --- a/msgraph/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/created_objects/count/count_request_builder.py b/msgraph/generated/service_principals/item/created_objects/count/count_request_builder.py index 57c645b73ed..849f3905eec 100644 --- a/msgraph/generated/service_principals/item/created_objects/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py b/msgraph/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py index f3ff315be6e..b78f1c28588 100644 --- a/msgraph/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py b/msgraph/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py index 47c76c688c1..8cc91f4bc7c 100644 --- a/msgraph/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/endpoints/count/count_request_builder.py b/msgraph/generated/service_principals/item/endpoints/count/count_request_builder.py index 5c53c45829d..7d6e5e1d8c6 100644 --- a/msgraph/generated/service_principals/item/endpoints/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py b/msgraph/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py index 8be620bef6f..832b7b5bc26 100644 --- a/msgraph/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py b/msgraph/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py index b9a1bd88470..f4374c5f209 100644 --- a/msgraph/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/member_of/count/count_request_builder.py b/msgraph/generated/service_principals/item/member_of/count/count_request_builder.py index 8b3d8c03794..cae7cdfcd42 100644 --- a/msgraph/generated/service_principals/item/member_of/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py index 7ebc18e67bf..0f628d5e90d 100644 --- a/msgraph/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py b/msgraph/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py index 65cb8cdb90a..a782135b6bd 100644 --- a/msgraph/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py b/msgraph/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py index 73ff33b01a9..62a35209855 100644 --- a/msgraph/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py b/msgraph/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py index 56f01e29422..62d27d7cbb7 100644 --- a/msgraph/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owned_objects/count/count_request_builder.py b/msgraph/generated/service_principals/item/owned_objects/count/count_request_builder.py index 20449da381b..8e32900b134 100644 --- a/msgraph/generated/service_principals/item/owned_objects/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py index d3aec354f09..7b0ba48d93d 100644 --- a/msgraph/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py b/msgraph/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py index 744a25ec5ed..86927134db0 100644 --- a/msgraph/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py b/msgraph/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py index 29558f3ccbe..d980cecfe9b 100644 --- a/msgraph/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py b/msgraph/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py index 48a0b94c056..a11da7dbac3 100644 --- a/msgraph/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py b/msgraph/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py index 14b3cf041c4..c2128d23aaf 100644 --- a/msgraph/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owners/count/count_request_builder.py b/msgraph/generated/service_principals/item/owners/count/count_request_builder.py index be9dca1ee9f..58014ae6d39 100644 --- a/msgraph/generated/service_principals/item/owners/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py index 685ad8dfa7d..967b2d83164 100644 --- a/msgraph/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py b/msgraph/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py index dfeec3bf425..7729aad47de 100644 --- a/msgraph/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py index 3599eaae1fa..6fd04a9a87f 100644 --- a/msgraph/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/owners/graph_user/count/count_request_builder.py b/msgraph/generated/service_principals/item/owners/graph_user/count/count_request_builder.py index fc2136296db..747ad692897 100644 --- a/msgraph/generated/service_principals/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py b/msgraph/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py index 8900905b072..0a558dea4c5 100644 --- a/msgraph/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py index d7cf170dfdd..e4abf15eda1 100644 --- a/msgraph/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py b/msgraph/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py index b396c4008c4..01ab259635f 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py index 2972750d7fa..68bcfb54fd9 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py index 536e2bc3ed4..88cf38e1bb6 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py index d1040c18b6c..f8bc75e5064 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py index 131044cb3bf..16622387b04 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py index 06b31625786..ccb685c1e6c 100644 --- a/msgraph/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py b/msgraph/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py index 884e8402480..13f38193117 100644 --- a/msgraph/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py b/msgraph/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py index e81fe020b4f..5b06a03a70b 100644 --- a/msgraph/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py +++ b/msgraph/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/generated/service_principals/item/synchronization/secrets/secrets_put_response.py b/msgraph/generated/service_principals/item/synchronization/secrets/secrets_put_response.py index 9090b659780..6d986b75609 100644 --- a/msgraph/generated/service_principals/item/synchronization/secrets/secrets_put_response.py +++ b/msgraph/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/generated/service_principals/item/synchronization/templates/count/count_request_builder.py b/msgraph/generated/service_principals/item/synchronization/templates/count/count_request_builder.py index b10880b6203..9af98eac2fc 100644 --- a/msgraph/generated/service_principals/item/synchronization/templates/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py b/msgraph/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py index 084781cef99..88b48338036 100644 --- a/msgraph/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py b/msgraph/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph/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/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py b/msgraph/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py +++ b/msgraph/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/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph/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/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py b/msgraph/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py index 83330d674da..94e2cc250f0 100644 --- a/msgraph/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py b/msgraph/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py index f64c674eb2f..c40bb087201 100644 --- a/msgraph/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/transitive_member_of/count/count_request_builder.py b/msgraph/generated/service_principals/item/transitive_member_of/count/count_request_builder.py index e34ff398edd..1dda7916cfb 100644 --- a/msgraph/generated/service_principals/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index a4eaf68a60b..25dbd9a81e7 100644 --- a/msgraph/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py b/msgraph/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py index f9ac3b49fc4..2f2cee578fa 100644 --- a/msgraph/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph/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/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py index 8b562172f22..d8972579b56 100644 --- a/msgraph/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/shares/count/count_request_builder.py b/msgraph/generated/shares/count/count_request_builder.py index af06c83f5bf..e465c9ecf75 100644 --- a/msgraph/generated/shares/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 3f7d83f6b70..d2633f5fb65 100644 --- a/msgraph/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/items/count/count_request_builder.py b/msgraph/generated/shares/item/items/count/count_request_builder.py index 66a249ad69b..e37ac509c36 100644 --- a/msgraph/generated/shares/item/items/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 58ba8e9b3f0..34fefc2251d 100644 --- a/msgraph/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/columns/count/count_request_builder.py b/msgraph/generated/shares/item/list_/columns/count/count_request_builder.py index 81fff1adeaa..e35a248f456 100644 --- a/msgraph/generated/shares/item/list_/columns/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/content_types/count/count_request_builder.py b/msgraph/generated/shares/item/list_/content_types/count/count_request_builder.py index f577c2bb76a..a3562bdca83 100644 --- a/msgraph/generated/shares/item/list_/content_types/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph/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/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph/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/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py b/msgraph/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py index 71713445e19..d584b26ad51 100644 --- a/msgraph/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py b/msgraph/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py index 8e22a83dfe4..23185337713 100644 --- a/msgraph/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py b/msgraph/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py index 75e9eab65f4..30605e44ae2 100644 --- a/msgraph/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py b/msgraph/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py index b90f0c3ae89..84f4cae7b60 100644 --- a/msgraph/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph/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/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph/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/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py index 9fb30f059f2..7666a3db1ef 100644 --- a/msgraph/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/items/delta/delta_get_response.py b/msgraph/generated/shares/item/list_/items/delta/delta_get_response.py index bff6d827310..4789074b417 100644 --- a/msgraph/generated/shares/item/list_/items/delta/delta_get_response.py +++ b/msgraph/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/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py b/msgraph/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py index 04ee963a42d..24189c75f17 100644 --- a/msgraph/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph/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/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py b/msgraph/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py index 890bc5f54f0..ff3f5fb3f28 100644 --- a/msgraph/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py +++ b/msgraph/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/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index d879e0d991a..957d12bc497 100644 --- a/msgraph/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py b/msgraph/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py index 636e2ce821e..006f6f1b635 100644 --- a/msgraph/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/shares/item/list_/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py index 021a9aa493b..ca7b96b6470 100644 --- a/msgraph/generated/shares/item/list_/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/shares/item/list_/items/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index ac6e4490206..280e0c1502f 100644 --- a/msgraph/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/items/item/versions/count/count_request_builder.py b/msgraph/generated/shares/item/list_/items/item/versions/count/count_request_builder.py index 0ebdf42c52b..785e9d19246 100644 --- a/msgraph/generated/shares/item/list_/items/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 4e9abf4e5e0..cd961ef0311 100644 --- a/msgraph/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/operations/count/count_request_builder.py b/msgraph/generated/shares/item/list_/operations/count/count_request_builder.py index 9dc750cb567..ac3e7efb66c 100644 --- a/msgraph/generated/shares/item/list_/operations/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/list_/subscriptions/count/count_request_builder.py b/msgraph/generated/shares/item/list_/subscriptions/count/count_request_builder.py index d48a752caff..4c8565e62d3 100644 --- a/msgraph/generated/shares/item/list_/subscriptions/count/count_request_builder.py +++ b/msgraph/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/generated/shares/item/permission/grant/grant_post_request_body.py b/msgraph/generated/shares/item/permission/grant/grant_post_request_body.py index 864af9f9b64..25a2322649b 100644 --- a/msgraph/generated/shares/item/permission/grant/grant_post_request_body.py +++ b/msgraph/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/generated/shares/item/permission/grant/grant_post_response.py b/msgraph/generated/shares/item/permission/grant/grant_post_response.py index 7938ff9c8ee..f9872491efe 100644 --- a/msgraph/generated/shares/item/permission/grant/grant_post_response.py +++ b/msgraph/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/generated/sites/add/add_post_request_body.py b/msgraph/generated/sites/add/add_post_request_body.py index 73447b1f16a..a3cae88dcdf 100644 --- a/msgraph/generated/sites/add/add_post_request_body.py +++ b/msgraph/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/generated/sites/add/add_post_response.py b/msgraph/generated/sites/add/add_post_response.py index a5984830a98..fb1a8d72dee 100644 --- a/msgraph/generated/sites/add/add_post_response.py +++ b/msgraph/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/generated/sites/count/count_request_builder.py b/msgraph/generated/sites/count/count_request_builder.py index d1486134ee0..afa41be0cb3 100644 --- a/msgraph/generated/sites/count/count_request_builder.py +++ b/msgraph/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/generated/sites/delta/delta_get_response.py b/msgraph/generated/sites/delta/delta_get_response.py index 7d405037944..6fa4fa7d6d5 100644 --- a/msgraph/generated/sites/delta/delta_get_response.py +++ b/msgraph/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/generated/sites/get_all_sites/get_all_sites_get_response.py b/msgraph/generated/sites/get_all_sites/get_all_sites_get_response.py index 2ab9db15669..9246b871f30 100644 --- a/msgraph/generated/sites/get_all_sites/get_all_sites_get_response.py +++ b/msgraph/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/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py b/msgraph/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py index c03dccd1fb6..ca4d36022a5 100644 --- a/msgraph/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py b/msgraph/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py index 1a316311b91..66454900114 100644 --- a/msgraph/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/columns/count/count_request_builder.py b/msgraph/generated/sites/item/columns/count/count_request_builder.py index 31b82c8c2ee..ee325f5fe0c 100644 --- a/msgraph/generated/sites/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/content_types/count/count_request_builder.py b/msgraph/generated/sites/item/content_types/count/count_request_builder.py index 9e7afaf45ff..8e0903f0f82 100644 --- a/msgraph/generated/sites/item/content_types/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index 0f74191e41c..6ed9ea33c3d 100644 --- a/msgraph/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph/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/generated/sites/item/content_types/item/base_types/count/count_request_builder.py b/msgraph/generated/sites/item/content_types/item/base_types/count/count_request_builder.py index 49457fb63bd..b7202e732e8 100644 --- a/msgraph/generated/sites/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/content_types/item/column_links/count/count_request_builder.py b/msgraph/generated/sites/item/content_types/item/column_links/count/count_request_builder.py index 11706210c3e..c7d1fb34bd8 100644 --- a/msgraph/generated/sites/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py index 1d6498e129f..dcb85ac2c2f 100644 --- a/msgraph/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/content_types/item/columns/count/count_request_builder.py b/msgraph/generated/sites/item/content_types/item/columns/count/count_request_builder.py index df277ea274d..824a841b09e 100644 --- a/msgraph/generated/sites/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph/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/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph/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/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 6ff470c5fd7..49aa46b6c59 100644 --- a/msgraph/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/drives/count/count_request_builder.py b/msgraph/generated/sites/item/drives/count/count_request_builder.py index 38074ce5ed6..363f8d4b006 100644 --- a/msgraph/generated/sites/item/drives/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/external_columns/count/count_request_builder.py b/msgraph/generated/sites/item/external_columns/count/count_request_builder.py index 49301d686c0..ad633058ed1 100644 --- a/msgraph/generated/sites/item/external_columns/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/sites/item/get_activities_by_interval/get_activities_by_interval_get_response.py index 508182517e4..93313e6d5f8 100644 --- a/msgraph/generated/sites/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/sites/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/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/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/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/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/generated/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_interval_get_response.py index f98acd6a013..8566df060e8 100644 --- a/msgraph/generated/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/sites/item/get_by_path_with_path/get_activities_by_interval/get_activities_by_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/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/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/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/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/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/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/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/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/generated/sites/item/items/count/count_request_builder.py b/msgraph/generated/sites/item/items/count/count_request_builder.py index f1874eec3b1..8305798891a 100644 --- a/msgraph/generated/sites/item/items/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index c5b82a39440..ca474c4af37 100644 --- a/msgraph/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/count/count_request_builder.py b/msgraph/generated/sites/item/lists/count/count_request_builder.py index 0596d682baa..ac0971be487 100644 --- a/msgraph/generated/sites/item/lists/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/columns/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/columns/count/count_request_builder.py index 6509abb9930..8836ec87155 100644 --- a/msgraph/generated/sites/item/lists/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/content_types/count/count_request_builder.py index f7052d7382b..786f283e274 100644 --- a/msgraph/generated/sites/item/lists/item/content_types/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph/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/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py index 19e1ce9da6b..289e91323b8 100644 --- a/msgraph/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py index b273980111c..b1e8df9f5d8 100644 --- a/msgraph/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py index e9ec0147bcf..98564795524 100644 --- a/msgraph/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py index 65203c1d51a..925ff6b34e2 100644 --- a/msgraph/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph/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/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph/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/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index df3bbc0e233..9a988eeb4bf 100644 --- a/msgraph/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/items/delta/delta_get_response.py b/msgraph/generated/sites/item/lists/item/items/delta/delta_get_response.py index 03323f22f31..3f4b610d5dd 100644 --- a/msgraph/generated/sites/item/lists/item/items/delta/delta_get_response.py +++ b/msgraph/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/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py b/msgraph/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py index e314ceebd62..f63a45deb5e 100644 --- a/msgraph/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph/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/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py b/msgraph/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py index 7541866cf90..91687fba125 100644 --- a/msgraph/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph/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/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 7b9493b1e17..228e26df7de 100644 --- a/msgraph/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py index a6d18c87591..3ea59105e87 100644 --- a/msgraph/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py b/msgraph/generated/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py index d9339be7923..ad4dea79696 100644 --- a/msgraph/generated/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_interval_get_response.py +++ b/msgraph/generated/sites/item/lists/item/items/item/get_activities_by_interval/get_activities_by_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/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/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/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/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/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py index fcf7180b8de..932777846b6 100644 --- a/msgraph/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 4ed7c15cf47..40cb6c9e8b6 100644 --- a/msgraph/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/operations/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/operations/count/count_request_builder.py index 5dd11e994f3..42043065353 100644 --- a/msgraph/generated/sites/item/lists/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py b/msgraph/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py index 7cd7b712623..c0043f0bd40 100644 --- a/msgraph/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/count/count_request_builder.py index 9472baa991b..1b98e3431f2 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph/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/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index c0d461f7cea..463ff55f67b 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index b17f450ac19..f4bc6c97e10 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index e80aa26007a..9582db1d531 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index 64e3f6c6aac..282c1734b9d 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py index 779f074655d..d225b375954 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index b10f6b09c8b..cf9be627048 100644 --- a/msgraph/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/sites/item/onenote/operations/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/operations/count/count_request_builder.py index 29bb3e66999..a89cf8813c6 100644 --- a/msgraph/generated/sites/item/onenote/operations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/pages/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/pages/count/count_request_builder.py index 461ea88ac64..b5f369c224c 100644 --- a/msgraph/generated/sites/item/onenote/pages/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 2e2dbeec7bd..86090bbe17a 100644 --- a/msgraph/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/sites/item/onenote/resources/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/resources/count/count_request_builder.py index 849bbae3661..4950c6542f8 100644 --- a/msgraph/generated/sites/item/onenote/resources/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/section_groups/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/section_groups/count/count_request_builder.py index 17dc4783752..dc4f7fda75d 100644 --- a/msgraph/generated/sites/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index f1d300f04c5..6838f19a0f2 100644 --- a/msgraph/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py index 11d852866f9..456ce7ff4fc 100644 --- a/msgraph/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index 01d3798467e..69ee553a334 100644 --- a/msgraph/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/sites/item/onenote/sections/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/sections/count/count_request_builder.py index d138a0ab5f7..91afaae1021 100644 --- a/msgraph/generated/sites/item/onenote/sections/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py index 2086214d494..12e816013b1 100644 --- a/msgraph/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/sites/item/operations/count/count_request_builder.py b/msgraph/generated/sites/item/operations/count/count_request_builder.py index 6d3265a57c7..47840be5a54 100644 --- a/msgraph/generated/sites/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/count/count_request_builder.py b/msgraph/generated/sites/item/pages/count/count_request_builder.py index 56d3be25138..3de8f40d92a 100644 --- a/msgraph/generated/sites/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/graph_site_page/count/count_request_builder.py b/msgraph/generated/sites/item/pages/graph_site_page/count/count_request_builder.py index c279771a307..f5807d3b311 100644 --- a/msgraph/generated/sites/item/pages/graph_site_page/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 2e61b4176ab..7855ab0f20b 100644 --- a/msgraph/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py index ed880dcf968..1d90b053fab 100644 --- a/msgraph/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph/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/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph/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/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py index 7532361d34f..899693839d2 100644 --- a/msgraph/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/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/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py b/msgraph/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py index 1bec99c50e4..72e36b8766f 100644 --- a/msgraph/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 61b3b799cdb..37304ae4a6c 100644 --- a/msgraph/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/permissions/count/count_request_builder.py b/msgraph/generated/sites/item/permissions/count/count_request_builder.py index a895c85a3c2..d9cb9a1ea3d 100644 --- a/msgraph/generated/sites/item/permissions/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/permissions/item/grant/grant_post_request_body.py b/msgraph/generated/sites/item/permissions/item/grant/grant_post_request_body.py index 1337af2a929..64a93d5e35e 100644 --- a/msgraph/generated/sites/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph/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/generated/sites/item/permissions/item/grant/grant_post_response.py b/msgraph/generated/sites/item/permissions/item/grant/grant_post_response.py index e6a49eccd42..c0b3e2b10ac 100644 --- a/msgraph/generated/sites/item/permissions/item/grant/grant_post_response.py +++ b/msgraph/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/generated/sites/item/sites/count/count_request_builder.py b/msgraph/generated/sites/item/sites/count/count_request_builder.py index 69d7752d9f4..a96a807fb14 100644 --- a/msgraph/generated/sites/item/sites/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/count/count_request_builder.py index eb5cd2ee5c7..6450566ea84 100644 --- a/msgraph/generated/sites/item/term_store/groups/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py index eed77058470..20b044459f3 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py index a24d9c69f44..12246d1928b 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py index c093e699c72..970ab74d7f7 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py index d154a0f2b3b..0d71a896a4e 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py index 98db1e0914a..bb64a6c8218 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py index 0de576727b1..f66e22a6c9c 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py index fa005001a51..22eb3a4ab47 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py index fad4b3c7080..f621f26fa77 100644 --- a/msgraph/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/count/count_request_builder.py index 98cbd190fe0..18c527b1aa4 100644 --- a/msgraph/generated/sites/item/term_store/sets/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py index c6d64605a41..ab8e559cf01 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py index a9eb45b36cd..710a6fc35a3 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py index 8e6b348e13e..3144a21816d 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py index 67a14e3af98..0626a0b19af 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py index 27f7d59b588..69092702ae5 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py index 2040025e605..31c5100305a 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py index 9a1ef6880a4..edf9a249fdc 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py index e524bd8c7b3..35729a86c56 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/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/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py index 665db4bf83a..5a2210f1d70 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py index f856a065792..fb5f9d60f56 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py index d14ca9beca6..5b670523ee6 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py index c4e23a63f60..ef4fb9857ad 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py index 29748b08986..e50f74dbeec 100644 --- a/msgraph/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/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/generated/sites/item/term_stores/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/count/count_request_builder.py index ed366018f9b..2be2da93516 100644 --- a/msgraph/generated/sites/item/term_stores/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_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/generated/sites/item/term_stores/item/groups/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/count/count_request_builder.py index 76842874965..53a8c198ed8 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/groups/item/sets/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/count/count_request_builder.py index 614b34245c4..a1cf7c17542 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/count/count_request_builder.py index fba88819fc7..9a28e82eb34 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/children/count/count_request_builder.py index ded9995f7d3..e24a6dc55df 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index f409a87db25..75ed00a316e 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/count/count_request_builder.py index f9dd57f6111..891f34dd0c0 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/relations/count/count_request_builder.py index 9c6a112aeb8..dc4422625f6 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/count/count_request_builder.py index 2f26ef3a1c4..61f0d04d2d2 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/count/count_request_builder.py index 4d38142ee55..37d1047c836 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index e743bdb3fa3..936c067ca08 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/count/count_request_builder.py index 46a2cb9f9d3..7d18112bb93 100644 --- a/msgraph/generated/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/count/count_request_builder.py index e8424e399a8..ab014b4e4b1 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/children/count/count_request_builder.py index d610a100101..75662ec48f0 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/children/item/children/count/count_request_builder.py index d4288900335..6b972b20fd2 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index 8cf8a01f611..590f84694f3 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/children/item/relations/count/count_request_builder.py index 8aa728864ee..e3a51bf3358 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/count/count_request_builder.py index d2d29786238..f62665aefea 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/count/count_request_builder.py index ead5085b18c..9e569e68ca4 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py index 7c325d0021a..a381f018a05 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py index b5e4a274fb0..de1fc694c05 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py index 4fbebaabd14..8940693e3bb 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/count/count_request_builder.py index cf69fb6cbb9..b1ef7dff1df 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/count/count_request_builder.py index e6de470386d..08a16342e67 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py index 2680f5b26da..17be5cbeac2 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py index b7c6188b7c6..76c57a301ce 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py index c7efd5dc7fc..7f1f98efe8f 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/item/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/generated/sites/item/term_stores/item/sets/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/relations/count/count_request_builder.py index 25b778063ba..92a63867544 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/terms/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/terms/count/count_request_builder.py index dd4f5640a7f..24410a898e2 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/terms/item/children/count/count_request_builder.py index 54623913fad..d7b5a099538 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 2e5b90af44e..96794501313 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/item/term_stores/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph/generated/sites/item/term_stores/item/sets/item/terms/item/relations/count/count_request_builder.py index f14236b695a..7ebb3baa187 100644 --- a/msgraph/generated/sites/item/term_stores/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph/generated/sites/item/term_stores/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/generated/sites/remove/remove_post_request_body.py b/msgraph/generated/sites/remove/remove_post_request_body.py index b19e0e80e24..c39e95b2180 100644 --- a/msgraph/generated/sites/remove/remove_post_request_body.py +++ b/msgraph/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/generated/sites/remove/remove_post_response.py b/msgraph/generated/sites/remove/remove_post_response.py index 0f268214b50..c573a7f8e71 100644 --- a/msgraph/generated/sites/remove/remove_post_response.py +++ b/msgraph/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/generated/sites/sites_request_builder.py b/msgraph/generated/sites/sites_request_builder.py index f1ac4ef7942..3a78960a522 100644 --- a/msgraph/generated/sites/sites_request_builder.py +++ b/msgraph/generated/sites/sites_request_builder.py @@ -51,10 +51,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py index ea1e9f4e361..09135d1432e 100644 --- a/msgraph/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py index 261f0bbbc09..7d51d86f367 100644 --- a/msgraph/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py index 45b0b8f2025..3dbc9420605 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py index 1d117aae8b3..df5e5b53ee1 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py index be5fbfef4cf..c7ce6a71df5 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py index c80a8f72e2a..d62e5d6da2d 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py index 0e0086c2f12..d0435e48997 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py index 69e0350981c..e1458f7a262 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py index 3716534fa6c..cd20fea9ad4 100644 --- a/msgraph/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py index 542b6abe71c..e33a66f579d 100644 --- a/msgraph/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py index b1a984dede9..44c98348df5 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py index 8b7eac68cc0..33cfefd3bcd 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py b/msgraph/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/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py index 6558f8399d5..52b1a1f1e48 100644 --- a/msgraph/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/protection_units/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/protection_units/count/count_request_builder.py index 33bfe93ff6a..948abbb36b0 100644 --- a/msgraph/generated/solutions/backup_restore/protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/restore_points/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/restore_points/count/count_request_builder.py index 307213a5e07..d4cf2cbe100 100644 --- a/msgraph/generated/solutions/backup_restore/restore_points/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py b/msgraph/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py index d4b8c14a035..a64a1c941e6 100644 --- a/msgraph/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py +++ b/msgraph/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/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py index 175f0bef75d..dba8898925c 100644 --- a/msgraph/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/service_apps/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/service_apps/count/count_request_builder.py index b7cf4de5371..09678b21db3 100644 --- a/msgraph/generated/solutions/backup_restore/service_apps/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py index 876121dc215..82a26e3d81a 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py index 8329e3293f7..8c8e16ad0f9 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py index 6b236699d84..5d2d21b7f9c 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py index 18b442fde35..d6bf0b09e99 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py index 12fa87a6b85..2c886ec398b 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py index 1341403086f..deff7c306be 100644 --- a/msgraph/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py b/msgraph/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py index 02b548561c3..5eb071d94a4 100644 --- a/msgraph/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/count/count_request_builder.py index f9a9e32b6c3..dff6449d04e 100644 --- a/msgraph/generated/solutions/booking_businesses/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py index ae96fa13d02..2e02cae6a15 100644 --- a/msgraph/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py index e773656ae19..d8af6594f74 100644 --- a/msgraph/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py index 15951122db7..1e1ca89ad0a 100644 --- a/msgraph/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py index 316f951a63b..a80c922cc05 100644 --- a/msgraph/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py b/msgraph/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py index 09a89f19c25..00601303432 100644 --- a/msgraph/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py b/msgraph/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py index ed8280e54f3..7e8d705260a 100644 --- a/msgraph/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/services/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/item/services/count/count_request_builder.py index edfcc1b237c..0115e61b082 100644 --- a/msgraph/generated/solutions/booking_businesses/item/services/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py b/msgraph/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py index 10d0537a1d8..e4c51280547 100644 --- a/msgraph/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/booking_currencies/count/count_request_builder.py b/msgraph/generated/solutions/booking_currencies/count/count_request_builder.py index 779b86d6c28..27dd0891bbd 100644 --- a/msgraph/generated/solutions/booking_currencies/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/events/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/events/count/count_request_builder.py index e6699848804..9243356e198 100644 --- a/msgraph/generated/solutions/virtual_events/events/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py index 06b975d6ed5..642e51ccb66 100644 --- a/msgraph/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py index 290c9841018..5a3fdd18bbc 100644 --- a/msgraph/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py index 8f146f8488f..0521d5de4d5 100644 --- a/msgraph/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 5eb9ae008ac..3f97f1bdd68 100644 --- a/msgraph/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/townhalls/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/count/count_request_builder.py index 821efb39840..6d5ca293d77 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py index e258fc8015f..99e466bec78 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py index e2906e58ce7..4519425db4e 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py index 706125f1640..8c9d1bc7020 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index ce177dbd36e..c9fbca4a77b 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/count/count_request_builder.py index 2970cd8d3f5..de250305a67 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py b/msgraph/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/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py index 5c6e641a036..a57b8b05fc4 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py index bd9af34c6fa..92f0e48974e 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py index 293ef341066..a117d7d931b 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py index 1c2aebc90f6..0e6a097b526 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py index 20a25550424..93f944e6f1f 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py index b448ea004b9..c187f153eb4 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph/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/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index b929f8099db..f04dddb2dae 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph/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/generated/storage/file_storage/containers/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/count/count_request_builder.py index ea809d1f0ea..4ecd69eaec0 100644 --- a/msgraph/generated/storage/file_storage/containers/count/count_request_builder.py +++ b/msgraph/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/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py index 0559281743e..9358e471e34 100644 --- a/msgraph/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py +++ b/msgraph/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/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py b/msgraph/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph/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/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py b/msgraph/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py +++ b/msgraph/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/generated/storage/settings/quota/services/count/count_request_builder.py b/msgraph/generated/storage/settings/quota/services/count/count_request_builder.py index 40314676304..d0a125082ff 100644 --- a/msgraph/generated/storage/settings/quota/services/count/count_request_builder.py +++ b/msgraph/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/generated/teams/count/count_request_builder.py b/msgraph/generated/teams/count/count_request_builder.py index 4f7e6f84b0e..a1bccfc3169 100644 --- a/msgraph/generated/teams/count/count_request_builder.py +++ b/msgraph/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/generated/teams/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/teams/get_all_messages/get_all_messages_get_response.py index 64e44ec19bc..0a512faa9ee 100644 --- a/msgraph/generated/teams/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/teams/item/all_channels/count/count_request_builder.py b/msgraph/generated/teams/item/all_channels/count/count_request_builder.py index f425de27d0e..29d9c51e2fd 100644 --- a/msgraph/generated/teams/item/all_channels/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/count/count_request_builder.py b/msgraph/generated/teams/item/channels/count/count_request_builder.py index 06bc41541bf..bf05256af1e 100644 --- a/msgraph/generated/teams/item/channels/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py index 3b558bc0af7..6c196fa4fd9 100644 --- a/msgraph/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index 0959677d400..3c23cc49539 100644 --- a/msgraph/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph/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/generated/teams/item/channels/item/members/add/add_post_request_body.py b/msgraph/generated/teams/item/channels/item/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph/generated/teams/item/channels/item/members/add/add_post_request_body.py +++ b/msgraph/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/generated/teams/item/channels/item/members/add/add_post_response.py b/msgraph/generated/teams/item/channels/item/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph/generated/teams/item/channels/item/members/add/add_post_response.py +++ b/msgraph/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/generated/teams/item/channels/item/members/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/members/count/count_request_builder.py index 1d090440427..c3f1b9d38c4 100644 --- a/msgraph/generated/teams/item/channels/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 81fad4ac72a..b07f4d14018 100644 --- a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -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 team or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ 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 team or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/messages/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/count/count_request_builder.py index a922f03ade2..9bea70a7134 100644 --- a/msgraph/generated/teams/item/channels/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/messages/delta/delta_get_response.py b/msgraph/generated/teams/item/channels/item/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph/generated/teams/item/channels/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py index b30ff922086..f924ce481bf 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py index 26b5a7da9ad..8ecd86b54b0 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index e42bd23147d..4bc206d9d71 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py index 24ede899892..2c4e885afc4 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RepliesR async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Create a new reply to a chatMessage in a specified channel. + Send a new reply to a chatMessage in a 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/channel-post-messagereply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new reply to a chatMessage in a specified channel. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py index e2779894d17..86680541759 100644 --- a/msgraph/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index c2b6a92141c..5e74c9eb30d 100644 --- a/msgraph/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/channels/item/tabs/count/count_request_builder.py b/msgraph/generated/teams/item/channels/item/tabs/count/count_request_builder.py index 22efc05ec44..42267693bc5 100644 --- a/msgraph/generated/teams/item/channels/item/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/clone/clone_post_request_body.py b/msgraph/generated/teams/item/clone/clone_post_request_body.py index 805cb483d6f..09222727e39 100644 --- a/msgraph/generated/teams/item/clone/clone_post_request_body.py +++ b/msgraph/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/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py index b755187f214..25400ff33ad 100644 --- a/msgraph/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/incoming_channels/count/count_request_builder.py b/msgraph/generated/teams/item/incoming_channels/count/count_request_builder.py index 18ef20e6b83..296740da575 100644 --- a/msgraph/generated/teams/item/incoming_channels/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/installed_apps/count/count_request_builder.py b/msgraph/generated/teams/item/installed_apps/count/count_request_builder.py index 9cf190b9d53..812943ef951 100644 --- a/msgraph/generated/teams/item/installed_apps/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 064069f6270..f27e8432230 100644 --- a/msgraph/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph/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/generated/teams/item/members/add/add_post_request_body.py b/msgraph/generated/teams/item/members/add/add_post_request_body.py index 5ba4f65c762..08583a9ba36 100644 --- a/msgraph/generated/teams/item/members/add/add_post_request_body.py +++ b/msgraph/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/generated/teams/item/members/add/add_post_response.py b/msgraph/generated/teams/item/members/add/add_post_response.py index d76a61ab920..8bde4d24a21 100644 --- a/msgraph/generated/teams/item/members/add/add_post_response.py +++ b/msgraph/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/generated/teams/item/members/count/count_request_builder.py b/msgraph/generated/teams/item/members/count/count_request_builder.py index a96d5b7d279..f3f9316528f 100644 --- a/msgraph/generated/teams/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/operations/count/count_request_builder.py b/msgraph/generated/teams/item/operations/count/count_request_builder.py index b925f06567f..77687619e5d 100644 --- a/msgraph/generated/teams/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/permission_grants/count/count_request_builder.py b/msgraph/generated/teams/item/permission_grants/count/count_request_builder.py index c01336d1394..f16b8356347 100644 --- a/msgraph/generated/teams/item/permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/members/add/add_post_request_body.py b/msgraph/generated/teams/item/primary_channel/members/add/add_post_request_body.py index 032237a2269..c8befc22279 100644 --- a/msgraph/generated/teams/item/primary_channel/members/add/add_post_request_body.py +++ b/msgraph/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/generated/teams/item/primary_channel/members/add/add_post_response.py b/msgraph/generated/teams/item/primary_channel/members/add/add_post_response.py index 13e1287093e..8d9ff833dae 100644 --- a/msgraph/generated/teams/item/primary_channel/members/add/add_post_response.py +++ b/msgraph/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/generated/teams/item/primary_channel/members/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/members/count/count_request_builder.py index b2024c4f378..d1c412fd259 100644 --- a/msgraph/generated/teams/item/primary_channel/members/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/messages/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/messages/count/count_request_builder.py index b7089822097..db9f19c4fa0 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/messages/delta/delta_get_response.py b/msgraph/generated/teams/item/primary_channel/messages/delta/delta_get_response.py index a5f82204bdf..57e9f146121 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index 76477a0b145..8bc186c61cc 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py index a2efc7f4a28..7bc2c887631 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index b9a2f3108b6..c0bcb73909d 100644 --- a/msgraph/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py index e181aa5337a..a9f2a2dab88 100644 --- a/msgraph/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index 2201ff95114..74a928f3adc 100644 --- a/msgraph/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/primary_channel/tabs/count/count_request_builder.py b/msgraph/generated/teams/item/primary_channel/tabs/count/count_request_builder.py index 67d95153156..8f3d53a71cf 100644 --- a/msgraph/generated/teams/item/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py index ed83f8f701b..76edf4747d5 100644 --- a/msgraph/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py index ca3d874b4f7..58cdfc23762 100644 --- a/msgraph/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/open_shifts/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/open_shifts/count/count_request_builder.py index 263349159b4..15818cdcb41 100644 --- a/msgraph/generated/teams/item/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py index 9e6f4e6b9a2..93f703e05c7 100644 --- a/msgraph/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/shifts/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/shifts/count/count_request_builder.py index 1335ad74cb0..1b69cbbcb3d 100644 --- a/msgraph/generated/teams/item/schedule/shifts/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py index 5d62c4f90b5..0c02f6ebdca 100644 --- a/msgraph/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py index 344ab78fc66..0354cb6d596 100644 --- a/msgraph/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py index 0b239431f43..395b24ed3a0 100644 --- a/msgraph/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/schedule/times_off/count/count_request_builder.py b/msgraph/generated/teams/item/schedule/times_off/count/count_request_builder.py index bdda57ad67b..5960242f3c9 100644 --- a/msgraph/generated/teams/item/schedule/times_off/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py index e6aa19841b1..18d45faa1ab 100644 --- a/msgraph/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph/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/generated/teams/item/tags/count/count_request_builder.py b/msgraph/generated/teams/item/tags/count/count_request_builder.py index eb03732c28f..be8f654a571 100644 --- a/msgraph/generated/teams/item/tags/count/count_request_builder.py +++ b/msgraph/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/generated/teams/item/tags/item/members/count/count_request_builder.py b/msgraph/generated/teams/item/tags/item/members/count/count_request_builder.py index ccf0ab58ebb..bc5f80a0be8 100644 --- a/msgraph/generated/teams/item/tags/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/teams_templates/count/count_request_builder.py b/msgraph/generated/teams_templates/count/count_request_builder.py index 7c2482dbfc2..2aac3f700e4 100644 --- a/msgraph/generated/teams_templates/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_chats/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_chats/count/count_request_builder.py index 29c211f0d11..46781ec5dd7 100644 --- a/msgraph/generated/teamwork/deleted_chats/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/count/count_request_builder.py index de7663dc8cd..494c6095cca 100644 --- a/msgraph/generated/teamwork/deleted_teams/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py index d50b6d4bc2d..3c38fee4672 100644 --- a/msgraph/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py index 2528c7ee50b..7127fe53e66 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py index 743fbbbc659..b2d96c47ecd 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index ef204f71243..f5eb1125c37 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py index 169ae41524a..ab7e9af2cb0 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py index 5eee4499256..ffa48911694 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py index 2dc3228192b..756aff9b8b7 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py index 5f851ffda00..b3012997cbc 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py index 963de503022..d986bd9e5da 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py index 08c45c79eba..0f89c6f1fb4 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 37ceabbbc2c..93971c418d1 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py index d13d3fea4b3..1a808a71661 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index 3f6d7e2d9de..04eb3746dce 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py index 6c29ef01462..c3866e35d39 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py b/msgraph/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py index 6b41223ff70..f5e05169bb6 100644 --- a/msgraph/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py +++ b/msgraph/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/generated/teamwork/workforce_integrations/count/count_request_builder.py b/msgraph/generated/teamwork/workforce_integrations/count/count_request_builder.py index 97e2118c50b..9bb8c9e5c4c 100644 --- a/msgraph/generated/teamwork/workforce_integrations/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py b/msgraph/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py index b302af674cf..e7b4009e9e4 100644 --- a/msgraph/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py b/msgraph/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py index a0b25952657..be8b43b3ab8 100644 --- a/msgraph/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py b/msgraph/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py index 1520019c3e2..ead45b42918 100644 --- a/msgraph/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py b/msgraph/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py index c5b5083eeb2..1ef0ec89871 100644 --- a/msgraph/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py b/msgraph/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py index 215e712221e..3b39b02072c 100644 --- a/msgraph/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py b/msgraph/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py index 0ba475b8dda..34ec5421fc9 100644 --- a/msgraph/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py +++ b/msgraph/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/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py b/msgraph/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py index ff7923fa483..973146d8ff5 100644 --- a/msgraph/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py +++ b/msgraph/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/generated/users/count/count_request_builder.py b/msgraph/generated/users/count/count_request_builder.py index 28009685aa8..0eee56b1698 100644 --- a/msgraph/generated/users/count/count_request_builder.py +++ b/msgraph/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/generated/users/delta/delta_get_response.py b/msgraph/generated/users/delta/delta_get_response.py index b204b84464b..e44477b48d3 100644 --- a/msgraph/generated/users/delta/delta_get_response.py +++ b/msgraph/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/generated/users/delta/delta_request_builder.py b/msgraph/generated/users/delta/delta_request_builder.py index 166177058ff..983530e37bd 100644 --- a/msgraph/generated/users/delta/delta_request_builder.py +++ b/msgraph/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-1.0 @@ -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/generated/users/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/users/get_available_extension_properties/get_available_extension_properties_post_response.py index 67aa9ab971a..0e75cd7cf3a 100644 --- a/msgraph/generated/users/get_available_extension_properties/get_available_extension_properties_post_response.py +++ b/msgraph/generated/users/get_available_extension_properties/get_available_extension_properties_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.extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph/generated/users/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/users/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph/generated/users/get_by_ids/get_by_ids_post_response.py +++ b/msgraph/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/generated/users/item/activities/count/count_request_builder.py b/msgraph/generated/users/item/activities/count/count_request_builder.py index c31ab3a1dbf..095e8f61de3 100644 --- a/msgraph/generated/users/item/activities/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/activities/item/history_items/count/count_request_builder.py b/msgraph/generated/users/item/activities/item/history_items/count/count_request_builder.py index 4018bfb3acc..80adc82f52f 100644 --- a/msgraph/generated/users/item/activities/item/history_items/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/activities/recent/recent_get_response.py b/msgraph/generated/users/item/activities/recent/recent_get_response.py index 303ff73d4aa..f48c96e216d 100644 --- a/msgraph/generated/users/item/activities/recent/recent_get_response.py +++ b/msgraph/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/generated/users/item/agreement_acceptances/count/count_request_builder.py b/msgraph/generated/users/item/agreement_acceptances/count/count_request_builder.py index bd2ac4a4a32..475c5531d78 100644 --- a/msgraph/generated/users/item/agreement_acceptances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/app_role_assignments/count/count_request_builder.py b/msgraph/generated/users/item/app_role_assignments/count/count_request_builder.py index ab20554636d..417a5261d08 100644 --- a/msgraph/generated/users/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/assign_license/assign_license_post_request_body.py b/msgraph/generated/users/item/assign_license/assign_license_post_request_body.py index d274e0741b7..62c9bcac901 100644 --- a/msgraph/generated/users/item/assign_license/assign_license_post_request_body.py +++ b/msgraph/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/generated/users/item/authentication/email_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/email_methods/count/count_request_builder.py index bf428b39a7a..98232c4eb2e 100644 --- a/msgraph/generated/users/item/authentication/email_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/fido2_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/fido2_methods/count/count_request_builder.py index 69d7fb80966..0807f00aab3 100644 --- a/msgraph/generated/users/item/authentication/fido2_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/methods/count/count_request_builder.py index 4e37f4eaa9c..8b38a77ad2e 100644 --- a/msgraph/generated/users/item/authentication/methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py index a66135eca56..f43d62659bb 100644 --- a/msgraph/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/operations/count/count_request_builder.py b/msgraph/generated/users/item/authentication/operations/count/count_request_builder.py index 1d138458528..30f50be60f9 100644 --- a/msgraph/generated/users/item/authentication/operations/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/password_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/password_methods/count/count_request_builder.py index 38f6b9d12cf..916d11637c5 100644 --- a/msgraph/generated/users/item/authentication/password_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/phone_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/phone_methods/count/count_request_builder.py index 20d5e464828..c966c900cba 100644 --- a/msgraph/generated/users/item/authentication/phone_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py index 8c4cea84dc9..37763974eb9 100644 --- a/msgraph/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py index 2112f284e00..24bfe151d83 100644 --- a/msgraph/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py b/msgraph/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py index c58308782fb..a675ae67922 100644 --- a/msgraph/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph/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/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph/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/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py index 35de1303bee..c8ca92d60c8 100644 --- a/msgraph/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_view/count/count_request_builder.py index da960f45dbe..d2476461990 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/delta/delta_get_response.py b/msgraph/generated/users/item/calendar/calendar_view/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py index c87791c09ce..b0aff28a20b 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py index 83dba56372a..40ded6599f0 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py index 3b98adaef38..eb3318b290c 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 0127adf24ef..31a0cd260f4 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py index 2e0d305d7a5..ed6d6dd085e 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/count/count_request_builder.py b/msgraph/generated/users/item/calendar/events/count/count_request_builder.py index 25db9ca5ad3..0107b73e6d6 100644 --- a/msgraph/generated/users/item/calendar/events/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/events/delta/delta_get_response.py b/msgraph/generated/users/item/calendar/events/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph/generated/users/item/calendar/events/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py index 12983281ab1..82d13744b4c 100644 --- a/msgraph/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph/generated/users/item/calendar/events/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py index fcffc1aacaa..943f86dd2e9 100644 --- a/msgraph/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/events/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph/generated/users/item/calendar/events/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendar/events/item/instances/count/count_request_builder.py index b4b55b19b3f..f68886379a6 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py index 03116d614c8..b20bceb7eb1 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py index a93edd7684a..e42ce2a7cba 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py b/msgraph/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py index a6c1c3389a8..959478db3b8 100644 --- a/msgraph/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar/get_schedule/get_schedule_post_response.py b/msgraph/generated/users/item/calendar/get_schedule/get_schedule_post_response.py index df00ee48e7d..41c1e11f113 100644 --- a/msgraph/generated/users/item/calendar/get_schedule/get_schedule_post_response.py +++ b/msgraph/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/generated/users/item/calendar_groups/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/count/count_request_builder.py index 060de9d1372..3b596b402a6 100644 --- a/msgraph/generated/users/item/calendar_groups/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py index 00aa2b1ea29..414afa73fd0 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py index 032df1cf960..738571b3aa6 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py index e951ebc9e09..bea50205b6c 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py index 313d069bc4f..00bb32a69c8 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py index 3df525baaa1..767bb7f4396 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py index d921ca60d79..6ed84895300 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py index d367c502a3a..14ee9c4ed79 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py index eef1b9a6c37..fba43055bfc 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py index f810e176fd6..780322d8c71 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py index 8e550f9ffb3..847aa24b0f6 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py index b0bcd014be3..f09695f0bbf 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py index 94e896c5370..5417a439f90 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py index 7d3c9b70bc3..adf56f99ee9 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py b/msgraph/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py index 93be37d15f5..94a3d694765 100644 --- a/msgraph/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py +++ b/msgraph/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/generated/users/item/calendar_view/count/count_request_builder.py b/msgraph/generated/users/item/calendar_view/count/count_request_builder.py index e64819eb762..ca2ff239529 100644 --- a/msgraph/generated/users/item/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_view/delta/delta_get_response.py b/msgraph/generated/users/item/calendar_view/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph/generated/users/item/calendar_view/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py index 43ec0ce7214..ca23bf135a6 100644 --- a/msgraph/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph/generated/users/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py index 59546b65fba..de7c30bce7e 100644 --- a/msgraph/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph/generated/users/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendar_view/item/instances/count/count_request_builder.py index 270f3ec5164..a35578a12b0 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 985b0c38a6c..7eece4cfc30 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index f09948ec777..d1987490e52 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/count/count_request_builder.py b/msgraph/generated/users/item/calendars/count/count_request_builder.py index ef5e14d4c48..08c0fd72df4 100644 --- a/msgraph/generated/users/item/calendars/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph/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/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py index 72b5088a8d3..13042cc28a3 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py index e560f6b4212..5f2d655af13 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py b/msgraph/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py index 03bbc4cacce..1a2c1ebb88a 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py index 16d5367a40f..9975123c9fd 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py index 0123351af58..a91da1806f8 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 0b31c1ae40b..fe8f63722f3 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index 6f1f1f85252..1baa1d7078f 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/events/count/count_request_builder.py index f7af0fcc069..2c4ee4714bd 100644 --- a/msgraph/generated/users/item/calendars/item/events/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/events/delta/delta_get_response.py b/msgraph/generated/users/item/calendars/item/events/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph/generated/users/item/calendars/item/events/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py index fc4d69b9d17..1c5976510ef 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py index fff6feddfca..31b7d4db8ce 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py index 957bc08e4f2..77066c4d4d2 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py index 6d4b3a36460..5f4c559e069 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py index 91f36f4bc9e..e88b773d798 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py b/msgraph/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py index 59b4d73d965..19434842398 100644 --- a/msgraph/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py +++ b/msgraph/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/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py b/msgraph/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py index 6c794820e10..13b57c01cd1 100644 --- a/msgraph/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py +++ b/msgraph/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/generated/users/item/chats/count/count_request_builder.py b/msgraph/generated/users/item/chats/count/count_request_builder.py index 43e3722dbfe..a9393bdd8b7 100644 --- a/msgraph/generated/users/item/chats/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py index 3b558bc0af7..6c196fa4fd9 100644 --- a/msgraph/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/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/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py index 0959677d400..3c23cc49539 100644 --- a/msgraph/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph/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/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py b/msgraph/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py index 8358a91d5af..202234d0947 100644 --- a/msgraph/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py +++ b/msgraph/generated/users/item/chats/item/hide_for_user/hide_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/generated/users/item/chats/item/installed_apps/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/installed_apps/count/count_request_builder.py index da3f251dd42..05a67bd5d79 100644 --- a/msgraph/generated/users/item/chats/item/installed_apps/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 41f2e1ff581..badd0a513a3 100644 --- a/msgraph/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph/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/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py b/msgraph/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py index b9d3c358504..7c08909dc66 100644 --- a/msgraph/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py +++ b/msgraph/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_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/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py b/msgraph/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py index 9b4e12a43cf..6ee9c159bdb 100644 --- a/msgraph/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py +++ b/msgraph/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_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.teamwork_user_identity import TeamworkUserIdentity + writer.write_datetime_value("lastMessageReadDateTime", self.last_message_read_date_time) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/users/item/chats/item/members/add/add_post_request_body.py b/msgraph/generated/users/item/chats/item/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph/generated/users/item/chats/item/members/add/add_post_request_body.py +++ b/msgraph/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/generated/users/item/chats/item/members/add/add_post_response.py b/msgraph/generated/users/item/chats/item/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph/generated/users/item/chats/item/members/add/add_post_response.py +++ b/msgraph/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/generated/users/item/chats/item/members/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/members/count/count_request_builder.py index 9cb780ff63f..921a8cfe794 100644 --- a/msgraph/generated/users/item/chats/item/members/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/messages/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/messages/count/count_request_builder.py index 0f4b3aa9a6f..e56c956d96a 100644 --- a/msgraph/generated/users/item/chats/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/messages/delta/delta_get_response.py b/msgraph/generated/users/item/chats/item/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph/generated/users/item/chats/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py index b0dee6ac373..86eae877153 100644 --- a/msgraph/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py index ae64b049144..0e9060f1c90 100644 --- a/msgraph/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 7690f989b78..ef5e66a6500 100644 --- a/msgraph/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/permission_grants/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/permission_grants/count/count_request_builder.py index 62e5ac04b1b..ff62be0ad6e 100644 --- a/msgraph/generated/users/item/chats/item/permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py index 92534023df0..9279788fb1b 100644 --- a/msgraph/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py index 8f6b42d6bb1..b2ae4df2260 100644 --- a/msgraph/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph/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/generated/users/item/chats/item/tabs/count/count_request_builder.py b/msgraph/generated/users/item/chats/item/tabs/count/count_request_builder.py index af8aa77c5aa..7fb728246e7 100644 --- a/msgraph/generated/users/item/chats/item/tabs/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py b/msgraph/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py index 157b99c0d0e..ecb6c691935 100644 --- a/msgraph/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py +++ b/msgraph/generated/users/item/chats/item/unhide_for_user/unhide_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/generated/users/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/users/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph/generated/users/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph/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/generated/users/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/users/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph/generated/users/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph/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/generated/users/item/cloud_clipboard/items/count/count_request_builder.py b/msgraph/generated/users/item/cloud_clipboard/items/count/count_request_builder.py index d029169c2b0..8147a0c2318 100644 --- a/msgraph/generated/users/item/cloud_clipboard/items/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contact_folders/count/count_request_builder.py b/msgraph/generated/users/item/contact_folders/count/count_request_builder.py index b6c60ff38dd..17443bb1008 100644 --- a/msgraph/generated/users/item/contact_folders/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contact_folders/delta/delta_get_response.py b/msgraph/generated/users/item/contact_folders/delta/delta_get_response.py index 02dd1c5012d..2d353c031e7 100644 --- a/msgraph/generated/users/item/contact_folders/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py b/msgraph/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py index ad62e1cc6bd..d4904f203f2 100644 --- a/msgraph/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py b/msgraph/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py index ea950d8c383..10fcf421a54 100644 --- a/msgraph/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py b/msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py index 20a36aec69f..cdb635abd8c 100644 --- a/msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py b/msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py index dd62617d524..ed215775f60 100644 --- a/msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py index 43b525a9e53..18dbac6fd3c 100644 --- a/msgraph/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py b/msgraph/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py index f50edce11e6..1403f9a1491 100644 --- a/msgraph/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py b/msgraph/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py index 489a114c690..6f8e2ffc988 100644 --- a/msgraph/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py index 83ba57a6cae..10835da1f39 100644 --- a/msgraph/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contacts/count/count_request_builder.py b/msgraph/generated/users/item/contacts/count/count_request_builder.py index 8ca0dae77af..6062c7abe7e 100644 --- a/msgraph/generated/users/item/contacts/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/contacts/delta/delta_get_response.py b/msgraph/generated/users/item/contacts/delta/delta_get_response.py index e040d3f3ae1..130258f98d8 100644 --- a/msgraph/generated/users/item/contacts/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/contacts/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/contacts/item/extensions/count/count_request_builder.py index 968f6f41098..32c6aaf4d7c 100644 --- a/msgraph/generated/users/item/contacts/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/created_objects/count/count_request_builder.py b/msgraph/generated/users/item/created_objects/count/count_request_builder.py index cbeb512fe9d..9d9ce55efc0 100644 --- a/msgraph/generated/users/item/created_objects/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py b/msgraph/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py index 1b91f55c42f..8eb581f935f 100644 --- a/msgraph/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py b/msgraph/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py index 8096f02f43f..3e3098847fd 100644 --- a/msgraph/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/direct_reports/count/count_request_builder.py b/msgraph/generated/users/item/direct_reports/count/count_request_builder.py index 73eabcf0321..e843be9cb27 100644 --- a/msgraph/generated/users/item/direct_reports/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py b/msgraph/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py index 575927b737b..10dd5babc69 100644 --- a/msgraph/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/direct_reports/graph_user/count/count_request_builder.py b/msgraph/generated/users/item/direct_reports/graph_user/count/count_request_builder.py index 7289c4ddb48..10be3735ec6 100644 --- a/msgraph/generated/users/item/direct_reports/graph_user/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/drives/count/count_request_builder.py b/msgraph/generated/users/item/drives/count/count_request_builder.py index 341747131ed..85709fb08db 100644 --- a/msgraph/generated/users/item/drives/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py b/msgraph/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py index 485b88b216f..932d0f88436 100644 --- a/msgraph/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/count/count_request_builder.py b/msgraph/generated/users/item/events/count/count_request_builder.py index 0ce6ad1b1e6..eb2a5a774a3 100644 --- a/msgraph/generated/users/item/events/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/delta/delta_get_response.py b/msgraph/generated/users/item/events/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph/generated/users/item/events/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/events/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/events/item/attachments/count/count_request_builder.py index 68b0b708413..87ffa87794a 100644 --- a/msgraph/generated/users/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/events/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph/generated/users/item/events/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/events/item/extensions/count/count_request_builder.py index 71f0caf5d34..f6d1eeb9b89 100644 --- a/msgraph/generated/users/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/events/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph/generated/users/item/events/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/events/item/instances/count/count_request_builder.py index 568caf2e52f..55b0b0b26c9 100644 --- a/msgraph/generated/users/item/events/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/item/instances/delta/delta_get_response.py b/msgraph/generated/users/item/events/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph/generated/users/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py index d1a5360a982..7e29fb4a5bb 100644 --- a/msgraph/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py index 0e887a761b5..419ca6e022e 100644 --- a/msgraph/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph/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/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph/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/generated/users/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/extensions/count/count_request_builder.py index f4011f672de..2a5b70e4b02 100644 --- a/msgraph/generated/users/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py b/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py index ee7c06436e2..80ae8eb1431 100644 --- a/msgraph/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py +++ b/msgraph/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/generated/users/item/followed_sites/add/add_post_request_body.py b/msgraph/generated/users/item/followed_sites/add/add_post_request_body.py index 55909bc1c21..d5504cf6e16 100644 --- a/msgraph/generated/users/item/followed_sites/add/add_post_request_body.py +++ b/msgraph/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/generated/users/item/followed_sites/add/add_post_response.py b/msgraph/generated/users/item/followed_sites/add/add_post_response.py index cccf2fb1a86..60ac780c4b9 100644 --- a/msgraph/generated/users/item/followed_sites/add/add_post_response.py +++ b/msgraph/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/generated/users/item/followed_sites/count/count_request_builder.py b/msgraph/generated/users/item/followed_sites/count/count_request_builder.py index f389a551f75..8489c1a0861 100644 --- a/msgraph/generated/users/item/followed_sites/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/followed_sites/remove/remove_post_request_body.py b/msgraph/generated/users/item/followed_sites/remove/remove_post_request_body.py index 57701ce4446..9cbbba81e98 100644 --- a/msgraph/generated/users/item/followed_sites/remove/remove_post_request_body.py +++ b/msgraph/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/generated/users/item/followed_sites/remove/remove_post_response.py b/msgraph/generated/users/item/followed_sites/remove/remove_post_response.py index 31d429a1795..6261a971949 100644 --- a/msgraph/generated/users/item/followed_sites/remove/remove_post_response.py +++ b/msgraph/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/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py b/msgraph/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py index 66b4d27cd9b..dc7c1965235 100644 --- a/msgraph/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py +++ b/msgraph/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/generated/users/item/get_mail_tips/get_mail_tips_post_response.py b/msgraph/generated/users/item/get_mail_tips/get_mail_tips_post_response.py index 43d0c15827d..e1d41c13e08 100644 --- a/msgraph/generated/users/item/get_mail_tips/get_mail_tips_post_response.py +++ b/msgraph/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/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py b/msgraph/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py index 85dda8928ab..0b49fd9c4ab 100644 --- a/msgraph/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py +++ b/msgraph/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/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py b/msgraph/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py index 78224768fe4..a1f20f2e58b 100644 --- a/msgraph/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py +++ b/msgraph/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/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py b/msgraph/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py index ddc7c3e8cd9..167a3297b56 100644 --- a/msgraph/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py +++ b/msgraph/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/generated/users/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/users/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph/generated/users/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph/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/generated/users/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/users/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph/generated/users/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph/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/generated/users/item/inference_classification/overrides/count/count_request_builder.py b/msgraph/generated/users/item/inference_classification/overrides/count/count_request_builder.py index 92a50e1e1fa..a634e42d918 100644 --- a/msgraph/generated/users/item/inference_classification/overrides/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/insights/shared/count/count_request_builder.py b/msgraph/generated/users/item/insights/shared/count/count_request_builder.py index 186ac8d8eee..36cdec116fb 100644 --- a/msgraph/generated/users/item/insights/shared/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/insights/trending/count/count_request_builder.py b/msgraph/generated/users/item/insights/trending/count/count_request_builder.py index ed4f35bef5f..75ad9e5caed 100644 --- a/msgraph/generated/users/item/insights/trending/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/insights/used/count/count_request_builder.py b/msgraph/generated/users/item/insights/used/count/count_request_builder.py index e2d877059af..e2ff0634cb2 100644 --- a/msgraph/generated/users/item/insights/used/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/joined_teams/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/count/count_request_builder.py index d3f94093009..5d7bcb5b2d7 100644 --- a/msgraph/generated/users/item/joined_teams/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/joined_teams/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/users/item/joined_teams/get_all_messages/get_all_messages_get_response.py index 3b558bc0af7..6c196fa4fd9 100644 --- a/msgraph/generated/users/item/joined_teams/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/all_channels/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/all_channels/count/count_request_builder.py index 987a41963e9..1bf6c637df4 100644 --- a/msgraph/generated/users/item/joined_teams/item/all_channels/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/count/count_request_builder.py index 1946dd7faa9..636b2ae44c3 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/get_all_messages/get_all_messages_get_response.py b/msgraph/generated/users/item/joined_teams/item/channels/get_all_messages/get_all_messages_get_response.py index 22ae1384839..eff4317cc6a 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph/generated/users/item/joined_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index aedb37339ec..8c7ddd5a4ac 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/members/add/add_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/channels/item/members/add/add_post_request_body.py index 68c3cac0c97..7bc52c7473d 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/members/add/add_post_request_body.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/members/add/add_post_response.py b/msgraph/generated/users/item/joined_teams/item/channels/item/members/add/add_post_response.py index 5a4048d8110..c6839de0652 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/members/add/add_post_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/members/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/members/count/count_request_builder.py index a4accdb8e3f..74e7333f219 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/members/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/messages/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/count/count_request_builder.py index a24f010b641..b6ceee3002a 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_get_response.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py index c3d29cc60db..2824763d686 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/count/count_request_builder.py index afac43e1dfd..7a1f5a51716 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py index 8fb262d8095..22cf80cccaf 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index a85030e3342..a1859fdd593 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/shared_with_teams/count/count_request_builder.py index 7db7a1d7eb4..474895b3689 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index 837ce2c110c..f91ac6f4efb 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/channels/item/tabs/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/tabs/count/count_request_builder.py index a4ef745f34f..15a5d32adfe 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/tabs/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/clone/clone_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/clone/clone_post_request_body.py index 8c55bb5fdd8..a0d82b1535d 100644 --- a/msgraph/generated/users/item/joined_teams/item/clone/clone_post_request_body.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/group/service_provisioning_errors/count/count_request_builder.py index defd599ed7c..2aad92318a3 100644 --- a/msgraph/generated/users/item/joined_teams/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/incoming_channels/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/incoming_channels/count/count_request_builder.py index 4f1b214ec37..2efb9cc2ba5 100644 --- a/msgraph/generated/users/item/joined_teams/item/incoming_channels/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/installed_apps/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/installed_apps/count/count_request_builder.py index f688003dc48..6b6259b1f10 100644 --- a/msgraph/generated/users/item/joined_teams/item/installed_apps/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 41f2e1ff581..badd0a513a3 100644 --- a/msgraph/generated/users/item/joined_teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/members/add/add_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph/generated/users/item/joined_teams/item/members/add/add_post_request_body.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/members/add/add_post_response.py b/msgraph/generated/users/item/joined_teams/item/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph/generated/users/item/joined_teams/item/members/add/add_post_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/members/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/members/count/count_request_builder.py index f894f8128cc..7499b0efcc3 100644 --- a/msgraph/generated/users/item/joined_teams/item/members/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/operations/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/operations/count/count_request_builder.py index 21b6dad862f..7cf9ab5b807 100644 --- a/msgraph/generated/users/item/joined_teams/item/operations/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/permission_grants/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/permission_grants/count/count_request_builder.py index 0fd7c35848a..1c2b59c6395 100644 --- a/msgraph/generated/users/item/joined_teams/item/permission_grants/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/members/add/add_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/members/add/add_post_request_body.py index 169ae41524a..ab7e9af2cb0 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/members/add/add_post_request_body.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/members/add/add_post_response.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/members/add/add_post_response.py index 5eee4499256..ffa48911694 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/members/add/add_post_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/members/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/members/count/count_request_builder.py index af6511f77f4..fbb8f6f4ffe 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/members/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/messages/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/count/count_request_builder.py index 03312da7f47..04392f9b550 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_get_response.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index 5af43e19b9c..8c5663ad1d4 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/count/count_request_builder.py index df76408520d..b2cd69c0f2c 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 83e575cee31..b3e0dfe9bc9 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/shared_with_teams/count/count_request_builder.py index 3ac16c6a83e..98c533fecb1 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index 11cbcb72189..885f44c5054 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/primary_channel/tabs/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/tabs/count/count_request_builder.py index fe7d4c9f4b1..ff6217885c9 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/offer_shift_requests/count/count_request_builder.py index 67b064c1a30..112b895bb4c 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/open_shift_change_requests/count/count_request_builder.py index 458c3241bde..c578159cf5b 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/open_shifts/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/open_shifts/count/count_request_builder.py index 5dd65f4606c..d82f6e4fa7e 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/scheduling_groups/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/scheduling_groups/count/count_request_builder.py index 71c968059be..def4c1ba09d 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/shifts/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/shifts/count/count_request_builder.py index 9918bd25036..f7dbc47b394 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/shifts/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py index a7c2e71781e..f9826bae5cb 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/time_off_reasons/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/time_off_reasons/count/count_request_builder.py index bbc354ea9bc..d87f53db7f1 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/time_off_requests/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/time_off_requests/count/count_request_builder.py index 8b399d3d02f..bb98804ad23 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/schedule/times_off/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/schedule/times_off/count/count_request_builder.py index 45f2903a617..4ed4190e931 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/times_off/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/send_activity_notification/send_activity_notification_post_request_body.py index 8f6b42d6bb1..b2ae4df2260 100644 --- a/msgraph/generated/users/item/joined_teams/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/tags/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/tags/count/count_request_builder.py index afffbcc37b2..50c2a42a551 100644 --- a/msgraph/generated/users/item/joined_teams/item/tags/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/joined_teams/item/tags/item/members/count/count_request_builder.py b/msgraph/generated/users/item/joined_teams/item/tags/item/members/count/count_request_builder.py index 970707b35a1..cfd20c4fae8 100644 --- a/msgraph/generated/users/item/joined_teams/item/tags/item/members/count/count_request_builder.py +++ b/msgraph/generated/users/item/joined_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/generated/users/item/license_details/count/count_request_builder.py b/msgraph/generated/users/item/license_details/count/count_request_builder.py index 36d204cf414..29257a875d7 100644 --- a/msgraph/generated/users/item/license_details/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/count/count_request_builder.py index dc48a61d460..dbcddd92ff8 100644 --- a/msgraph/generated/users/item/mail_folders/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/delta/delta_get_response.py b/msgraph/generated/users/item/mail_folders/delta/delta_get_response.py index 39aa49d6844..fb7f1fe1c6b 100644 --- a/msgraph/generated/users/item/mail_folders/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py index 03efb86c47a..25b7a07648f 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py b/msgraph/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py index d0f0723153f..3883ce75348 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py index 5add782e715..8b494294a0f 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py index 006421b80d2..7b5bc45fdd3 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py index 612e2f920fd..3a686deb86d 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py index 5548687ea2e..7a1613188d8 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_post_request_body.py b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_post_request_body.py b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py index 245625bc08e..c9a764f30fd 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py index 6a08895fdcb..acf73444016 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py index 8853f1c73d1..9ac7481db3c 100644 --- a/msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_post_request_body.py b/msgraph/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/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py index 3ff899eb1b2..fd17d884f24 100644 --- a/msgraph/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/messages/count/count_request_builder.py index f7f003b1e9f..99a55fd54b1 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py b/msgraph/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py index 4097abb3ac8..cc03cab3eb8 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py index 047abaeae22..cc3dc5d3a01 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py index 294acab89c5..a3aa019fd37 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py index 6d78ed1bf2f..cd207c97ede 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py index 0438b653392..444a496847d 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py index ba51509ad2f..84e61b6988e 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py index 5c09f519748..404f39f1048 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py index 86d3e50337c..1a5b694eb87 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py b/msgraph/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py index 642d7337181..10b9a655c4a 100644 --- a/msgraph/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py +++ b/msgraph/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/generated/users/item/managed_app_registrations/count/count_request_builder.py b/msgraph/generated/users/item/managed_app_registrations/count/count_request_builder.py index 943263a405f..707aa049993 100644 --- a/msgraph/generated/users/item/managed_app_registrations/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/managed_devices/count/count_request_builder.py b/msgraph/generated/users/item/managed_devices/count/count_request_builder.py index 702061cabf2..0d24e724870 100644 --- a/msgraph/generated/users/item/managed_devices/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py b/msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py index a2b682cc90f..abeb93d1d9f 100644 --- a/msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py +++ b/msgraph/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/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py b/msgraph/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py index 00a95a63f49..f37dc7f328d 100644 --- a/msgraph/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py b/msgraph/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py index b80147094f1..e178e0f404f 100644 --- a/msgraph/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py b/msgraph/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py index 0083b21f34e..563225c5026 100644 --- a/msgraph/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py b/msgraph/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py index f76f314cefa..62e31641108 100644 --- a/msgraph/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py +++ b/msgraph/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/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py b/msgraph/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py index bdbc8146ac9..8c0c82d057b 100644 --- a/msgraph/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/manager/ref/ref_request_builder.py b/msgraph/generated/users/item/manager/ref/ref_request_builder.py index 82be0ad1960..19da679eaec 100644 --- a/msgraph/generated/users/item/manager/ref/ref_request_builder.py +++ b/msgraph/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/generated/users/item/member_of/count/count_request_builder.py b/msgraph/generated/users/item/member_of/count/count_request_builder.py index ea8c32f41f6..89673b19bb4 100644 --- a/msgraph/generated/users/item/member_of/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py index deff95e24ac..f7bb0441b83 100644 --- a/msgraph/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py b/msgraph/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py index 91e0bce41b8..e23bdb32331 100644 --- a/msgraph/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/member_of/graph_group/count/count_request_builder.py b/msgraph/generated/users/item/member_of/graph_group/count/count_request_builder.py index c7294976c2f..27999c8c1b5 100644 --- a/msgraph/generated/users/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/messages/count/count_request_builder.py b/msgraph/generated/users/item/messages/count/count_request_builder.py index 012994eafeb..406ca552a40 100644 --- a/msgraph/generated/users/item/messages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/messages/delta/delta_get_response.py b/msgraph/generated/users/item/messages/delta/delta_get_response.py index 7d912c50a91..76138120bfd 100644 --- a/msgraph/generated/users/item/messages/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/messages/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/messages/item/attachments/count/count_request_builder.py index 711bf90bad2..655f2a03bee 100644 --- a/msgraph/generated/users/item/messages/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py b/msgraph/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py index f247617ea74..d0707bb7e83 100644 --- a/msgraph/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py +++ b/msgraph/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/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py b/msgraph/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py index ebe2fb59e1e..23d994d405a 100644 --- a/msgraph/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py +++ b/msgraph/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/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py b/msgraph/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py index b4547361235..fc981d0c4a1 100644 --- a/msgraph/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py +++ b/msgraph/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/generated/users/item/messages/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/messages/item/extensions/count/count_request_builder.py index 6eb4053db80..353c839d73e 100644 --- a/msgraph/generated/users/item/messages/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/messages/item/forward/forward_post_request_body.py b/msgraph/generated/users/item/messages/item/forward/forward_post_request_body.py index 1089624b817..424e16aadb1 100644 --- a/msgraph/generated/users/item/messages/item/forward/forward_post_request_body.py +++ b/msgraph/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/generated/users/item/messages/item/reply/reply_post_request_body.py b/msgraph/generated/users/item/messages/item/reply/reply_post_request_body.py index 4eec1bee43e..461f3e1b6da 100644 --- a/msgraph/generated/users/item/messages/item/reply/reply_post_request_body.py +++ b/msgraph/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/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py b/msgraph/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py index fae7e0b5e67..c340605945e 100644 --- a/msgraph/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py +++ b/msgraph/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/generated/users/item/oauth2_permission_grants/count/count_request_builder.py b/msgraph/generated/users/item/oauth2_permission_grants/count/count_request_builder.py index f375707b782..7867cfebaef 100644 --- a/msgraph/generated/users/item/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/count/count_request_builder.py index 0ee556f5311..bba1f6b54fa 100644 --- a/msgraph/generated/users/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph/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/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index b6da6ee84c1..53a8b4d6715 100644 --- a/msgraph/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index a099f4b578e..767b6718182 100644 --- a/msgraph/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index b1d079520ee..051000d691b 100644 --- a/msgraph/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index 88848611a3a..dbfe6231efa 100644 --- a/msgraph/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py index 942df70b9b7..02cd264bb0b 100644 --- a/msgraph/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index 47d5eb98a86..c8f461420f0 100644 --- a/msgraph/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/users/item/onenote/operations/count/count_request_builder.py b/msgraph/generated/users/item/onenote/operations/count/count_request_builder.py index 94c62c20931..2b4e4f51c7e 100644 --- a/msgraph/generated/users/item/onenote/operations/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/pages/count/count_request_builder.py b/msgraph/generated/users/item/onenote/pages/count/count_request_builder.py index e91257a8a64..81ce9b1d9a9 100644 --- a/msgraph/generated/users/item/onenote/pages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 2e2dbeec7bd..86090bbe17a 100644 --- a/msgraph/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/users/item/onenote/resources/count/count_request_builder.py b/msgraph/generated/users/item/onenote/resources/count/count_request_builder.py index fb86aeabb56..854c78c96a7 100644 --- a/msgraph/generated/users/item/onenote/resources/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/section_groups/count/count_request_builder.py b/msgraph/generated/users/item/onenote/section_groups/count/count_request_builder.py index fd773ad0b99..be3333780e2 100644 --- a/msgraph/generated/users/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index dfbfe4bf919..a5bc238a91e 100644 --- a/msgraph/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py index 61d5db24eb2..82ce874f75e 100644 --- a/msgraph/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index dd8969bf853..c2b47e18c3b 100644 --- a/msgraph/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/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/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/users/item/onenote/sections/count/count_request_builder.py b/msgraph/generated/users/item/onenote/sections/count/count_request_builder.py index e18ef72c797..6574d25a6b3 100644 --- a/msgraph/generated/users/item/onenote/sections/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py index 3b50797b947..909c677fca8 100644 --- a/msgraph/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph/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/generated/users/item/online_meetings/count/count_request_builder.py b/msgraph/generated/users/item/online_meetings/count/count_request_builder.py index 366b28c5e06..a3cb5671311 100644 --- a/msgraph/generated/users/item/online_meetings/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py b/msgraph/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py index 39aa9ba485c..e987bf22465 100644 --- a/msgraph/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py +++ b/msgraph/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/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/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/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/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/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/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/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/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/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py b/msgraph/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py index 750493b0875..7f6b8f1d7fa 100644 --- a/msgraph/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 4ad4e629df9..ca79952811f 100644 --- a/msgraph/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py b/msgraph/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py index 878160c2a7c..8fc4dd29b70 100644 --- a/msgraph/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py b/msgraph/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py index 8eef7636869..764e522fb17 100644 --- a/msgraph/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph/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/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph/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/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index 20588f3f3d7..6669947cef4 100644 --- a/msgraph/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph/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/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py b/msgraph/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py index e023693853a..ee38b02208d 100644 --- a/msgraph/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py b/msgraph/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py index 4b509a6b86c..ed0069e97ab 100644 --- a/msgraph/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/outlook/master_categories/count/count_request_builder.py b/msgraph/generated/users/item/outlook/master_categories/count/count_request_builder.py index 75e2e17e491..8678994c2e7 100644 --- a/msgraph/generated/users/item/outlook/master_categories/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/outlook/supported_languages/supported_languages_get_response.py b/msgraph/generated/users/item/outlook/supported_languages/supported_languages_get_response.py index 5275cf1eaef..c0728f06ef3 100644 --- a/msgraph/generated/users/item/outlook/supported_languages/supported_languages_get_response.py +++ b/msgraph/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/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py b/msgraph/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py index 5f0ddf3dfce..6eeb6db0f57 100644 --- a/msgraph/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py +++ b/msgraph/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/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_get_response.py b/msgraph/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/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_get_response.py +++ b/msgraph/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/generated/users/item/owned_devices/count/count_request_builder.py b/msgraph/generated/users/item/owned_devices/count/count_request_builder.py index 19bd798d0eb..4633130bbd4 100644 --- a/msgraph/generated/users/item/owned_devices/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/owned_devices/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/users/item/owned_devices/graph_app_role_assignment/count/count_request_builder.py index f60907c878f..ac54b1c70aa 100644 --- a/msgraph/generated/users/item/owned_devices/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/users/item/owned_devices/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/users/item/owned_devices/graph_device/count/count_request_builder.py b/msgraph/generated/users/item/owned_devices/graph_device/count/count_request_builder.py index 661cb2523a0..6591fe1ecbc 100644 --- a/msgraph/generated/users/item/owned_devices/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py b/msgraph/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py index 4b33c3eca33..7e14ebf0ab2 100644 --- a/msgraph/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/owned_objects/count/count_request_builder.py b/msgraph/generated/users/item/owned_objects/count/count_request_builder.py index b2faf967870..bf5f4062a20 100644 --- a/msgraph/generated/users/item/owned_objects/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/owned_objects/graph_application/count/count_request_builder.py b/msgraph/generated/users/item/owned_objects/graph_application/count/count_request_builder.py index d5ec9a5b4d9..0d82eb051aa 100644 --- a/msgraph/generated/users/item/owned_objects/graph_application/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/owned_objects/graph_group/count/count_request_builder.py b/msgraph/generated/users/item/owned_objects/graph_group/count/count_request_builder.py index 9128d685bfa..c9ccb4db579 100644 --- a/msgraph/generated/users/item/owned_objects/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py b/msgraph/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py index 4cf17b0cd14..b3a434c9ac0 100644 --- a/msgraph/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/people/count/count_request_builder.py b/msgraph/generated/users/item/people/count/count_request_builder.py index e6bdbdd0130..436dac30798 100644 --- a/msgraph/generated/users/item/people/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/permission_grants/count/count_request_builder.py b/msgraph/generated/users/item/permission_grants/count/count_request_builder.py index 765dd23d800..79ceb6df5dd 100644 --- a/msgraph/generated/users/item/permission_grants/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/planner/plans/count/count_request_builder.py b/msgraph/generated/users/item/planner/plans/count/count_request_builder.py index ec16a033bd7..654aa2d261c 100644 --- a/msgraph/generated/users/item/planner/plans/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py b/msgraph/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py index 2f605701073..73467684e7e 100644 --- a/msgraph/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py b/msgraph/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py index 16f8f20d9b9..b35b901fae2 100644 --- a/msgraph/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py b/msgraph/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py index 93193a83758..4d00e47b069 100644 --- a/msgraph/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/planner/tasks/count/count_request_builder.py b/msgraph/generated/users/item/planner/tasks/count/count_request_builder.py index 6d65f4a7205..66648cb4a06 100644 --- a/msgraph/generated/users/item/planner/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py b/msgraph/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py index 490a6c68d3e..62122d25ab8 100644 --- a/msgraph/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py +++ b/msgraph/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/generated/users/item/registered_devices/count/count_request_builder.py b/msgraph/generated/users/item/registered_devices/count/count_request_builder.py index 2e3648aa5b0..668d80ac99a 100644 --- a/msgraph/generated/users/item/registered_devices/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/registered_devices/graph_app_role_assignment/count/count_request_builder.py b/msgraph/generated/users/item/registered_devices/graph_app_role_assignment/count/count_request_builder.py index b14bbd73aff..277bfcd9d18 100644 --- a/msgraph/generated/users/item/registered_devices/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph/generated/users/item/registered_devices/graph_app_role_assignment/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph/generated/users/item/registered_devices/graph_device/count/count_request_builder.py b/msgraph/generated/users/item/registered_devices/graph_device/count/count_request_builder.py index 40f5335f4dd..0e3588e111d 100644 --- a/msgraph/generated/users/item/registered_devices/graph_device/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py b/msgraph/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py index 57387d113a3..3acef37767e 100644 --- a/msgraph/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py +++ b/msgraph/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/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/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/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/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/generated/users/item/scoped_role_member_of/count/count_request_builder.py b/msgraph/generated/users/item/scoped_role_member_of/count/count_request_builder.py index 6c4a9a9ec5b..7548371bf51 100644 --- a/msgraph/generated/users/item/scoped_role_member_of/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/send_mail/send_mail_post_request_body.py b/msgraph/generated/users/item/send_mail/send_mail_post_request_body.py index fee392fa6ae..21fe5b95218 100644 --- a/msgraph/generated/users/item/send_mail/send_mail_post_request_body.py +++ b/msgraph/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/generated/users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/users/item/service_provisioning_errors/count/count_request_builder.py index bca1037741d..b53b9c3a47b 100644 --- a/msgraph/generated/users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/settings/storage/quota/services/count/count_request_builder.py b/msgraph/generated/users/item/settings/storage/quota/services/count/count_request_builder.py index 3afb325b462..7f732e79563 100644 --- a/msgraph/generated/users/item/settings/storage/quota/services/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/settings/windows/count/count_request_builder.py b/msgraph/generated/users/item/settings/windows/count/count_request_builder.py index f919e185ef9..b61f5f08566 100644 --- a/msgraph/generated/users/item/settings/windows/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/settings/windows/item/instances/count/count_request_builder.py b/msgraph/generated/users/item/settings/windows/item/instances/count/count_request_builder.py index 287b8619f34..9cb8c83222b 100644 --- a/msgraph/generated/users/item/settings/windows/item/instances/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/sponsors/count/count_request_builder.py b/msgraph/generated/users/item/sponsors/count/count_request_builder.py index b2fe0ed277e..78279e94294 100644 --- a/msgraph/generated/users/item/sponsors/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/teamwork/associated_teams/count/count_request_builder.py b/msgraph/generated/users/item/teamwork/associated_teams/count/count_request_builder.py index 15c891c5884..b9845a6eddc 100644 --- a/msgraph/generated/users/item/teamwork/associated_teams/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/teamwork/installed_apps/count/count_request_builder.py b/msgraph/generated/users/item/teamwork/installed_apps/count/count_request_builder.py index 5979912609c..3bdbbc43e48 100644 --- a/msgraph/generated/users/item/teamwork/installed_apps/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py index 524768415c6..23b316ba228 100644 --- a/msgraph/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph/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/generated/users/item/todo/lists/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/count/count_request_builder.py index bd182d25696..6a1b5db5d1c 100644 --- a/msgraph/generated/users/item/todo/lists/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/delta/delta_get_response.py b/msgraph/generated/users/item/todo/lists/delta/delta_get_response.py index 000cf15d9fe..1028440371d 100644 --- a/msgraph/generated/users/item/todo/lists/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py index 4dd4eeab95b..2719305198f 100644 --- a/msgraph/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py index b5fe91305ba..5816b76068f 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py b/msgraph/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py index 08c181895ca..f965eb90ddc 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py index abb0144e833..a67c82e0721 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py index de071f2ee61..dee1ba3f51f 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py index d34fe625952..e3e3d660352 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py index e4d5e7a54e3..fc305d9db24 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py b/msgraph/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py index 1b5a90cc9b6..b559d148166 100644 --- a/msgraph/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/transitive_member_of/count/count_request_builder.py b/msgraph/generated/users/item/transitive_member_of/count/count_request_builder.py index adfdbb78e2b..30a6745ad74 100644 --- a/msgraph/generated/users/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 2222a0447f6..92569d2e921 100644 --- a/msgraph/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py b/msgraph/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py index a18ea7e7f85..e78282a13f4 100644 --- a/msgraph/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py index db8cb51d053..379ffd912bb 100644 --- a/msgraph/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph/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/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py b/msgraph/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py index f897bd32e39..8272b50798b 100644 --- a/msgraph/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py +++ b/msgraph/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/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py b/msgraph/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py index 3a4a8efc0ab..f9a95bfd167 100644 --- a/msgraph/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py +++ b/msgraph/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/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index 78a66bc75a1..107fcde69bc 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -166,7 +166,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index 256b49574e4..939e6a6171b 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -52,10 +52,10 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -97,7 +97,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -179,7 +179,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of user objects. + List properties and relationships of the user objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..5f19b364504 --- /dev/null +++ b/msgraph/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: + """ + Deletes a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 + """ + 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]: + """ + Read properties and relationships of the user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 + """ + 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-1.0 + """ + 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: + """ + Deletes a user. + 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: + """ + Read properties and relationships of the user 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_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(): + """ + Read properties and relationships of the user 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 == "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) + +