diff --git a/msgraph_beta/generated/admin/entra/entra_request_builder.py b/msgraph_beta/generated/admin/entra/entra_request_builder.py index 45c80c44b6d..a48ec5c6794 100644 --- a/msgraph_beta/generated/admin/entra/entra_request_builder.py +++ b/msgraph_beta/generated/admin/entra/entra_request_builder.py @@ -36,7 +36,6 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +54,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EntraReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Entra] """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +75,6 @@ async def patch(self,body: Entra, request_configuration: Optional[RequestConfigu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Entra] """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +97,6 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +108,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", 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") @@ -125,7 +120,6 @@ def to_patch_request_information(self,body: Entra, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +134,6 @@ def with_url(self,raw_url: str) -> EntraRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EntraRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EntraRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py b/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py index e8344b80440..25a41953ff7 100644 --- a/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py +++ b/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py @@ -35,7 +35,6 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +54,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UxSettin Returns: Optional[UxSetting] Find more info here: https://learn.microsoft.com/graph/api/uxsetting-get?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +76,6 @@ async def patch(self,body: UxSetting, request_configuration: Optional[RequestCon Returns: Optional[UxSetting] Find more info here: https://learn.microsoft.com/graph/api/uxsetting-update?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +98,6 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +109,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", 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") @@ -126,7 +121,6 @@ def to_patch_request_information(self,body: UxSetting, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +135,6 @@ def with_url(self,raw_url: str) -> UxSettingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UxSettingRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UxSettingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index f776920df40..d76b514079d 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a resourceConnection object. + Delete an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]: """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnection] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a resourceConnection object. + Delete an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ResourceConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index 75be4514e9c..316b5a0e5ea 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -35,10 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -98,7 +98,7 @@ async def patch(self,body: UpdatableAsset, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index e1232f365ae..7f18c9d93db 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Complian async def patch(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ComplianceChange]: """ - Update the properties of a contentApproval object. + Update the properties of a complianceChange object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -96,7 +96,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a contentApproval object. + Update the properties of a complianceChange object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/authentication_method_devices/authentication_method_devices_request_builder.py b/msgraph_beta/generated/authentication_method_devices/authentication_method_devices_request_builder.py new file mode 100644 index 00000000000..69cb3926f5c --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/authentication_method_devices_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..models.authentication_method_device import AuthenticationMethodDevice + from ..models.authentication_method_device_collection_response import AuthenticationMethodDeviceCollectionResponse + from ..models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.authentication_method_device_item_request_builder import AuthenticationMethodDeviceItemRequestBuilder + +class AuthenticationMethodDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of authenticationMethodDevice entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AuthenticationMethodDevicesRequestBuilder 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}/authenticationMethodDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_authentication_method_device_id(self,authentication_method_device_id: str) -> AuthenticationMethodDeviceItemRequestBuilder: + """ + Provides operations to manage the collection of authenticationMethodDevice entities. + param authentication_method_device_id: The unique identifier of authenticationMethodDevice + Returns: AuthenticationMethodDeviceItemRequestBuilder + """ + if authentication_method_device_id is None: + raise TypeError("authentication_method_device_id cannot be null.") + from .item.authentication_method_device_item_request_builder import AuthenticationMethodDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["authenticationMethodDevice%2Did"] = authentication_method_device_id + return AuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]] = None) -> Optional[AuthenticationMethodDeviceCollectionResponse]: + """ + Get entities from authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationMethodDeviceCollectionResponse] + """ + 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.authentication_method_device_collection_response import AuthenticationMethodDeviceCollectionResponse + + return await self.request_adapter.send_async(request_info, AuthenticationMethodDeviceCollectionResponse, error_mapping) + + async def post(self,body: AuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AuthenticationMethodDevice]: + """ + Add new entity to authenticationMethodDevices + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationMethodDevice] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ..models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..models.authentication_method_device import AuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, AuthenticationMethodDevice, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get entities from authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: AuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add new entity to authenticationMethodDevices + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AuthenticationMethodDevicesRequestBuilder: + """ + 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: AuthenticationMethodDevicesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AuthenticationMethodDevicesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AuthenticationMethodDevicesRequestBuilderGetQueryParameters(): + """ + Get entities from authenticationMethodDevices + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration(RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]): + """ + 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 AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/count/count_request_builder.py b/msgraph_beta/generated/authentication_method_devices/count/count_request_builder.py new file mode 100644 index 00000000000..c5e46a461ad --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/authenticationMethodDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/authentication_method_device_item_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/authentication_method_device_item_request_builder.py new file mode 100644 index 00000000000..4a6e6a3c226 --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/authentication_method_device_item_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...models.authentication_method_device import AuthenticationMethodDevice + from ...models.o_data_errors.o_data_error import ODataError + from .hardware_oath_devices.hardware_oath_devices_request_builder import HardwareOathDevicesRequestBuilder + +class AuthenticationMethodDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of authenticationMethodDevice entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AuthenticationMethodDeviceItemRequestBuilder 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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete entity from authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> Optional[AuthenticationMethodDevice]: + """ + Get entity from authenticationMethodDevices by key + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationMethodDevice] + """ + 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.authentication_method_device import AuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, AuthenticationMethodDevice, error_mapping) + + async def patch(self,body: AuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AuthenticationMethodDevice]: + """ + Update entity in authenticationMethodDevices + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationMethodDevice] + """ + 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.authentication_method_device import AuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, AuthenticationMethodDevice, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete entity from authenticationMethodDevices + 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[AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get entity from authenticationMethodDevices by key + 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: AuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update entity in authenticationMethodDevices + 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) -> AuthenticationMethodDeviceItemRequestBuilder: + """ + 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: AuthenticationMethodDeviceItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @property + def hardware_oath_devices(self) -> HardwareOathDevicesRequestBuilder: + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + from .hardware_oath_devices.hardware_oath_devices_request_builder import HardwareOathDevicesRequestBuilder + + return HardwareOathDevicesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration(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 AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters(): + """ + Get entity from authenticationMethodDevices by key + """ + 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 AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration(RequestConfiguration[AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]): + """ + 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 AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/count/count_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/count/count_request_builder.py new file mode 100644 index 00000000000..4eaf8f50a62 --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/hardware_oath_devices_request_builder.py new file mode 100644 index 00000000000..b6597260968 --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from ....models.hardware_oath_token_authentication_method_device_collection_response import HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.hardware_oath_token_authentication_method_device_item_request_builder import HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + +class HardwareOathDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathDevicesRequestBuilder 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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_hardware_oath_token_authentication_method_device_id(self,hardware_oath_token_authentication_method_device_id: str) -> HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder: + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + param hardware_oath_token_authentication_method_device_id: The unique identifier of hardwareOathTokenAuthenticationMethodDevice + Returns: HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + """ + if hardware_oath_token_authentication_method_device_id is None: + raise TypeError("hardware_oath_token_authentication_method_device_id cannot be null.") + from .item.hardware_oath_token_authentication_method_device_item_request_builder import HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["hardwareOathTokenAuthenticationMethodDevice%2Did"] = hardware_oath_token_authentication_method_device_id + return HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse]: + """ + Get hardwareOathDevices from authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse] + """ + 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.hardware_oath_token_authentication_method_device_collection_response import HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDeviceCollectionResponse, error_mapping) + + async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Create new navigation property to hardwareOathDevices for authenticationMethodDevices + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathDevices from authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to hardwareOathDevices for authenticationMethodDevices + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> HardwareOathDevicesRequestBuilder: + """ + 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: HardwareOathDevicesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathDevicesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathDevicesRequestBuilderGetQueryParameters(): + """ + Get hardwareOathDevices from authenticationMethodDevices + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class HardwareOathDevicesRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/assign_to_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/assign_to_request_builder.py new file mode 100644 index 00000000000..fdf6eb46329 --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/assign_to_request_builder.py @@ -0,0 +1,126 @@ +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 + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class AssignToRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignToRequestBuilder 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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[AssignToRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get assignTo from authenticationMethodDevices + 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[AssignToRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get assignTo from authenticationMethodDevices + 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) -> AssignToRequestBuilder: + """ + 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: AssignToRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignToRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AssignToRequestBuilderGetQueryParameters(): + """ + Get assignTo from authenticationMethodDevices + """ + 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 AssignToRequestBuilderGetRequestConfiguration(RequestConfiguration[AssignToRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..09589d940e5 --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.mailbox_settings import MailboxSettings + from .......models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /authenticationMethodDevices/{authenticationMethodDevice-id}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice-id}/assignTo/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + 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: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + 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) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + 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 MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + 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 MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..9a235bf8622 --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..3318181103c --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /authenticationMethodDevices/{authenticationMethodDevice-id}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice-id}/assignTo/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + 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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py new file mode 100644 index 00000000000..7e254086c2d --- /dev/null +++ b/msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from .....models.o_data_errors.o_data_error import ODataError + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + +class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder 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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property hardwareOathDevices for authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Get hardwareOathDevices from authenticationMethodDevices + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + async def patch(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Update the navigation property hardwareOathDevices in authenticationMethodDevices + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property hardwareOathDevices for authenticationMethodDevices + 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[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathDevices from authenticationMethodDevices + 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: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property hardwareOathDevices in authenticationMethodDevices + 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) -> HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder: + """ + 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: HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @property + def assign_to(self) -> AssignToRequestBuilder: + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + + return AssignToRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters(): + """ + Get hardwareOathDevices from authenticationMethodDevices + """ + 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/base_graph_service_client.py b/msgraph_beta/generated/base_graph_service_client.py index 7a818fcd326..a97c2f28a8b 100644 --- a/msgraph_beta/generated/base_graph_service_client.py +++ b/msgraph_beta/generated/base_graph_service_client.py @@ -34,6 +34,7 @@ from .audit_logs.audit_logs_request_builder import AuditLogsRequestBuilder from .authentication_methods_policy.authentication_methods_policy_request_builder import AuthenticationMethodsPolicyRequestBuilder from .authentication_method_configurations.authentication_method_configurations_request_builder import AuthenticationMethodConfigurationsRequestBuilder + from .authentication_method_devices.authentication_method_devices_request_builder import AuthenticationMethodDevicesRequestBuilder from .booking_businesses.booking_businesses_request_builder import BookingBusinessesRequestBuilder from .booking_currencies.booking_currencies_request_builder import BookingCurrenciesRequestBuilder from .business_flow_templates.business_flow_templates_request_builder import BusinessFlowTemplatesRequestBuilder @@ -405,6 +406,15 @@ def authentication_method_configurations(self) -> AuthenticationMethodConfigurat return AuthenticationMethodConfigurationsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def authentication_method_devices(self) -> AuthenticationMethodDevicesRequestBuilder: + """ + Provides operations to manage the collection of authenticationMethodDevice entities. + """ + from .authentication_method_devices.authentication_method_devices_request_builder import AuthenticationMethodDevicesRequestBuilder + + return AuthenticationMethodDevicesRequestBuilder(self.request_adapter, self.path_parameters) + @property def authentication_methods_policy(self) -> AuthenticationMethodsPolicyRequestBuilder: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py index 7e15a735b68..aa1698b7780 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py @@ -48,7 +48,7 @@ def by_ios_lob_app_provisioning_configuration_assignment_id(self,ios_lob_app_pro async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: IosLobAppProvisioningConfigurationAssignment, request_ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py index 9e6bf8bceae..d921f16a92f 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignment]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignment] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderDeleteReques @dataclass class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py index 52500a20a21..731e945b300 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py index a3fa732af47..b9a64426f67 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index ecf895f8c8d..097eaf58155 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py index fb3c8677ff3..18a1c5662c3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 05ddadb4a80..bf265a36dbb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py index 9dc9ce70f74..ce4bb7de83d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index c33078083e3..6bea837a98a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py index 8d6252a0ae4..3928c8e46ac 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 826fdb4c516..d06233c97e3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py index d8a218eb4c7..b670b5db344 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 599eb807997..22e8e03213d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py index 32615363cc5..cb300d90339 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py index ae3931075c0..18bad9f5082 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py index 92bbed7c22c..8679426b53e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py index 3876c1c6be4..991d4f80022 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py index 2418efa4413..4bbebfb3a78 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 866fd5816b0..37d7f43d88e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py index 0cf4f6b3846..53378efbda9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py index 8c75f4758c6..d027d71348e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py index 456b75cc0dd..38e7f37da39 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index b15aee05faf..5a45b61baa5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py index 0a114db0f5b..a89563d0a98 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 3b0520e2682..ddf844ec720 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py index e0c88f5b9ce..e74557829e5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 660237df0af..3b05118a1b1 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py index 526aeafd6fd..9e74030bd60 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py index 35b9f1af9c2..bbdbc791f41 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py index 896277afb77..8e1c7cfa441 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 549671890d7..997c0e1db5a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py index 74d19441b0e..733ac10f80d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py index 7e3b3d1e8c0..9b711a0c3be 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py index a23d6897a2f..fed493733fe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py index ae5065f021c..fda5d28320b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py index b2016990774..3d1431639b9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py index 1ce2474c235..8a160319e33 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py index 74365c2607b..4b52b3a633a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 78c3c0cc5a7..16a75d951d8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py index 1ee41a5a7cc..069d9d6f147 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py index 3783663cab0..ee905961a2c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py index efd4c9c3807..98e46f9e197 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py index ef838b50867..e1a7d619097 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py index d0d88d59904..cbabeca8d27 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py index f0d4f54481a..b82607ccdf2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py index 9e0a8ffa942..17c05e61f82 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py @@ -48,7 +48,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py index e434938edcc..be5db6d5e0b 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRule]: """ - The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + The list of scheduled action for this rule param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceComplianceScheduledActionForRule] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + The list of scheduled action for this rule param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class DeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfi @dataclass class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters(): """ - The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + The list of scheduled action for this rule """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py index c60fd4bed94..5ee468901c3 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py @@ -48,7 +48,7 @@ def by_device_compliance_scheduled_action_for_rule_id(self,device_compliance_sch async def get(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]: """ - The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + The list of scheduled action for this rule param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceComplianceScheduledActionForRuleCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: DeviceComplianceScheduledActionForRule, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + The list of scheduled action for this rule param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScheduledActionsForRuleRequestBuilderGetQueryParameters(): """ - The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + The list of scheduled action for this rule """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index 2f35278deb8..75f4bf93489 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -48,7 +48,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 9aaa4071f98..dbb55e31250 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py index 69526723497..04c91bb6060 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py @@ -31,10 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: GetCloudPcPerformanceReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Invoke action getCloudPcPerformanceReport + Get a report related to the performance of Cloud PCs. param body: The request body 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/cloudpcreports-getcloudpcperformancereport?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -52,7 +53,7 @@ async def post(self,body: GetCloudPcPerformanceReportPostRequestBody, request_co def to_post_request_information(self,body: GetCloudPcPerformanceReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action getCloudPcPerformanceReport + Get a report related to the performance of Cloud PCs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/directory/authentication_method_devices/authentication_method_devices_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/authentication_method_devices_request_builder.py new file mode 100644 index 00000000000..ae4c481016f --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/authentication_method_devices_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...models.authentication_method_device import AuthenticationMethodDevice + from ...models.o_data_errors.o_data_error import ODataError + from .hardware_oath_devices.hardware_oath_devices_request_builder import HardwareOathDevicesRequestBuilder + +class AuthenticationMethodDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AuthenticationMethodDevicesRequestBuilder 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}/directory/authenticationMethodDevices{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property authenticationMethodDevices for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]] = None) -> Optional[AuthenticationMethodDevice]: + """ + Get authenticationMethodDevices from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationMethodDevice] + """ + 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.authentication_method_device import AuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, AuthenticationMethodDevice, error_mapping) + + async def patch(self,body: AuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AuthenticationMethodDevice]: + """ + Update the navigation property authenticationMethodDevices in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationMethodDevice] + """ + 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.authentication_method_device import AuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, AuthenticationMethodDevice, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property authenticationMethodDevices for directory + 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[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get authenticationMethodDevices from directory + 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: AuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property authenticationMethodDevices in directory + 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) -> AuthenticationMethodDevicesRequestBuilder: + """ + 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: AuthenticationMethodDevicesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AuthenticationMethodDevicesRequestBuilder(self.request_adapter, raw_url) + + @property + def hardware_oath_devices(self) -> HardwareOathDevicesRequestBuilder: + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + from .hardware_oath_devices.hardware_oath_devices_request_builder import HardwareOathDevicesRequestBuilder + + return HardwareOathDevicesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration(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 AuthenticationMethodDevicesRequestBuilderGetQueryParameters(): + """ + Get authenticationMethodDevices from directory + """ + 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 AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration(RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]): + """ + 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 AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/count/count_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/count/count_request_builder.py new file mode 100644 index 00000000000..a0061435bd3 --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py new file mode 100644 index 00000000000..fcabd2d1948 --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from ....models.hardware_oath_token_authentication_method_device_collection_response import HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.hardware_oath_token_authentication_method_device_item_request_builder import HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + +class HardwareOathDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathDevicesRequestBuilder 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}/directory/authenticationMethodDevices/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_hardware_oath_token_authentication_method_device_id(self,hardware_oath_token_authentication_method_device_id: str) -> HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder: + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + param hardware_oath_token_authentication_method_device_id: The unique identifier of hardwareOathTokenAuthenticationMethodDevice + Returns: HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + """ + if hardware_oath_token_authentication_method_device_id is None: + raise TypeError("hardware_oath_token_authentication_method_device_id cannot be null.") + from .item.hardware_oath_token_authentication_method_device_item_request_builder import HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["hardwareOathTokenAuthenticationMethodDevice%2Did"] = hardware_oath_token_authentication_method_device_id + return HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse]: + """ + Get hardwareOathDevices from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse] + """ + 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.hardware_oath_token_authentication_method_device_collection_response import HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDeviceCollectionResponse, error_mapping) + + async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Create new navigation property to hardwareOathDevices for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathDevices from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to hardwareOathDevices for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> HardwareOathDevicesRequestBuilder: + """ + 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: HardwareOathDevicesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathDevicesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathDevicesRequestBuilderGetQueryParameters(): + """ + Get hardwareOathDevices from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class HardwareOathDevicesRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/assign_to_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/assign_to_request_builder.py new file mode 100644 index 00000000000..c81f86dfdd2 --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/assign_to_request_builder.py @@ -0,0 +1,126 @@ +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 + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class AssignToRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignToRequestBuilder 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}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[AssignToRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get assignTo from directory + 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[AssignToRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get assignTo from directory + 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) -> AssignToRequestBuilder: + """ + 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: AssignToRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignToRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AssignToRequestBuilderGetQueryParameters(): + """ + Get assignTo from directory + """ + 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 AssignToRequestBuilderGetRequestConfiguration(RequestConfiguration[AssignToRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..3a14c0305ea --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.mailbox_settings import MailboxSettings + from .......models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice-id}/assignTo/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + 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: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + 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) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + 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 MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + 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 MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..2c983988ee1 --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..f5cb43519a1 --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice-id}/assignTo/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + 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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py new file mode 100644 index 00000000000..378fcc8cf7c --- /dev/null +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from .....models.o_data_errors.o_data_error import ODataError + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + +class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder 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}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property hardwareOathDevices for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Get hardwareOathDevices from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + async def patch(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Update the navigation property hardwareOathDevices in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property hardwareOathDevices for directory + 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[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathDevices from directory + 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: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property hardwareOathDevices in directory + 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) -> HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder: + """ + 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: HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @property + def assign_to(self) -> AssignToRequestBuilder: + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + + return AssignToRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters(): + """ + Get hardwareOathDevices from directory + """ + 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/directory_request_builder.py b/msgraph_beta/generated/directory/directory_request_builder.py index e68ddd0f7d0..c05aefcd0bf 100644 --- a/msgraph_beta/generated/directory/directory_request_builder.py +++ b/msgraph_beta/generated/directory/directory_request_builder.py @@ -17,6 +17,7 @@ from ..models.o_data_errors.o_data_error import ODataError from .administrative_units.administrative_units_request_builder import AdministrativeUnitsRequestBuilder from .attribute_sets.attribute_sets_request_builder import AttributeSetsRequestBuilder + from .authentication_method_devices.authentication_method_devices_request_builder import AuthenticationMethodDevicesRequestBuilder from .certificate_authorities.certificate_authorities_request_builder import CertificateAuthoritiesRequestBuilder from .custom_security_attribute_definitions.custom_security_attribute_definitions_request_builder import CustomSecurityAttributeDefinitionsRequestBuilder from .deleted_items.deleted_items_request_builder import DeletedItemsRequestBuilder @@ -170,6 +171,15 @@ def attribute_sets(self) -> AttributeSetsRequestBuilder: return AttributeSetsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def authentication_method_devices(self) -> AuthenticationMethodDevicesRequestBuilder: + """ + Provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. + """ + from .authentication_method_devices.authentication_method_devices_request_builder import AuthenticationMethodDevicesRequestBuilder + + return AuthenticationMethodDevicesRequestBuilder(self.request_adapter, self.path_parameters) + @property def certificate_authorities(self) -> CertificateAuthoritiesRequestBuilder: """ diff --git a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index d9066a01522..04dce55bc10 100644 --- a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index e9656985be1..7c5f97d4882 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph_beta/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-beta + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta """ 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_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index 0125786e2a8..d001a0e8cb8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index 01e838861d6..1f37bed8d56 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph_beta/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-beta + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta """ 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_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index e446055ee0a..0a8f5398942 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py index 356bc129ecc..305eab4dca5 100644 --- a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py @@ -77,11 +77,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Educatio async def patch(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EducationUser]: """ - Update the relatedContact collection of an educationUser object. + Update the properties of an educationuser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] - Find more info here: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the relatedContact collection of an educationUser object. + Update the properties of an educationuser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py index b0647e46850..fcfe12ed7eb 100644 --- a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py @@ -52,11 +52,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SchemaRe async def patch(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Schema]: """ - Update the properties of a schema for an externalConnection. + Create a new or update an existing schema for a Microsoft Search connection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a schema for an externalConnection. + Create a new or update an existing schema for a Microsoft Search connection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index 8a3a06ee981..df6a77535d4 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new oneRosterApiDataConnector object. + Create a new azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new oneRosterApiDataConnector object. + Create a new azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py index 5bf303760ad..ec899bf5e62 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[InboundF async def patch(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InboundFlow]: """ - Update the properties of an inboundFileFlow object. + Update the properties of an inboundApiFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an inboundFileFlow object. + Update the properties of an inboundApiFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py b/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py index 7f00f80f788..1478163f2de 100644 --- a/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes an appRoleAssignment that a group has been granted. + Delete an appRoleAssignment that a group has been granted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/group-delete-approleassignments?view=graph-rest-beta @@ -93,7 +93,7 @@ async def patch(self,body: AppRoleAssignment, request_configuration: Optional[Re def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes an appRoleAssignment that a group has been granted. + Delete an appRoleAssignment that a group has been granted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py b/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py index 6b54dcd7c3e..02d7a7d6456 100644 --- a/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py +++ b/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AssignLicensePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]: """ - Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -56,7 +56,7 @@ async def post(self,body: AssignLicensePostRequestBody, request_configuration: O def to_post_request_information(self,body: AssignLicensePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py index f37bccb374b..26074af74ca 100644 --- a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/group_item_request_builder.py b/msgraph_beta/generated/groups/item/group_item_request_builder.py index 6a6c381b9c9..4a43e018e49 100644 --- a/msgraph_beta/generated/groups/item/group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_item_request_builder.py @@ -78,7 +78,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-beta @@ -142,7 +142,7 @@ async def patch(self,body: Group, request_configuration: Optional[RequestConfigu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py index e83eb1b9b16..ead88331111 100644 --- a/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-beta @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py index b69291203b6..7f7677d1aa4 100644 --- a/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderDeleteQueryParameters]] = None) -> None: """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-beta @@ -94,7 +94,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderDeleteQueryParameters]] = None) -> RequestInformation: """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py index ab102a90cc3..0f8e66b9fc2 100644 --- a/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py @@ -48,7 +48,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[RequestConfiguration[PermissionGrantsRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. + List all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-permissiongrants?view=graph-rest-beta @@ -92,7 +92,7 @@ async def post(self,body: ResourceSpecificPermissionGrant, request_configuration def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PermissionGrantsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. + List all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. 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 PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. + List all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py index 1d4e0f0f556..4eddb854120 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..ab7e9af2cb0 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.conversation_member import ConversationMember + + from ........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_post_response.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..70d09621ab9 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..8c4b0553815 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..5a3afa3e218 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..0de43f55270 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from .......models.conversation_member_collection_response import ConversationMemberCollectionResponse + from .......models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from groups + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..7ddf4408437 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + from ........models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for groups + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from groups + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in groups + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from groups + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..5bb050c082d --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.conversation_member import ConversationMember + + from ........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..017548b321e --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..00cb61732a8 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..5bac3d6b0b2 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.conversation_member import ConversationMember + + from .......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_post_response.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..d59b2f13942 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..85af042b309 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/groups/{group%2Did}/team/primaryChannel/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..179ea15ed3b --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..69f360e057a --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from ......models.conversation_member_collection_response import ConversationMemberCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/groups/{group%2Did}/team/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from groups + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..7dbd55c5234 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + from .......models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/groups/{group%2Did}/team/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for groups + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from groups + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in groups + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from groups + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..d3fb68b63dc --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.conversation_member import ConversationMember + + from .......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..64caed03267 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..2027ab85272 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/groups/{group%2Did}/team/primaryChannel/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py index 8f9ac067d84..863fd77347a 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index 7aa01bea040..f92f08eef12 100644 --- a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationThread]: """ - Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + Get a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + Get a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -170,7 +170,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + Get a thread object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py index d458b01d9ba..0fc2d395c7f 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py @@ -49,7 +49,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[RequestConfiguration[TransitiveMemberOfRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + Get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-transitivememberof?view=graph-rest-beta @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TransitiveMemberOfRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + Get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -119,7 +119,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class TransitiveMemberOfRequestBuilderGetQueryParameters(): """ - Get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + Get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py index faff2d4a16e..6a27bb97011 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> Optional[GroupCollectionResponse]: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-beta @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -84,7 +84,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GraphGroupRequestBuilderGetQueryParameters(): """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py index 580947d43e1..ba7c41c3414 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GraphUserRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. 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/group-list-transitivemembers?view=graph-rest-beta @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -84,7 +84,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GraphUserRequestBuilderGetQueryParameters(): """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py index f38ea45d9ec..9dadb7f59bd 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_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[GraphGroupRequestBuilderGetQueryParameters]] = None) -> Optional[Group]: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. 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-list-transitivemembers?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphGroupRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. 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) -> GraphGroupRequestBuilder: @dataclass class GraphGroupRequestBuilderGetQueryParameters(): """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py index 92a2d2e81db..bbfc49d1fbd 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_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[GraphUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. 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/group-list-transitivemembers?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. 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) -> GraphUserRequestBuilder: @dataclass class GraphUserRequestBuilderGetQueryParameters(): """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py index 62a5978f8c0..9c9aca78675 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py @@ -53,7 +53,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[RequestConfiguration[TransitiveMembersRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-beta @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TransitiveMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ def graph_user(self) -> GraphUserRequestBuilder: @dataclass class TransitiveMembersRequestBuilderGetQueryParameters(): """ - Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py b/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py index 4ad3a59fa6f..2685504d899 100644 --- a/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-beta @@ -98,7 +98,7 @@ async def patch(self,body: Group, request_configuration: Optional[RequestConfigu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 0d3e17b5b7e..37c82ca8bed 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/compliantnetworknamedlocation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an ipNamedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index f690b9978aa..e61802d83af 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) request_info = self.to_get_request_information( @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -156,7 +156,7 @@ class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class CustomCalloutExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 9be15e2130f..392f8a8a929 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) request_info = self.to_delete_request_information( @@ -98,7 +98,7 @@ async def patch(self,body: CustomAccessPackageWorkflowExtension, request_configu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index f070d73e940..140c3a31e65 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph_beta/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 all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. 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-list-files?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. 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 all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py index 044edfec6ef..b06d5e49a9d 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py @@ -50,10 +50,10 @@ def by_risky_user_id(self,risky_user_id: str) -> RiskyUserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[RiskyUsersRequestBuilderGetQueryParameters]] = None) -> Optional[RiskyUserCollectionResponse]: """ - Retrieve the properties and relationships of a riskyUser object. + Retrieve the properties and relationships of a collection of riskyUser objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: RiskyUser, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskyUsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a riskyUser object. + Retrieve the properties and relationships of a collection of riskyUser objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def dismiss(self) -> DismissRequestBuilder: @dataclass class RiskyUsersRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a riskyUser object. + Retrieve the properties and relationships of a collection of riskyUser objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py index 932df177fbe..4863aac799e 100644 --- a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +++ b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py @@ -47,7 +47,7 @@ def by_bitlocker_recovery_key_id(self,bitlocker_recovery_key_id: str) -> Bitlock async def get(self,request_configuration: Optional[RequestConfiguration[RecoveryKeysRequestBuilderGetQueryParameters]] = None) -> Optional[BitlockerRecoveryKeyCollectionResponse]: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKeyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-beta @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Recovery def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecoveryKeysRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. 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 RecoveryKeysRequestBuilderGetQueryParameters(): """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index ed569326d4d..16d7717e605 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -10367,6 +10367,174 @@ msgraph_beta.generated.authenticationMethodConfigurations.item.AuthenticationMet msgraph_beta.generated.authenticationMethodConfigurations.item.AuthenticationMethodConfigurationItemRequestBuilder::|public|to_patch_request_information(body:AuthenticationMethodConfiguration; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.authenticationMethodConfigurations.item.AuthenticationMethodConfigurationItemRequestBuilder::|public|url_template:str msgraph_beta.generated.authenticationMethodConfigurations.item.AuthenticationMethodConfigurationItemRequestBuilder::|public|with_url(raw_url:str):AuthenticationMethodConfigurationItemRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|by_authentication_method_device_id(authentication_method_device_id:str):AuthenticationMethodDeviceItemRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]):AuthenticationMethodDeviceCollectionResponse +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|post(body:AuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):AuthenticationMethodDevice +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|to_post_request_information(body:AuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|with_url(raw_url:str):AuthenticationMethodDevicesRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):AuthenticationMethodDevice +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|hardware_oath_devices:HardwareOathDevicesRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|patch(body:AuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):AuthenticationMethodDevice +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|to_patch_request_information(body:AuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.AuthenticationMethodDeviceItemRequestBuilder::|public|with_url(raw_url:str):AuthenticationMethodDeviceItemRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|by_hardware_oath_token_authentication_method_device_id(hardware_oath_token_authentication_method_device_id:str):HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|post(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|to_post_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|with_url(raw_url:str):HardwareOathDevicesRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetRequestConfiguration-->RequestConfiguration[AssignToRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|with_url(raw_url:str):AssignToRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assign_to:AssignToRequestBuilder +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|patch(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_patch_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.authenticationMethodDevices.item.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|with_url(raw_url:str):HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder msgraph_beta.generated.authenticationMethodsPolicy.authenticationMethodConfigurations.AuthenticationMethodConfigurationsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.authenticationMethodsPolicy.authenticationMethodConfigurations.AuthenticationMethodConfigurationsRequestBuilder.AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.authenticationMethodsPolicy.authenticationMethodConfigurations.AuthenticationMethodConfigurationsRequestBuilder.AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -10456,6 +10624,7 @@ msgraph_beta.generated.BaseGraphServiceClient::|public|app_role_assignments:AppR msgraph_beta.generated.BaseGraphServiceClient::|public|audit_logs:AuditLogsRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|authentication_methods_policy:AuthenticationMethodsPolicyRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|authentication_method_configurations:AuthenticationMethodConfigurationsRequestBuilder +msgraph_beta.generated.BaseGraphServiceClient::|public|authentication_method_devices:AuthenticationMethodDevicesRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|booking_businesses:BookingBusinessesRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|booking_currencies:BookingCurrenciesRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|business_flow_templates:BusinessFlowTemplatesRequestBuilder @@ -59365,6 +59534,139 @@ msgraph_beta.generated.directory.attributeSets.item.AttributeSetItemRequestBuild msgraph_beta.generated.directory.attributeSets.item.AttributeSetItemRequestBuilder::|public|to_patch_request_information(body:AttributeSet; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.attributeSets.item.AttributeSetItemRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.attributeSets.item.AttributeSetItemRequestBuilder::|public|with_url(raw_url:str):AttributeSetItemRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]):AuthenticationMethodDevice +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|hardware_oath_devices:HardwareOathDevicesRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|patch(body:AuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):AuthenticationMethodDevice +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AuthenticationMethodDevicesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|to_patch_request_information(body:AuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder::|public|with_url(raw_url:str):AuthenticationMethodDevicesRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|by_hardware_oath_token_authentication_method_device_id(hardware_oath_token_authentication_method_device_id:str):HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|post(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|to_post_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|with_url(raw_url:str):HardwareOathDevicesRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetRequestConfiguration-->RequestConfiguration[AssignToRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|with_url(raw_url:str):AssignToRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assign_to:AssignToRequestBuilder +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|patch(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_patch_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.authenticationMethodDevices.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|with_url(raw_url:str):HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder msgraph_beta.generated.directory.certificateAuthorities.CertificateAuthoritiesRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.certificateAuthorities.CertificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.certificateAuthorities.CertificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -60149,6 +60451,7 @@ msgraph_beta.generated.directory.DirectoryRequestBuilder.DirectoryRequestBuilder msgraph_beta.generated.directory.DirectoryRequestBuilder.DirectoryRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.DirectoryRequestBuilder::|public|administrative_units:AdministrativeUnitsRequestBuilder msgraph_beta.generated.directory.DirectoryRequestBuilder::|public|attribute_sets:AttributeSetsRequestBuilder +msgraph_beta.generated.directory.DirectoryRequestBuilder::|public|authentication_method_devices:AuthenticationMethodDevicesRequestBuilder msgraph_beta.generated.directory.DirectoryRequestBuilder::|public|certificate_authorities:CertificateAuthoritiesRequestBuilder msgraph_beta.generated.directory.DirectoryRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.DirectoryRequestBuilder::|public|custom_security_attribute_definitions:CustomSecurityAttributeDefinitionsRequestBuilder @@ -124811,6 +125114,7 @@ msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder: msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ChannelItemRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -124904,6 +125208,113 @@ msgraph_beta.generated.groups.item.team.channels.item.filesFolder.FilesFolderReq msgraph_beta.generated.groups.item.team.channels.item.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.groups.item.team.channels.item.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.team.channels.item.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.groups.item.team.channels.item.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.groups.item.team.channels.item.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.groups.item.team.channels.item.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -126304,6 +126715,113 @@ msgraph_beta.generated.groups.item.team.primaryChannel.filesFolder.FilesFolderRe msgraph_beta.generated.groups.item.team.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.groups.item.team.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.team.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.groups.item.team.primaryChannel.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.groups.item.team.primaryChannel.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.groups.item.team.primaryChannel.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -126844,6 +127362,7 @@ msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuil msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|get(request_configuration?:RequestConfiguration[PrimaryChannelRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -158916,6 +159435,8 @@ msgraph_beta.generated.models.Authentication::|public|email_methods(value:List[E msgraph_beta.generated.models.Authentication::|public|fido2_methods():List[Fido2AuthenticationMethod] msgraph_beta.generated.models.Authentication::|public|fido2_methods(value:List[Fido2AuthenticationMethod]):None msgraph_beta.generated.models.Authentication::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.Authentication::|public|hardware_oath_methods():List[HardwareOathAuthenticationMethod] +msgraph_beta.generated.models.Authentication::|public|hardware_oath_methods(value:List[HardwareOathAuthenticationMethod]):None msgraph_beta.generated.models.Authentication::|public|methods():List[AuthenticationMethod] msgraph_beta.generated.models.Authentication::|public|methods(value:List[AuthenticationMethod]):None msgraph_beta.generated.models.Authentication::|public|microsoft_authenticator_methods():List[MicrosoftAuthenticatorAuthenticationMethod] @@ -159382,6 +159903,23 @@ msgraph_beta.generated.models.AuthenticationMethodConfigurationCollectionRespons msgraph_beta.generated.models.AuthenticationMethodConfigurationCollectionResponse::|public|value():List[AuthenticationMethodConfiguration] msgraph_beta.generated.models.AuthenticationMethodConfigurationCollectionResponse::|public|value(value:List[AuthenticationMethodConfiguration]):None msgraph_beta.generated.models.AuthenticationMethodConfigurationCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AuthenticationMethodConfigurationCollectionResponse +msgraph_beta.generated.models.AuthenticationMethodDevice-->Entity +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|constructor():None +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|display_name():str +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|display_name(value:str):None +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|hardware_oath_devices():List[HardwareOathTokenAuthenticationMethodDevice] +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|hardware_oath_devices(value:List[HardwareOathTokenAuthenticationMethodDevice]):None +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|odata_type:str +msgraph_beta.generated.models.AuthenticationMethodDevice::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AuthenticationMethodDevice::|static|public|create_from_discriminator_value(parse_node:ParseNode):AuthenticationMethodDevice +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse::|public|value():List[AuthenticationMethodDevice] +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse::|public|value(value:List[AuthenticationMethodDevice]):None +msgraph_beta.generated.models.AuthenticationMethodDeviceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AuthenticationMethodDeviceCollectionResponse msgraph_beta.generated.models.AuthenticationMethodFeature::0000-SsprRegistered msgraph_beta.generated.models.AuthenticationMethodFeature::0001-SsprEnabled msgraph_beta.generated.models.AuthenticationMethodFeature::0002-SsprCapable @@ -163793,6 +164331,8 @@ msgraph_beta.generated.models.Channel::|public|email():str msgraph_beta.generated.models.Channel::|public|email(value:str):None msgraph_beta.generated.models.Channel::|public|files_folder():DriveItem msgraph_beta.generated.models.Channel::|public|files_folder(value:DriveItem):None +msgraph_beta.generated.models.Channel::|public|get_all_members():List[ConversationMember] +msgraph_beta.generated.models.Channel::|public|get_all_members(value:List[ConversationMember]):None msgraph_beta.generated.models.Channel::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.Channel::|public|is_archived():bool msgraph_beta.generated.models.Channel::|public|is_archived(value:bool):None @@ -177539,6 +178079,8 @@ msgraph_beta.generated.models.Directory::|public|administrative_units():List[Adm msgraph_beta.generated.models.Directory::|public|administrative_units(value:List[AdministrativeUnit]):None msgraph_beta.generated.models.Directory::|public|attribute_sets():List[AttributeSet] msgraph_beta.generated.models.Directory::|public|attribute_sets(value:List[AttributeSet]):None +msgraph_beta.generated.models.Directory::|public|authentication_method_devices():AuthenticationMethodDevice +msgraph_beta.generated.models.Directory::|public|authentication_method_devices(value:AuthenticationMethodDevice):None msgraph_beta.generated.models.Directory::|public|certificate_authorities():CertificateAuthorityPath msgraph_beta.generated.models.Directory::|public|certificate_authorities(value:CertificateAuthorityPath):None msgraph_beta.generated.models.Directory::|public|constructor():None @@ -185560,6 +186102,21 @@ msgraph_beta.generated.models.HardwareInformation::|public|wired_i_pv4_addresses msgraph_beta.generated.models.HardwareInformation::|public|wired_i_pv4_addresses(value:List[str]):None msgraph_beta.generated.models.HardwareInformation::|static|public|create_from_discriminator_value(parse_node:ParseNode):HardwareInformation msgraph_beta.generated.models.HardwareInformation~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.HardwareOathAuthenticationMethod-->AuthenticationMethod +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|public|constructor():None +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|public|device():HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|public|device(value:HardwareOathTokenAuthenticationMethodDevice):None +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|public|odata_type:str +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.HardwareOathAuthenticationMethod::|static|public|create_from_discriminator_value(parse_node:ParseNode):HardwareOathAuthenticationMethod +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse::|public|value():List[HardwareOathAuthenticationMethod] +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse::|public|value(value:List[HardwareOathAuthenticationMethod]):None +msgraph_beta.generated.models.HardwareOathAuthenticationMethodCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):HardwareOathAuthenticationMethodCollectionResponse msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration::|public|constructor():None msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -185568,6 +186125,45 @@ msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration::|pu msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration::|public|odata_type:str msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.HardwareOathAuthenticationMethodConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):HardwareOathAuthenticationMethodConfiguration +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice-->AuthenticationMethodDevice +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|assigned_to():Identity +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|assigned_to(value:Identity):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|assign_to():User +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|assign_to(value:User):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|constructor():None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|hash_function():HardwareOathTokenHashFunction +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|hash_function(value:HardwareOathTokenHashFunction):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|manufacturer():str +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|manufacturer(value:str):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|model():str +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|model(value:str):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|odata_type:str +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|secret_key():str +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|secret_key(value:str):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|serial_number():str +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|serial_number(value:str):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|status():HardwareOathTokenStatus +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|status(value:HardwareOathTokenStatus):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|time_interval_in_seconds():int +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|public|time_interval_in_seconds(value:int):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDevice::|static|public|create_from_discriminator_value(parse_node:ParseNode):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|value():List[HardwareOathTokenAuthenticationMethodDevice] +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|value(value:List[HardwareOathTokenAuthenticationMethodDevice]):None +msgraph_beta.generated.models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +msgraph_beta.generated.models.HardwareOathTokenHashFunction::0000-Hmacsha1 +msgraph_beta.generated.models.HardwareOathTokenHashFunction::0001-Hmacsha256 +msgraph_beta.generated.models.HardwareOathTokenHashFunction::0002-UnknownFutureValue +msgraph_beta.generated.models.HardwareOathTokenStatus::0000-Available +msgraph_beta.generated.models.HardwareOathTokenStatus::0001-Assigned +msgraph_beta.generated.models.HardwareOathTokenStatus::0002-Activated +msgraph_beta.generated.models.HardwareOathTokenStatus::0003-FailedActivation +msgraph_beta.generated.models.HardwareOathTokenStatus::0004-UnknownFutureValue msgraph_beta.generated.models.HardwarePasswordDetail-->Entity msgraph_beta.generated.models.HardwarePasswordDetail::|public|constructor():None msgraph_beta.generated.models.HardwarePasswordDetail::|public|current_password():str @@ -200268,6 +200864,22 @@ msgraph_beta.generated.models.networkaccess.AlertSeveritySummary::|public|severi msgraph_beta.generated.models.networkaccess.AlertSeveritySummary::|public|severity(value:AlertSeverity):None msgraph_beta.generated.models.networkaccess.AlertSeveritySummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):AlertSeveritySummary msgraph_beta.generated.models.networkaccess.AlertSeveritySummary~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|alert_type():AlertType +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|alert_type(value:AlertType):None +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|backing_store:BackingStore +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|constructor():None +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|count():int +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|count(value:int):None +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|odata_type():str +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|odata_type(value:str):None +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|severity():AlertSeverity +msgraph_beta.generated.models.networkaccess.AlertSummary::|public|severity(value:AlertSeverity):None +msgraph_beta.generated.models.networkaccess.AlertSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):AlertSummary +msgraph_beta.generated.models.networkaccess.AlertSummary~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.networkaccess.AlertType::0000-UnhealthyRemoteNetworks msgraph_beta.generated.models.networkaccess.AlertType::0001-UnhealthyConnectors msgraph_beta.generated.models.networkaccess.AlertType::0002-DeviceTokenInconsistency @@ -218191,6 +218803,8 @@ msgraph_beta.generated.models.security.DataSet::|public|created_by():IdentitySet msgraph_beta.generated.models.security.DataSet::|public|created_by(value:IdentitySet):None msgraph_beta.generated.models.security.DataSet::|public|created_date_time():datetime.datetime msgraph_beta.generated.models.security.DataSet::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.security.DataSet::|public|description():str +msgraph_beta.generated.models.security.DataSet::|public|description(value:str):None msgraph_beta.generated.models.security.DataSet::|public|display_name():str msgraph_beta.generated.models.security.DataSet::|public|display_name(value:str):None msgraph_beta.generated.models.security.DataSet::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -226828,6 +227442,12 @@ msgraph_beta.generated.models.StartHoldMusicOperation::|public|get_field_deseria msgraph_beta.generated.models.StartHoldMusicOperation::|public|odata_type:str msgraph_beta.generated.models.StartHoldMusicOperation::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.StartHoldMusicOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartHoldMusicOperation +msgraph_beta.generated.models.StartRecordingOperation-->CommsOperation +msgraph_beta.generated.models.StartRecordingOperation::|public|constructor():None +msgraph_beta.generated.models.StartRecordingOperation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.StartRecordingOperation::|public|odata_type:str +msgraph_beta.generated.models.StartRecordingOperation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.StartRecordingOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartRecordingOperation msgraph_beta.generated.models.StartsWithTransformation-->CustomClaimTransformation msgraph_beta.generated.models.StartsWithTransformation::|public|constructor():None msgraph_beta.generated.models.StartsWithTransformation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -226838,6 +227458,12 @@ msgraph_beta.generated.models.StartsWithTransformation::|public|serialize(writer msgraph_beta.generated.models.StartsWithTransformation::|public|value():str msgraph_beta.generated.models.StartsWithTransformation::|public|value(value:str):None msgraph_beta.generated.models.StartsWithTransformation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartsWithTransformation +msgraph_beta.generated.models.StartTranscriptionOperation-->CommsOperation +msgraph_beta.generated.models.StartTranscriptionOperation::|public|constructor():None +msgraph_beta.generated.models.StartTranscriptionOperation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.StartTranscriptionOperation::|public|odata_type:str +msgraph_beta.generated.models.StartTranscriptionOperation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.StartTranscriptionOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartTranscriptionOperation msgraph_beta.generated.models.StateManagementSetting::0000-NotConfigured msgraph_beta.generated.models.StateManagementSetting::0001-Blocked msgraph_beta.generated.models.StateManagementSetting::0002-Allowed @@ -226886,6 +227512,18 @@ msgraph_beta.generated.models.StopHoldMusicOperation::|public|get_field_deserial msgraph_beta.generated.models.StopHoldMusicOperation::|public|odata_type:str msgraph_beta.generated.models.StopHoldMusicOperation::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.StopHoldMusicOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopHoldMusicOperation +msgraph_beta.generated.models.StopRecordingOperation-->CommsOperation +msgraph_beta.generated.models.StopRecordingOperation::|public|constructor():None +msgraph_beta.generated.models.StopRecordingOperation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.StopRecordingOperation::|public|odata_type:str +msgraph_beta.generated.models.StopRecordingOperation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.StopRecordingOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopRecordingOperation +msgraph_beta.generated.models.StopTranscriptionOperation-->CommsOperation +msgraph_beta.generated.models.StopTranscriptionOperation::|public|constructor():None +msgraph_beta.generated.models.StopTranscriptionOperation::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.StopTranscriptionOperation::|public|odata_type:str +msgraph_beta.generated.models.StopTranscriptionOperation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.StopTranscriptionOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopTranscriptionOperation msgraph_beta.generated.models.Storage::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.Storage::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.Storage::|public|backing_store:BackingStore @@ -244919,6 +245557,7 @@ msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|count: msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AlertsRequestBuilderGetQueryParameters]):AlertCollectionResponse msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder +msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|post(body:Alert; request_configuration?:RequestConfiguration[QueryParameters]):Alert msgraph_beta.generated.networkAccess.alerts.AlertsRequestBuilder::|public|request_adapter:RequestAdapter @@ -245013,6 +245652,28 @@ msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertS msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():None +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|value():List[AlertSummary] +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|value(value:List[AlertSummary]):None +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters] +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; end_date_time?:datetime.datetime; start_date_time?:datetime.datetime):None +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]):GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str +msgraph_beta.generated.networkAccess.alerts.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.networkAccess.connectivity.branches.BranchesRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.networkAccess.connectivity.branches.BranchesRequestBuilder.BranchesRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.networkAccess.connectivity.branches.BranchesRequestBuilder.BranchesRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -299844,6 +300505,7 @@ msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|publ msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ChannelItemRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -299937,6 +300599,113 @@ msgraph_beta.generated.teams.item.channels.item.filesFolder.FilesFolderRequestBu msgraph_beta.generated.teams.item.channels.item.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teams.item.channels.item.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teams.item.channels.item.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teams.item.channels.item.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teams.item.channels.item.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teams.item.channels.item.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -301337,6 +302106,113 @@ msgraph_beta.generated.teams.item.primaryChannel.filesFolder.FilesFolderRequestB msgraph_beta.generated.teams.item.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teams.item.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teams.item.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teams.item.primaryChannel.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teams.item.primaryChannel.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teams.item.primaryChannel.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -301877,6 +302753,7 @@ msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::| msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|get(request_configuration?:RequestConfiguration[PrimaryChannelRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -303399,6 +304276,7 @@ msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item. msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ChannelItemRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -303492,6 +304370,113 @@ msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item. msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.channels.item.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -304892,6 +305877,113 @@ msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -305432,6 +306524,7 @@ msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|get(request_configuration?:RequestConfiguration[PrimaryChannelRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -306965,6 +308058,7 @@ msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemReque msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ChannelItemRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -307058,6 +308152,113 @@ msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.filesFolder.File msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teamwork.deletedTeams.item.channels.item.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -308319,6 +309520,7 @@ msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefiniti msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ChannelItemRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -308412,6 +309614,113 @@ msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefiniti msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -309812,6 +311121,113 @@ msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefiniti msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FilesFolderRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|url_template:str msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.filesFolder.FilesFolderRequestBuilder::|public|with_url(raw_url:str):FilesFolderRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostRequestBody +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddPostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder.AddRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|post(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddPostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|to_post_request_information(body:AddPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.add.AddRequestBuilder::|public|with_url(raw_url:str):AddRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder.GetAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|add:AddRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|by_conversation_member_id(conversation_member_id:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):ConversationMemberCollectionResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|post(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|remove:RemoveRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|to_post_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.GetAllMembersRequestBuilder::|public|with_url(raw_url:str):GetAllMembersRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|patch(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):ConversationMember +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|to_patch_request_information(body:ConversationMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.item.ConversationMemberItemRequestBuilder::|public|with_url(raw_url:str):ConversationMemberItemRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values():List[ConversationMember] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|public|values(value:List[ConversationMember]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostRequestBody +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|constructor():None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value():List[ActionResultPart] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|public|value(value:List[ActionResultPart]):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemovePostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemovePostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder.RemoveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemovePostResponse +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|to_post_request_information(body:RemovePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.getAllMembers.remove.RemoveRequestBuilder::|public|with_url(raw_url:str):RemoveRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.members.add.AddPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.members.add.AddPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.members.add.AddPostRequestBody::|public|backing_store:BackingStore @@ -310352,6 +311768,7 @@ msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefiniti msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name:DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|files_folder:FilesFolderRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|get(request_configuration?:RequestConfiguration[PrimaryChannelRequestBuilderGetQueryParameters]):Channel +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|get_all_members:GetAllMembersRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|messages:MessagesRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|patch(body:Channel; request_configuration?:RequestConfiguration[QueryParameters]):Channel @@ -318813,6 +320230,7 @@ msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::| msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|email_methods:EmailMethodsRequestBuilder msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|fido2_methods:Fido2MethodsRequestBuilder msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AuthenticationRequestBuilderGetQueryParameters]):Authentication +msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|hardware_oath_methods:HardwareOathMethodsRequestBuilder msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|methods:MethodsRequestBuilder msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|microsoft_authenticator_methods:MicrosoftAuthenticatorMethodsRequestBuilder msgraph_beta.generated.users.item.authentication.AuthenticationRequestBuilder::|public|operations:OperationsRequestBuilder @@ -318945,6 +320363,331 @@ msgraph_beta.generated.users.item.authentication.fido2Methods.item.Fido2Authenti msgraph_beta.generated.users.item.authentication.fido2Methods.item.Fido2AuthenticationMethodItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.users.item.authentication.fido2Methods.item.Fido2AuthenticationMethodItemRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.authentication.fido2Methods.item.Fido2AuthenticationMethodItemRequestBuilder::|public|with_url(raw_url:str):Fido2AuthenticationMethodItemRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|device():HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|device(value:HardwareOathTokenAuthenticationMethodDevice):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|display_name():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|verification_code():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|public|verification_code(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AssignAndActivatePostRequestBody +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder.AssignAndActivateRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|post(body:AssignAndActivatePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|to_post_request_information(body:AssignAndActivatePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivate.AssignAndActivateRequestBuilder::|public|with_url(raw_url:str):AssignAndActivateRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|display_name():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|serial_number():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|serial_number(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|verification_code():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|public|verification_code(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AssignAndActivateBySerialNumberPostRequestBody +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder.AssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|post(body:AssignAndActivateBySerialNumberPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|to_post_request_information(body:AssignAndActivateBySerialNumberPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.assignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder::|public|with_url(raw_url:str):AssignAndActivateBySerialNumberRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathMethodsRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder.HardwareOathMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|assign_and_activate:AssignAndActivateRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|assign_and_activate_by_serial_number:AssignAndActivateBySerialNumberRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|by_hardware_oath_authentication_method_id(hardware_oath_authentication_method_id:str):HardwareOathAuthenticationMethodItemRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathMethodsRequestBuilderGetQueryParameters]):HardwareOathAuthenticationMethodCollectionResponse +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|post(body:HardwareOathAuthenticationMethod; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathAuthenticationMethod +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathMethodsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|to_post_request_information(body:HardwareOathAuthenticationMethod; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.HardwareOathMethodsRequestBuilder::|public|with_url(raw_url:str):HardwareOathMethodsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|display_name():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|verification_code():str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|public|verification_code(value:str):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ActivatePostRequestBody +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder.ActivateRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|post(body:ActivatePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|to_post_request_information(body:ActivatePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.activate.ActivateRequestBuilder::|public|with_url(raw_url:str):ActivateRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder.DeactivateRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.deactivate.DeactivateRequestBuilder::|public|with_url(raw_url:str):DeactivateRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetRequestConfiguration-->RequestConfiguration[AssignToRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.AssignToRequestBuilder::|public|with_url(raw_url:str):AssignToRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder.DeviceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder.DeviceRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder.DeviceRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder.DeviceRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder.DeviceRequestBuilderGetRequestConfiguration-->RequestConfiguration[DeviceRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder.DeviceRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|assign_to:AssignToRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DeviceRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|hardware_oath_devices:HardwareOathDevicesRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|patch(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DeviceRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|to_patch_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.DeviceRequestBuilder::|public|with_url(raw_url:str):DeviceRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder.HardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|by_hardware_oath_token_authentication_method_device_id(hardware_oath_token_authentication_method_device_id:str):HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|post(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|to_post_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.HardwareOathDevicesRequestBuilder::|public|with_url(raw_url:str):HardwareOathDevicesRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder.AssignToRequestBuilderGetRequestConfiguration-->RequestConfiguration[AssignToRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AssignToRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.AssignToRequestBuilder::|public|with_url(raw_url:str):AssignToRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.assignTo.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assign_to:AssignToRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|patch(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):HardwareOathTokenAuthenticationMethodDevice +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|to_patch_request_information(body:HardwareOathTokenAuthenticationMethodDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.device.hardwareOathDevices.item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|with_url(raw_url:str):HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|activate:ActivateRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|deactivate:DeactivateRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|device:DeviceRequestBuilder +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters]):HardwareOathAuthenticationMethod +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.authentication.hardwareOathMethods.item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|with_url(raw_url:str):HardwareOathAuthenticationMethodItemRequestBuilder msgraph_beta.generated.users.item.authentication.methods.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.authentication.methods.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.users.item.authentication.methods.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index 5ec2baf2355..65d5770b69f 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "4641BD7E28A76AB0CDF1D8A276424B0690677022FF97D45ED1717B4627B06BD9F42CD0CBE280CAD3CF3CB906ED657475ABCB4FFDE5C7154C04D8E6B63B9C6353", + "descriptionHash": "C77E5CC6680E71997C77D4B497647030E3B6D51B37B16200F42FA2DB4238160C5FD8825BB6575991A5173DBE083163A1607E39644BDC1AE10B0562F5C8E58B3A", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.21.0", diff --git a/msgraph_beta/generated/models/app_role_assignment.py b/msgraph_beta/generated/models/app_role_assignment.py index 9a2760e5a34..bd3a610816d 100644 --- a/msgraph_beta/generated/models/app_role_assignment.py +++ b/msgraph_beta/generated/models/app_role_assignment.py @@ -18,13 +18,13 @@ class AppRoleAssignment(Entity, Parsable): creation_timestamp: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). + # The display name of the user, group, or service principal that was granted the app role assignment. Maximum length is 256 characters. Read-only. Supports $filter (eq and startswith). principal_display_name: Optional[str] = None # The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create. principal_id: Optional[UUID] = None # The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only. principal_type: Optional[str] = None - # The display name of the resource app's service principal to which the assignment is made. + # The display name of the resource app's service principal to which the assignment is made. Maximum length is 256 characters. resource_display_name: Optional[str] = None # The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only). resource_id: Optional[UUID] = None diff --git a/msgraph_beta/generated/models/application.py b/msgraph_beta/generated/models/application.py index 1c81280aeb2..0745471c0c1 100644 --- a/msgraph_beta/generated/models/application.py +++ b/msgraph_beta/generated/models/application.py @@ -65,7 +65,7 @@ class Application(DirectoryObject, Parsable): description: Optional[str] = None # Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). disabled_by_microsoft_status: Optional[str] = None - # The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. + # The display name for the application. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. display_name: Optional[str] = None # Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). extension_properties: Optional[List[ExtensionProperty]] = None diff --git a/msgraph_beta/generated/models/authentication.py b/msgraph_beta/generated/models/authentication.py index fa11ed3f2c4..492f7aea96c 100644 --- a/msgraph_beta/generated/models/authentication.py +++ b/msgraph_beta/generated/models/authentication.py @@ -8,6 +8,7 @@ from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .long_running_operation import LongRunningOperation from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod @@ -28,6 +29,8 @@ class Authentication(Entity, Parsable): email_methods: Optional[List[EmailAuthenticationMethod]] = None # Represents the FIDO2 security keys registered to a user for authentication. fido2_methods: Optional[List[Fido2AuthenticationMethod]] = None + # The hardwareOathMethods property + hardware_oath_methods: Optional[List[HardwareOathAuthenticationMethod]] = None # Represents all authentication methods registered to a user. methods: Optional[List[AuthenticationMethod]] = None # The details of the Microsoft Authenticator app registered to a user for authentication. @@ -75,6 +78,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .long_running_operation import LongRunningOperation from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod @@ -91,6 +95,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .long_running_operation import LongRunningOperation from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod @@ -106,6 +111,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "emailMethods": lambda n : setattr(self, 'email_methods', n.get_collection_of_object_values(EmailAuthenticationMethod)), "fido2Methods": lambda n : setattr(self, 'fido2_methods', n.get_collection_of_object_values(Fido2AuthenticationMethod)), + "hardwareOathMethods": lambda n : setattr(self, 'hardware_oath_methods', n.get_collection_of_object_values(HardwareOathAuthenticationMethod)), "methods": lambda n : setattr(self, 'methods', n.get_collection_of_object_values(AuthenticationMethod)), "microsoftAuthenticatorMethods": lambda n : setattr(self, 'microsoft_authenticator_methods', n.get_collection_of_object_values(MicrosoftAuthenticatorAuthenticationMethod)), "operations": lambda n : setattr(self, 'operations', n.get_collection_of_object_values(LongRunningOperation)), @@ -136,6 +142,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .long_running_operation import LongRunningOperation from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod @@ -150,6 +157,7 @@ def serialize(self,writer: SerializationWriter) -> None: 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("hardwareOathMethods", self.hardware_oath_methods) writer.write_collection_of_object_values("methods", self.methods) writer.write_collection_of_object_values("microsoftAuthenticatorMethods", self.microsoft_authenticator_methods) writer.write_collection_of_object_values("operations", self.operations) diff --git a/msgraph_beta/generated/models/authentication_method.py b/msgraph_beta/generated/models/authentication_method.py index 7dcbb101d1d..127c8da209a 100644 --- a/msgraph_beta/generated/models/authentication_method.py +++ b/msgraph_beta/generated/models/authentication_method.py @@ -8,6 +8,7 @@ from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod from .password_authentication_method import PasswordAuthenticationMethod @@ -48,6 +49,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth from .fido2_authentication_method import Fido2AuthenticationMethod return Fido2AuthenticationMethod() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.hardwareOathAuthenticationMethod".casefold(): + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + return HardwareOathAuthenticationMethod() if mapping_value and mapping_value.casefold() == "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod".casefold(): from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod @@ -90,6 +95,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod from .password_authentication_method import PasswordAuthenticationMethod @@ -102,6 +108,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod from .password_authentication_method import PasswordAuthenticationMethod @@ -130,6 +137,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .email_authentication_method import EmailAuthenticationMethod from .entity import Entity from .fido2_authentication_method import Fido2AuthenticationMethod + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod from .password_authentication_method import PasswordAuthenticationMethod diff --git a/msgraph_beta/generated/models/authentication_method_device.py b/msgraph_beta/generated/models/authentication_method_device.py new file mode 100644 index 00000000000..96fb52dac25 --- /dev/null +++ b/msgraph_beta/generated/models/authentication_method_device.py @@ -0,0 +1,75 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + +from .entity import Entity + +@dataclass +class AuthenticationMethodDevice(Entity, Parsable): + # The displayName property + display_name: Optional[str] = None + # The hardwareOathDevices property + hardware_oath_devices: Optional[List[HardwareOathTokenAuthenticationMethodDevice]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMethodDevice: + """ + 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: AuthenticationMethodDevice + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice".casefold(): + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return HardwareOathTokenAuthenticationMethodDevice() + return AuthenticationMethodDevice() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .entity import Entity + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + from .entity import Entity + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + fields: Dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "hardwareOathDevices": lambda n : setattr(self, 'hardware_oath_devices', n.get_collection_of_object_values(HardwareOathTokenAuthenticationMethodDevice)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .entity import Entity + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + writer.write_str_value("displayName", self.display_name) + writer.write_collection_of_object_values("hardwareOathDevices", self.hardware_oath_devices) + + diff --git a/msgraph_beta/generated/models/authentication_method_device_collection_response.py b/msgraph_beta/generated/models/authentication_method_device_collection_response.py new file mode 100644 index 00000000000..d8e2e9bff75 --- /dev/null +++ b/msgraph_beta/generated/models/authentication_method_device_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_method_device import AuthenticationMethodDevice + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AuthenticationMethodDeviceCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[AuthenticationMethodDevice]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMethodDeviceCollectionResponse: + """ + 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: AuthenticationMethodDeviceCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AuthenticationMethodDeviceCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method_device import AuthenticationMethodDevice + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .authentication_method_device import AuthenticationMethodDevice + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(AuthenticationMethodDevice)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .authentication_method_device import AuthenticationMethodDevice + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/channel.py b/msgraph_beta/generated/models/channel.py index 794a6e64cc0..746e98b46fd 100644 --- a/msgraph_beta/generated/models/channel.py +++ b/msgraph_beta/generated/models/channel.py @@ -29,6 +29,8 @@ class Channel(Entity, Parsable): email: Optional[str] = None # Metadata for the location where the channel's files are stored. files_folder: Optional[DriveItem] = None + # The getAllMembers property + get_all_members: Optional[List[ConversationMember]] = None # Indicates whether the channel is archived. Read-only. is_archived: Optional[bool] = None # Indicates whether the channel should be marked as recommended for all members of the team to show in their channel list. Note: All recommended channels automatically show in the channels list for education and frontline worker users. The property can only be set programmatically via the Create team method. The default value is false. @@ -96,6 +98,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "email": lambda n : setattr(self, 'email', n.get_str_value()), "filesFolder": lambda n : setattr(self, 'files_folder', n.get_object_value(DriveItem)), + "getAllMembers": lambda n : setattr(self, 'get_all_members', n.get_collection_of_object_values(ConversationMember)), "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), "isFavoriteByDefault": lambda n : setattr(self, 'is_favorite_by_default', n.get_bool_value()), "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(ConversationMember)), @@ -136,6 +139,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("displayName", self.display_name) writer.write_str_value("email", self.email) writer.write_object_value("filesFolder", self.files_folder) + writer.write_collection_of_object_values("getAllMembers", self.get_all_members) writer.write_bool_value("isArchived", self.is_archived) writer.write_bool_value("isFavoriteByDefault", self.is_favorite_by_default) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/comms_operation.py b/msgraph_beta/generated/models/comms_operation.py index bb9cd826923..9ed14df8966 100644 --- a/msgraph_beta/generated/models/comms_operation.py +++ b/msgraph_beta/generated/models/comms_operation.py @@ -16,7 +16,11 @@ from .result_info import ResultInfo from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .subscribe_to_tone_operation import SubscribeToToneOperation from .unmute_participant_operation import UnmuteParticipantOperation from .update_recording_status_operation import UpdateRecordingStatusOperation @@ -84,10 +88,26 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CommsOperation: from .start_hold_music_operation import StartHoldMusicOperation return StartHoldMusicOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.startRecordingOperation".casefold(): + from .start_recording_operation import StartRecordingOperation + + return StartRecordingOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.startTranscriptionOperation".casefold(): + from .start_transcription_operation import StartTranscriptionOperation + + return StartTranscriptionOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.stopHoldMusicOperation".casefold(): from .stop_hold_music_operation import StopHoldMusicOperation return StopHoldMusicOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.stopRecordingOperation".casefold(): + from .stop_recording_operation import StopRecordingOperation + + return StopRecordingOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.stopTranscriptionOperation".casefold(): + from .stop_transcription_operation import StopTranscriptionOperation + + return StopTranscriptionOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.subscribeToToneOperation".casefold(): from .subscribe_to_tone_operation import SubscribeToToneOperation @@ -119,7 +139,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .result_info import ResultInfo from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .subscribe_to_tone_operation import SubscribeToToneOperation from .unmute_participant_operation import UnmuteParticipantOperation from .update_recording_status_operation import UpdateRecordingStatusOperation @@ -136,7 +160,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .result_info import ResultInfo from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .subscribe_to_tone_operation import SubscribeToToneOperation from .unmute_participant_operation import UnmuteParticipantOperation from .update_recording_status_operation import UpdateRecordingStatusOperation @@ -171,7 +199,11 @@ def serialize(self,writer: SerializationWriter) -> None: from .result_info import ResultInfo from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .subscribe_to_tone_operation import SubscribeToToneOperation from .unmute_participant_operation import UnmuteParticipantOperation from .update_recording_status_operation import UpdateRecordingStatusOperation diff --git a/msgraph_beta/generated/models/device.py b/msgraph_beta/generated/models/device.py index 12bd060d4d5..1150f07b7a3 100644 --- a/msgraph_beta/generated/models/device.py +++ b/msgraph_beta/generated/models/device.py @@ -38,7 +38,7 @@ class Device(DirectoryObject, Parsable): device_ownership: Optional[str] = None # For internal use only. device_version: Optional[int] = None - # The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. + # The display name for the device. Maximum length is 256 characters. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. display_name: Optional[str] = None # The on-premises domain name of Microsoft Entra hybrid joined devices. This property is set by Intune. domain_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_compliance_policy.py b/msgraph_beta/generated/models/device_compliance_policy.py index 6d9e1d22d31..32c6324df4b 100644 --- a/msgraph_beta/generated/models/device_compliance_policy.py +++ b/msgraph_beta/generated/models/device_compliance_policy.py @@ -53,7 +53,7 @@ class DeviceCompliancePolicy(Entity, Parsable): odata_type: Optional[str] = None # List of Scope Tags for this Entity instance. role_scope_tag_ids: Optional[List[str]] = None - # The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + # The list of scheduled action for this rule scheduled_actions_for_rule: Optional[List[DeviceComplianceScheduledActionForRule]] = None # Device compliance users status overview user_status_overview: Optional[DeviceComplianceUserOverview] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py b/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py index f61c36ae50d..ccba6748b68 100644 --- a/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py +++ b/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py @@ -16,7 +16,7 @@ class DeviceManagementConfigurationReferredSettingInformation(AdditionalDataHold additional_data: Dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # Setting definition id that is being referred to a setting. Applicable for reusable setting + # Setting definition id that is being referred to a setting. Applicable for reusable setting. setting_definition_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py index 48dd136d574..2afcd6dd250 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py @@ -26,19 +26,19 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): # The accessTypes property access_types: Optional[DeviceManagementConfigurationSettingAccessTypes] = None - # Details which device setting is applicable on + # Details which device setting is applicable on. Supports: $filters. applicability: Optional[DeviceManagementConfigurationSettingApplicability] = None # Base CSP Path base_uri: Optional[str] = None - # Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + # Specify category in which the setting is under. Support $filters. category_id: Optional[str] = None - # Description of the item + # Description of the setting. description: Optional[str] = None - # Display name of the item + # Name of the setting. For example: Allow Toast. display_name: Optional[str] = None - # Help text of the item + # Help text of the setting. Give more details of the setting. help_text: Optional[str] = None - # List of links more info for the setting can be found at + # List of links more info for the setting can be found at. info_urls: Optional[List[str]] = None # Tokens which to search settings on keywords: Optional[List[str]] = None @@ -52,7 +52,7 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): offset_uri: Optional[str] = None # List of referred setting information. referred_setting_information_list: Optional[List[DeviceManagementConfigurationReferredSettingInformation]] = None - # Root setting definition if the setting is a child setting. + # Root setting definition id if the setting is a child setting. root_definition_id: Optional[str] = None # Supported setting types setting_usage: Optional[DeviceManagementConfigurationSettingUsage] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py index 1a7f27b2c3b..ea731f21149 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py @@ -10,9 +10,9 @@ @dataclass class DeviceManagementConfigurationSimpleSettingCollectionDefinition(DeviceManagementConfigurationSimpleSettingDefinition, Parsable): - # Maximum number of simple settings in the collection. Valid values 1 to 100 + # Maximum number of simple settings in the collection maximum_count: Optional[int] = None - # Minimum number of simple settings in the collection. Valid values 1 to 100 + # Minimum number of simple settings in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py index a873ea8d9c4..462e5932dc4 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py @@ -18,15 +18,15 @@ class DeviceManagementConfigurationStringSettingValueDefinition(DeviceManagement odata_type: Optional[str] = "#microsoft.graph.deviceManagementConfigurationStringSettingValueDefinition" # Supported file types for this setting. file_types: Optional[List[str]] = None - # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. format: Optional[DeviceManagementConfigurationStringFormat] = None # Regular expression or any xml or json schema that the input string should match input_validation_schema: Optional[str] = None # Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX. is_secret: Optional[bool] = None - # Maximum length of string + # Maximum length of string. Valid values 0 to 87516 maximum_length: Optional[int] = None - # Minimum length of string + # Minimum length of string. Valid values 0 to 87516 minimum_length: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/directory.py b/msgraph_beta/generated/models/directory.py index 036553ca406..91711f2004e 100644 --- a/msgraph_beta/generated/models/directory.py +++ b/msgraph_beta/generated/models/directory.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .administrative_unit import AdministrativeUnit from .attribute_set import AttributeSet + from .authentication_method_device import AuthenticationMethodDevice from .certificate_authority_path import CertificateAuthorityPath from .company_subscription import CompanySubscription from .custom_security_attribute_definition import CustomSecurityAttributeDefinition @@ -32,6 +33,8 @@ class Directory(Entity, Parsable): administrative_units: Optional[List[AdministrativeUnit]] = None # Group of related custom security attribute definitions. attribute_sets: Optional[List[AttributeSet]] = None + # The authenticationMethodDevices property + authentication_method_devices: Optional[AuthenticationMethodDevice] = None # The certificateAuthorities property certificate_authorities: Optional[CertificateAuthorityPath] = None # Schema of a custom security attributes (key-value pairs). @@ -85,6 +88,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .administrative_unit import AdministrativeUnit from .attribute_set import AttributeSet + from .authentication_method_device import AuthenticationMethodDevice from .certificate_authority_path import CertificateAuthorityPath from .company_subscription import CompanySubscription from .custom_security_attribute_definition import CustomSecurityAttributeDefinition @@ -105,6 +109,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .administrative_unit import AdministrativeUnit from .attribute_set import AttributeSet + from .authentication_method_device import AuthenticationMethodDevice from .certificate_authority_path import CertificateAuthorityPath from .company_subscription import CompanySubscription from .custom_security_attribute_definition import CustomSecurityAttributeDefinition @@ -126,6 +131,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "administrativeUnits": lambda n : setattr(self, 'administrative_units', n.get_collection_of_object_values(AdministrativeUnit)), "attributeSets": lambda n : setattr(self, 'attribute_sets', n.get_collection_of_object_values(AttributeSet)), + "authenticationMethodDevices": lambda n : setattr(self, 'authentication_method_devices', n.get_object_value(AuthenticationMethodDevice)), "certificateAuthorities": lambda n : setattr(self, 'certificate_authorities', n.get_object_value(CertificateAuthorityPath)), "customSecurityAttributeDefinitions": lambda n : setattr(self, 'custom_security_attribute_definitions', n.get_collection_of_object_values(CustomSecurityAttributeDefinition)), "deletedItems": lambda n : setattr(self, 'deleted_items', n.get_collection_of_object_values(DirectoryObject)), @@ -158,6 +164,7 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) from .administrative_unit import AdministrativeUnit from .attribute_set import AttributeSet + from .authentication_method_device import AuthenticationMethodDevice from .certificate_authority_path import CertificateAuthorityPath from .company_subscription import CompanySubscription from .custom_security_attribute_definition import CustomSecurityAttributeDefinition @@ -178,6 +185,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("administrativeUnits", self.administrative_units) writer.write_collection_of_object_values("attributeSets", self.attribute_sets) + writer.write_object_value("authenticationMethodDevices", self.authentication_method_devices) writer.write_object_value("certificateAuthorities", self.certificate_authorities) writer.write_collection_of_object_values("customSecurityAttributeDefinitions", self.custom_security_attribute_definitions) writer.write_collection_of_object_values("deletedItems", self.deleted_items) diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index 9d31ba6cd59..be66f2ee41b 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -195,6 +195,7 @@ from .authentication_methods_policy import AuthenticationMethodsPolicy from .authentication_methods_root import AuthenticationMethodsRoot from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_device import AuthenticationMethodDevice from .authentication_method_mode_detail import AuthenticationMethodModeDetail from .authentication_method_target import AuthenticationMethodTarget from .authentication_strength_policy import AuthenticationStrengthPolicy @@ -761,7 +762,9 @@ from .hardware_configuration_device_state import HardwareConfigurationDeviceState from .hardware_configuration_run_summary import HardwareConfigurationRunSummary from .hardware_configuration_user_state import HardwareConfigurationUserState + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice from .hardware_password_detail import HardwarePasswordDetail from .hardware_password_info import HardwarePasswordInfo from .health_monitoring.alert import Alert @@ -1596,7 +1599,11 @@ from .stale_sign_in_alert_incident import StaleSignInAlertIncident from .standard_web_part import StandardWebPart from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .storage_quota_breakdown import StorageQuotaBreakdown from .storage_settings import StorageSettings from .strong_authentication_detail import StrongAuthenticationDetail @@ -2791,6 +2798,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .authentication_method_configuration import AuthenticationMethodConfiguration return AuthenticationMethodConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.authenticationMethodDevice".casefold(): + from .authentication_method_device import AuthenticationMethodDevice + + return AuthenticationMethodDevice() if mapping_value and mapping_value.casefold() == "#microsoft.graph.authenticationMethodModeDetail".casefold(): from .authentication_method_mode_detail import AuthenticationMethodModeDetail @@ -5089,10 +5100,18 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .hardware_configuration_user_state import HardwareConfigurationUserState return HardwareConfigurationUserState() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.hardwareOathAuthenticationMethod".casefold(): + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + return HardwareOathAuthenticationMethod() if mapping_value and mapping_value.casefold() == "#microsoft.graph.hardwareOathAuthenticationMethodConfiguration".casefold(): from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration return HardwareOathAuthenticationMethodConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice".casefold(): + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return HardwareOathTokenAuthenticationMethodDevice() if mapping_value and mapping_value.casefold() == "#microsoft.graph.hardwarePasswordDetail".casefold(): from .hardware_password_detail import HardwarePasswordDetail @@ -8463,10 +8482,26 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .start_hold_music_operation import StartHoldMusicOperation return StartHoldMusicOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.startRecordingOperation".casefold(): + from .start_recording_operation import StartRecordingOperation + + return StartRecordingOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.startTranscriptionOperation".casefold(): + from .start_transcription_operation import StartTranscriptionOperation + + return StartTranscriptionOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.stopHoldMusicOperation".casefold(): from .stop_hold_music_operation import StopHoldMusicOperation return StopHoldMusicOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.stopRecordingOperation".casefold(): + from .stop_recording_operation import StopRecordingOperation + + return StopRecordingOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.stopTranscriptionOperation".casefold(): + from .stop_transcription_operation import StopTranscriptionOperation + + return StopTranscriptionOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.storageQuotaBreakdown".casefold(): from .storage_quota_breakdown import StorageQuotaBreakdown @@ -10328,6 +10363,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authentication_methods_policy import AuthenticationMethodsPolicy from .authentication_methods_root import AuthenticationMethodsRoot from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_device import AuthenticationMethodDevice from .authentication_method_mode_detail import AuthenticationMethodModeDetail from .authentication_method_target import AuthenticationMethodTarget from .authentication_strength_policy import AuthenticationStrengthPolicy @@ -10894,7 +10930,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .hardware_configuration_device_state import HardwareConfigurationDeviceState from .hardware_configuration_run_summary import HardwareConfigurationRunSummary from .hardware_configuration_user_state import HardwareConfigurationUserState + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice from .hardware_password_detail import HardwarePasswordDetail from .hardware_password_info import HardwarePasswordInfo from .health_monitoring.alert import Alert @@ -11729,7 +11767,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .stale_sign_in_alert_incident import StaleSignInAlertIncident from .standard_web_part import StandardWebPart from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .storage_quota_breakdown import StorageQuotaBreakdown from .storage_settings import StorageSettings from .strong_authentication_detail import StrongAuthenticationDetail @@ -12336,6 +12378,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authentication_methods_policy import AuthenticationMethodsPolicy from .authentication_methods_root import AuthenticationMethodsRoot from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_device import AuthenticationMethodDevice from .authentication_method_mode_detail import AuthenticationMethodModeDetail from .authentication_method_target import AuthenticationMethodTarget from .authentication_strength_policy import AuthenticationStrengthPolicy @@ -12902,7 +12945,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .hardware_configuration_device_state import HardwareConfigurationDeviceState from .hardware_configuration_run_summary import HardwareConfigurationRunSummary from .hardware_configuration_user_state import HardwareConfigurationUserState + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice from .hardware_password_detail import HardwarePasswordDetail from .hardware_password_info import HardwarePasswordInfo from .health_monitoring.alert import Alert @@ -13737,7 +13782,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .stale_sign_in_alert_incident import StaleSignInAlertIncident from .standard_web_part import StandardWebPart from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .storage_quota_breakdown import StorageQuotaBreakdown from .storage_settings import StorageSettings from .strong_authentication_detail import StrongAuthenticationDetail @@ -14358,6 +14407,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .authentication_methods_policy import AuthenticationMethodsPolicy from .authentication_methods_root import AuthenticationMethodsRoot from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_device import AuthenticationMethodDevice from .authentication_method_mode_detail import AuthenticationMethodModeDetail from .authentication_method_target import AuthenticationMethodTarget from .authentication_strength_policy import AuthenticationStrengthPolicy @@ -14924,7 +14974,9 @@ def serialize(self,writer: SerializationWriter) -> None: from .hardware_configuration_device_state import HardwareConfigurationDeviceState from .hardware_configuration_run_summary import HardwareConfigurationRunSummary from .hardware_configuration_user_state import HardwareConfigurationUserState + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice from .hardware_password_detail import HardwarePasswordDetail from .hardware_password_info import HardwarePasswordInfo from .health_monitoring.alert import Alert @@ -15759,7 +15811,11 @@ def serialize(self,writer: SerializationWriter) -> None: from .stale_sign_in_alert_incident import StaleSignInAlertIncident from .standard_web_part import StandardWebPart from .start_hold_music_operation import StartHoldMusicOperation + from .start_recording_operation import StartRecordingOperation + from .start_transcription_operation import StartTranscriptionOperation from .stop_hold_music_operation import StopHoldMusicOperation + from .stop_recording_operation import StopRecordingOperation + from .stop_transcription_operation import StopTranscriptionOperation from .storage_quota_breakdown import StorageQuotaBreakdown from .storage_settings import StorageSettings from .strong_authentication_detail import StrongAuthenticationDetail diff --git a/msgraph_beta/generated/models/extended_key_usage.py b/msgraph_beta/generated/models/extended_key_usage.py index 1ff0892762f..2b7fe079a14 100644 --- a/msgraph_beta/generated/models/extended_key_usage.py +++ b/msgraph_beta/generated/models/extended_key_usage.py @@ -14,9 +14,9 @@ class ExtendedKeyUsage(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # Extended Key Usage Name + # The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. name: Optional[str] = None - # Extended Key Usage Object Identifier + # The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. object_identifier: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/hardware_oath_authentication_method.py b/msgraph_beta/generated/models/hardware_oath_authentication_method.py new file mode 100644 index 00000000000..ab558517451 --- /dev/null +++ b/msgraph_beta/generated/models/hardware_oath_authentication_method.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_method import AuthenticationMethod + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + +from .authentication_method import AuthenticationMethod + +@dataclass +class HardwareOathAuthenticationMethod(AuthenticationMethod, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.hardwareOathAuthenticationMethod" + # The device property + device: Optional[HardwareOathTokenAuthenticationMethodDevice] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> HardwareOathAuthenticationMethod: + """ + 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: HardwareOathAuthenticationMethod + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return HardwareOathAuthenticationMethod() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method import AuthenticationMethod + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + from .authentication_method import AuthenticationMethod + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + fields: Dict[str, Callable[[Any], None]] = { + "device": lambda n : setattr(self, 'device', n.get_object_value(HardwareOathTokenAuthenticationMethodDevice)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + writer.write_object_value("device", self.device) + + diff --git a/msgraph_beta/generated/models/hardware_oath_authentication_method_collection_response.py b/msgraph_beta/generated/models/hardware_oath_authentication_method_collection_response.py new file mode 100644 index 00000000000..8698180f319 --- /dev/null +++ b/msgraph_beta/generated/models/hardware_oath_authentication_method_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class HardwareOathAuthenticationMethodCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[HardwareOathAuthenticationMethod]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> HardwareOathAuthenticationMethodCollectionResponse: + """ + 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: HardwareOathAuthenticationMethodCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return HardwareOathAuthenticationMethodCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(HardwareOathAuthenticationMethod)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/hardware_oath_token_authentication_method_device.py b/msgraph_beta/generated/models/hardware_oath_token_authentication_method_device.py new file mode 100644 index 00000000000..03813b254df --- /dev/null +++ b/msgraph_beta/generated/models/hardware_oath_token_authentication_method_device.py @@ -0,0 +1,106 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_method_device import AuthenticationMethodDevice + from .hardware_oath_token_hash_function import HardwareOathTokenHashFunction + from .hardware_oath_token_status import HardwareOathTokenStatus + from .identity import Identity + from .user import User + +from .authentication_method_device import AuthenticationMethodDevice + +@dataclass +class HardwareOathTokenAuthenticationMethodDevice(AuthenticationMethodDevice, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice" + # The assignTo property + assign_to: Optional[User] = None + # The assignedTo property + assigned_to: Optional[Identity] = None + # The hashFunction property + hash_function: Optional[HardwareOathTokenHashFunction] = None + # The manufacturer property + manufacturer: Optional[str] = None + # The model property + model: Optional[str] = None + # The secretKey property + secret_key: Optional[str] = None + # The serialNumber property + serial_number: Optional[str] = None + # The status property + status: Optional[HardwareOathTokenStatus] = None + # The timeIntervalInSeconds property + time_interval_in_seconds: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> HardwareOathTokenAuthenticationMethodDevice: + """ + 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: HardwareOathTokenAuthenticationMethodDevice + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return HardwareOathTokenAuthenticationMethodDevice() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method_device import AuthenticationMethodDevice + from .hardware_oath_token_hash_function import HardwareOathTokenHashFunction + from .hardware_oath_token_status import HardwareOathTokenStatus + from .identity import Identity + from .user import User + + from .authentication_method_device import AuthenticationMethodDevice + from .hardware_oath_token_hash_function import HardwareOathTokenHashFunction + from .hardware_oath_token_status import HardwareOathTokenStatus + from .identity import Identity + from .user import User + + fields: Dict[str, Callable[[Any], None]] = { + "assignTo": lambda n : setattr(self, 'assign_to', n.get_object_value(User)), + "assignedTo": lambda n : setattr(self, 'assigned_to', n.get_object_value(Identity)), + "hashFunction": lambda n : setattr(self, 'hash_function', n.get_enum_value(HardwareOathTokenHashFunction)), + "manufacturer": lambda n : setattr(self, 'manufacturer', n.get_str_value()), + "model": lambda n : setattr(self, 'model', n.get_str_value()), + "secretKey": lambda n : setattr(self, 'secret_key', n.get_str_value()), + "serialNumber": lambda n : setattr(self, 'serial_number', n.get_str_value()), + "status": lambda n : setattr(self, 'status', n.get_enum_value(HardwareOathTokenStatus)), + "timeIntervalInSeconds": lambda n : setattr(self, 'time_interval_in_seconds', n.get_int_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .authentication_method_device import AuthenticationMethodDevice + from .hardware_oath_token_hash_function import HardwareOathTokenHashFunction + from .hardware_oath_token_status import HardwareOathTokenStatus + from .identity import Identity + from .user import User + + writer.write_object_value("assignTo", self.assign_to) + writer.write_object_value("assignedTo", self.assigned_to) + writer.write_enum_value("hashFunction", self.hash_function) + writer.write_str_value("manufacturer", self.manufacturer) + writer.write_str_value("model", self.model) + writer.write_str_value("secretKey", self.secret_key) + writer.write_str_value("serialNumber", self.serial_number) + writer.write_enum_value("status", self.status) + writer.write_int_value("timeIntervalInSeconds", self.time_interval_in_seconds) + + diff --git a/msgraph_beta/generated/models/hardware_oath_token_authentication_method_device_collection_response.py b/msgraph_beta/generated/models/hardware_oath_token_authentication_method_device_collection_response.py new file mode 100644 index 00000000000..f1999b8adea --- /dev/null +++ b/msgraph_beta/generated/models/hardware_oath_token_authentication_method_device_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class HardwareOathTokenAuthenticationMethodDeviceCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[HardwareOathTokenAuthenticationMethodDevice]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> HardwareOathTokenAuthenticationMethodDeviceCollectionResponse: + """ + 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: HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return HardwareOathTokenAuthenticationMethodDeviceCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(HardwareOathTokenAuthenticationMethodDevice)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/hardware_oath_token_hash_function.py b/msgraph_beta/generated/models/hardware_oath_token_hash_function.py new file mode 100644 index 00000000000..05fb4f2cebd --- /dev/null +++ b/msgraph_beta/generated/models/hardware_oath_token_hash_function.py @@ -0,0 +1,7 @@ +from enum import Enum + +class HardwareOathTokenHashFunction(str, Enum): + Hmacsha1 = "hmacsha1", + Hmacsha256 = "hmacsha256", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/hardware_oath_token_status.py b/msgraph_beta/generated/models/hardware_oath_token_status.py new file mode 100644 index 00000000000..51d24420e47 --- /dev/null +++ b/msgraph_beta/generated/models/hardware_oath_token_status.py @@ -0,0 +1,9 @@ +from enum import Enum + +class HardwareOathTokenStatus(str, Enum): + Available = "available", + Assigned = "assigned", + Activated = "activated", + FailedActivation = "failedActivation", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/identity.py b/msgraph_beta/generated/models/identity.py index 4bc65e8482f..d567a18d7ef 100644 --- a/msgraph_beta/generated/models/identity.py +++ b/msgraph_beta/generated/models/identity.py @@ -38,9 +38,9 @@ class Identity(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # The display name of the identity. This property is read-only. + # The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. display_name: Optional[str] = None - # The identifier of the identity. This property is read-only. + # Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index 94e753c083a..42ee4610e54 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -18,7 +18,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): """ This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS Lob App Provisioning Configuration resource. """ - # The associated group assignments for IosLobAppProvisioningConfiguration. + # The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. assignments: Optional[List[IosLobAppProvisioningConfigurationAssignment]] = None # DateTime the object was created. created_date_time: Optional[datetime.datetime] = None @@ -28,7 +28,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): device_statuses: Optional[List[ManagedDeviceMobileAppConfigurationDeviceStatus]] = None # Admin provided name of the device configuration. display_name: Optional[str] = None - # Optional profile expiration date and time. + # Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. expiration_date_time: Optional[datetime.datetime] = None # The associated group assignments. group_assignments: Optional[List[MobileAppProvisioningConfigGroupAssignment]] = None diff --git a/msgraph_beta/generated/models/ios_managed_app_protection.py b/msgraph_beta/generated/models/ios_managed_app_protection.py index 4ec92f555d1..7882e2ca8eb 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection.py @@ -32,7 +32,7 @@ class IosManagedAppProtection(TargetedManagedAppProtection, Parsable): app_data_encryption_type: Optional[ManagedAppDataEncryptionType] = None # List of apps to which the policy is deployed. apps: Optional[List[ManagedMobileApp]] = None - # A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + # A custom browser protocol to open weblink on iOS. custom_browser_protocol: Optional[str] = None # Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. custom_dialer_app_protocol: Optional[str] = None diff --git a/msgraph_beta/generated/models/key_credential_configuration.py b/msgraph_beta/generated/models/key_credential_configuration.py index 1dd0a213521..0ec74ce2151 100644 --- a/msgraph_beta/generated/models/key_credential_configuration.py +++ b/msgraph_beta/generated/models/key_credential_configuration.py @@ -26,7 +26,7 @@ class KeyCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None # The type of restriction being applied. Possible values are asymmetricKeyLifetime, and unknownFutureValue. Each value of restrictionType can be used only once per policy. restriction_type: Optional[AppKeyCredentialRestrictionType] = None - # String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. + # Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. state: Optional[AppManagementRestrictionState] = None @staticmethod diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index b7cb0ed1550..e1e0054f08f 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -11,11 +11,11 @@ class KeyValue(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # Contains the name of the field that a value is associated with. + # Key. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Contains the corresponding value for the specified key. + # Value. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/key_value_pair.py b/msgraph_beta/generated/models/key_value_pair.py index 3172df03ead..88c24004fc3 100644 --- a/msgraph_beta/generated/models/key_value_pair.py +++ b/msgraph_beta/generated/models/key_value_pair.py @@ -11,11 +11,11 @@ class KeyValuePair(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) - # Name for this key-value pair + # Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Value for this key-value pair + # Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py index ed298b1ddd6..10a8f77f250 100644 --- a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py @@ -15,7 +15,7 @@ class MacOsLobAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.macOsLobAppAssignmentSettings" - # When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + # Whether or not to uninstall the app when device is removed from Intune. uninstall_on_device_removal: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/mobile_app.py b/msgraph_beta/generated/models/mobile_app.py index 8b8330b859d..12b23d6d0fa 100644 --- a/msgraph_beta/generated/models/mobile_app.py +++ b/msgraph_beta/generated/models/mobile_app.py @@ -63,9 +63,9 @@ class MobileApp(Entity, Parsable): assignments: Optional[List[MobileAppAssignment]] = None # The list of categories for this app. categories: Optional[List[MobileAppCategory]] = None - # The date and time the app was created. This property is read-only. + # The date and time the app was created. created_date_time: Optional[datetime.datetime] = None - # The total number of dependencies the child app has. This property is read-only. + # The total number of dependencies the child app has. dependent_app_count: Optional[int] = None # The description of the app. description: Optional[str] = None @@ -75,13 +75,13 @@ class MobileApp(Entity, Parsable): display_name: Optional[str] = None # The more information Url. information_url: Optional[str] = None - # The value indicating whether the app is assigned to at least one group. This property is read-only. + # The value indicating whether the app is assigned to at least one group. is_assigned: Optional[bool] = None # The value indicating whether the app is marked as featured by the admin. is_featured: Optional[bool] = None # The large icon, to be displayed in the app details and used for upload of the icon. large_icon: Optional[MimeContent] = None - # The date and time the app was last modified. This property is read-only. + # The date and time the app was last modified. last_modified_date_time: Optional[datetime.datetime] = None # Notes for the app. notes: Optional[str] = None @@ -95,7 +95,7 @@ class MobileApp(Entity, Parsable): publisher: Optional[str] = None # Indicates the publishing state of an app. publishing_state: Optional[MobileAppPublishingState] = None - # The set of direct relationships for this app. + # List of relationships for this mobile app. relationships: Optional[List[MobileAppRelationship]] = None # List of scope tag ids for this mobile app. role_scope_tag_ids: Optional[List[str]] = None @@ -103,7 +103,7 @@ class MobileApp(Entity, Parsable): superseded_app_count: Optional[int] = None # The total number of apps this app directly or indirectly supersedes. This property is read-only. superseding_app_count: Optional[int] = None - # The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. + # The upload state. upload_state: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py index 7d4776c9ecc..09d529f2f90 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py @@ -15,7 +15,7 @@ class MobileAppTroubleshootingEvent(DeviceManagementTroubleshootingEvent, Parsab """ Event representing a users device application install status. """ - # Indicates collection of App Log Upload Request. + # The collection property of AppLogUploadRequest. app_log_collection_requests: Optional[List[AppLogCollectionRequest]] = None # Intune application identifier. application_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/networkaccess/alert_summary.py b/msgraph_beta/generated/models/networkaccess/alert_summary.py new file mode 100644 index 00000000000..7f4d1699ada --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/alert_summary.py @@ -0,0 +1,74 @@ +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 .alert_severity import AlertSeverity + from .alert_type import AlertType + +@dataclass +class AlertSummary(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 alertType property + alert_type: Optional[AlertType] = None + # The count property + count: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # The severity property + severity: Optional[AlertSeverity] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AlertSummary: + """ + 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: AlertSummary + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AlertSummary() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .alert_severity import AlertSeverity + from .alert_type import AlertType + + from .alert_severity import AlertSeverity + from .alert_type import AlertType + + fields: Dict[str, Callable[[Any], None]] = { + "alertType": lambda n : setattr(self, 'alert_type', n.get_enum_value(AlertType)), + "count": lambda n : setattr(self, 'count', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "severity": lambda n : setattr(self, 'severity', n.get_enum_value(AlertSeverity)), + } + 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 .alert_severity import AlertSeverity + from .alert_type import AlertType + + writer.write_enum_value("alertType", self.alert_type) + writer.write_int_value("count", self.count) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("severity", self.severity) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/org_contact.py b/msgraph_beta/generated/models/org_contact.py index 9114435f67d..d8d4ba30992 100644 --- a/msgraph_beta/generated/models/org_contact.py +++ b/msgraph_beta/generated/models/org_contact.py @@ -25,7 +25,7 @@ class OrgContact(DirectoryObject, Parsable): department: Optional[str] = None # The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. direct_reports: Optional[List[DirectoryObject]] = None - # Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. + # Display name for this organizational contact. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. display_name: Optional[str] = None # First name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values). given_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/password_credential_configuration.py b/msgraph_beta/generated/models/password_credential_configuration.py index fac651ff30a..917db3b85ce 100644 --- a/msgraph_beta/generated/models/password_credential_configuration.py +++ b/msgraph_beta/generated/models/password_credential_configuration.py @@ -24,7 +24,7 @@ class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsabl restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None # The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime, customPasswordAddition, and unknownFutureValue. Each value of restrictionType can be used only once per policy. restriction_type: Optional[AppCredentialRestrictionType] = None - # String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. + # Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. state: Optional[AppManagementRestrictionState] = None @staticmethod diff --git a/msgraph_beta/generated/models/payload.py b/msgraph_beta/generated/models/payload.py index 25fb0d513a9..133bb17095c 100644 --- a/msgraph_beta/generated/models/payload.py +++ b/msgraph_beta/generated/models/payload.py @@ -32,7 +32,7 @@ class Payload(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # Description of the attack simulation and training campaign payload. description: Optional[str] = None - # Additional details about the payload. + # More details about the payload. detail: Optional[PayloadDetail] = None # Display name of the attack simulation and training campaign payload. Supports $filter and $orderby. display_name: Optional[str] = None @@ -64,7 +64,7 @@ class Payload(Entity, Parsable): source: Optional[SimulationContentSource] = None # Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. status: Optional[SimulationContentStatus] = None - # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. + # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. technique: Optional[SimulationAttackTechnique] = None # The theme of a payload. Possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. theme: Optional[PayloadTheme] = None diff --git a/msgraph_beta/generated/models/printer_base.py b/msgraph_beta/generated/models/printer_base.py index b245bb29313..fd30b3e8ba9 100644 --- a/msgraph_beta/generated/models/printer_base.py +++ b/msgraph_beta/generated/models/printer_base.py @@ -17,21 +17,21 @@ @dataclass class PrinterBase(Entity, Parsable): - # The capabilities property + # The capabilities of the printer/printerShare. capabilities: Optional[PrinterCapabilities] = None - # The defaults property + # The default print settings of printer/printerShare. defaults: Optional[PrinterDefaults] = None - # The displayName property + # The name of the printer/printerShare. display_name: Optional[str] = None - # The isAcceptingJobs property + # Specifies whether the printer/printerShare is currently accepting new print jobs. is_accepting_jobs: Optional[bool] = None - # The jobs property + # The list of jobs that are queued for printing by the printer/printerShare. jobs: Optional[List[PrintJob]] = None - # The location property + # The physical and/or organizational location of the printer/printerShare. location: Optional[PrinterLocation] = None - # The manufacturer property + # The manufacturer of the printer/printerShare. manufacturer: Optional[str] = None - # The model property + # The model name of the printer/printerShare. model: Optional[str] = None # The name property name: Optional[str] = None diff --git a/msgraph_beta/generated/models/printer_share.py b/msgraph_beta/generated/models/printer_share.py index b8de018c103..65c292b4195 100644 --- a/msgraph_beta/generated/models/printer_share.py +++ b/msgraph_beta/generated/models/printer_share.py @@ -17,7 +17,7 @@ class PrinterShare(PrinterBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.printerShare" - # If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. + # If true, all users and groups can access this printer share. This property supersedes the lists of allowed users and groups defined by the allowedUsers and allowedGroups navigation properties. allow_all_users: Optional[bool] = None # The groups whose users have access to print using the printer. allowed_groups: Optional[List[Group]] = None @@ -27,7 +27,7 @@ class PrinterShare(PrinterBase, Parsable): created_date_time: Optional[datetime.datetime] = None # The printer that this printer share is related to. printer: Optional[Printer] = None - # Additional data for a printer share as viewed by the signed-in user. + # More data for a printer share as viewed by the signed-in user. view_point: Optional[PrinterShareViewpoint] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/data_set.py b/msgraph_beta/generated/models/security/data_set.py index 23ea61b9b50..31b163a1900 100644 --- a/msgraph_beta/generated/models/security/data_set.py +++ b/msgraph_beta/generated/models/security/data_set.py @@ -17,6 +17,8 @@ class DataSet(Entity, Parsable): created_by: Optional[IdentitySet] = None # The createdDateTime property created_date_time: Optional[datetime.datetime] = None + # The description property + description: Optional[str] = None # The displayName property display_name: Optional[str] = None # The OdataType property @@ -58,6 +60,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(IdentitySet)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "description": lambda n : setattr(self, 'description', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), } super_fields = super().get_field_deserializers() @@ -79,6 +82,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/service_activity_performance_metric.py b/msgraph_beta/generated/models/service_activity_performance_metric.py index 73a4caf5820..d5c75a49b6e 100644 --- a/msgraph_beta/generated/models/service_activity_performance_metric.py +++ b/msgraph_beta/generated/models/service_activity_performance_metric.py @@ -12,11 +12,11 @@ class ServiceActivityPerformanceMetric(AdditionalDataHolder, BackedModel, Parsab # 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 intervalStartDateTime property + # The start date and time (UTC) of the interval. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. interval_start_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The percentage property + # The aggregated performance over the given aggregation interval that starts from the intervalStartDateTime. The performance is calculated at the minute level. The performance at the starting minute of the intervalStartDateTime is included. The performance at the last minute of the given interval is excluded. For example, if intervalStartDateTime is 2023-09-20T18:00:00Z and the aggregation interval is 5 minutes, then performance is aggregated from 2023-09-20T18:00:00Z (inclusive) to 2023-09-20T18:05:00Z (exclusive). percentage: Optional[float] = None @staticmethod diff --git a/msgraph_beta/generated/models/service_principal.py b/msgraph_beta/generated/models/service_principal.py index e74c75fc7e3..967f93d7d67 100644 --- a/msgraph_beta/generated/models/service_principal.py +++ b/msgraph_beta/generated/models/service_principal.py @@ -47,7 +47,7 @@ class ServicePrincipal(DirectoryObject, Parsable): alternative_names: Optional[List[str]] = None # The description exposed by the associated application. app_description: Optional[str] = None - # The display name exposed by the associated application. + # The display name exposed by the associated application. Maximum length is 256 characters. app_display_name: Optional[str] = None # The unique identifier for the associated application (its appId property). Alternate key. Supports $filter (eq, ne, not, in, startsWith). app_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/simulation.py b/msgraph_beta/generated/models/simulation.py index ed3e9a4b686..c68a8c4c4ce 100644 --- a/msgraph_beta/generated/models/simulation.py +++ b/msgraph_beta/generated/models/simulation.py @@ -24,7 +24,7 @@ @dataclass class Simulation(Entity, Parsable): - # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. + # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. attack_technique: Optional[SimulationAttackTechnique] = None # Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. attack_type: Optional[SimulationAttackType] = None diff --git a/msgraph_beta/generated/models/start_recording_operation.py b/msgraph_beta/generated/models/start_recording_operation.py new file mode 100644 index 00000000000..4fe568b72e0 --- /dev/null +++ b/msgraph_beta/generated/models/start_recording_operation.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .comms_operation import CommsOperation + +from .comms_operation import CommsOperation + +@dataclass +class StartRecordingOperation(CommsOperation, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StartRecordingOperation: + """ + 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: StartRecordingOperation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StartRecordingOperation() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .comms_operation import CommsOperation + + from .comms_operation import CommsOperation + + fields: Dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .comms_operation import CommsOperation + + + diff --git a/msgraph_beta/generated/models/start_transcription_operation.py b/msgraph_beta/generated/models/start_transcription_operation.py new file mode 100644 index 00000000000..d65d47b52bb --- /dev/null +++ b/msgraph_beta/generated/models/start_transcription_operation.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .comms_operation import CommsOperation + +from .comms_operation import CommsOperation + +@dataclass +class StartTranscriptionOperation(CommsOperation, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StartTranscriptionOperation: + """ + 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: StartTranscriptionOperation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StartTranscriptionOperation() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .comms_operation import CommsOperation + + from .comms_operation import CommsOperation + + fields: Dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .comms_operation import CommsOperation + + + diff --git a/msgraph_beta/generated/models/stop_recording_operation.py b/msgraph_beta/generated/models/stop_recording_operation.py new file mode 100644 index 00000000000..d2ec3c131fb --- /dev/null +++ b/msgraph_beta/generated/models/stop_recording_operation.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .comms_operation import CommsOperation + +from .comms_operation import CommsOperation + +@dataclass +class StopRecordingOperation(CommsOperation, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StopRecordingOperation: + """ + 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: StopRecordingOperation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StopRecordingOperation() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .comms_operation import CommsOperation + + from .comms_operation import CommsOperation + + fields: Dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .comms_operation import CommsOperation + + + diff --git a/msgraph_beta/generated/models/stop_transcription_operation.py b/msgraph_beta/generated/models/stop_transcription_operation.py new file mode 100644 index 00000000000..a5a27d4d62a --- /dev/null +++ b/msgraph_beta/generated/models/stop_transcription_operation.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .comms_operation import CommsOperation + +from .comms_operation import CommsOperation + +@dataclass +class StopTranscriptionOperation(CommsOperation, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StopTranscriptionOperation: + """ + 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: StopTranscriptionOperation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StopTranscriptionOperation() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .comms_operation import CommsOperation + + from .comms_operation import CommsOperation + + fields: Dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .comms_operation import CommsOperation + + + diff --git a/msgraph_beta/generated/models/user.py b/msgraph_beta/generated/models/user.py index 69a09ffb0d6..71f6b0f835d 100644 --- a/msgraph_beta/generated/models/user.py +++ b/msgraph_beta/generated/models/user.py @@ -237,7 +237,7 @@ class User(DirectoryObject, Parsable): joined_teams: Optional[List[Team]] = None # When this Microsoft Entra user last changed their password or when their password was created, whichever date the latest action was performed. 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. Read-only. Returned only on $select. last_password_change_date_time: Optional[datetime.datetime] = None - # Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. + # Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, Undefined, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. legal_age_group_classification: Optional[str] = None # State of license assignments for this user. It also indicates licenses that are directly assigned and the ones the user inherited through group memberships. Read-only. Returned only on $select. license_assignment_states: Optional[List[LicenseAssignmentState]] = None diff --git a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py index 6acefc68aaa..dc37e4e9308 100644 --- a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py @@ -15,7 +15,7 @@ class WindowsAppXAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsAppXAppAssignmentSettings" - # When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + # Whether or not to use device execution context for Windows AppX mobile app. use_device_context: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py b/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py index 50fa184c860..ddad0831f45 100644 --- a/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py @@ -21,6 +21,7 @@ from .item.alert_item_request_builder import AlertItemRequestBuilder from .microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time.microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder from .microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time.microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder + from .microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time.microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder class AlertsRequestBuilder(BaseRequestBuilder): """ @@ -101,6 +102,21 @@ def microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_t return MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, self.path_parameters, end_date_time, start_date_time) + def microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time(self,end_date_time: datetime.datetime, start_date_time: datetime.datetime) -> MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Provides operations to call the getAlertSummaries method. + param end_date_time: Usage: endDateTime={endDateTime} + param start_date_time: Usage: startDateTime={startDateTime} + Returns: MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder + """ + if end_date_time is None: + raise TypeError("end_date_time cannot be null.") + if start_date_time is None: + raise TypeError("start_date_time cannot be null.") + from .microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time.microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder + + return MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, self.path_parameters, end_date_time, start_date_time) + async def post(self,body: Alert, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Alert]: """ Create new navigation property to alerts for networkAccess diff --git a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time/get_alert_summaries_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time/get_alert_summaries_with_start_date_time_with_end_date_time_get_response.py new file mode 100644 index 00000000000..90c8e137980 --- /dev/null +++ b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time/get_alert_summaries_with_start_date_time_with_end_date_time_get_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.alert_summary import AlertSummary + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[AlertSummary]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse: + """ + 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: GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.alert_summary import AlertSummary + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.alert_summary import AlertSummary + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(AlertSummary)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.alert_summary import AlertSummary + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time_request_builder.py new file mode 100644 index 00000000000..3a25659cdbf --- /dev/null +++ b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_summaries_with_start_date_time_with_end_date_time_request_builder.py @@ -0,0 +1,127 @@ +from __future__ import annotations +import datetime +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 .get_alert_summaries_with_start_date_time_with_end_date_time_get_response import GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse + +class MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAlertSummaries method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], end_date_time: Optional[datetime.datetime] = None, start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + param end_date_time: Usage: endDateTime={endDateTime} + 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 start_date_time: Usage: startDateTime={startDateTime} + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['endDateTime'] = end_date_time + path_parameters['startDateTime'] = start_date_time + super().__init__(request_adapter, "{+baseurl}/networkAccess/alerts/microsoft.graph.networkaccess.getAlertSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]] = None) -> Optional[GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse]: + """ + Invoke function getAlertSummaries + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_alert_summaries_with_start_date_time_with_end_date_time_get_response import GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse + + return await self.request_adapter.send_async(request_info, GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Invoke function getAlertSummaries + 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) -> MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + 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: MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(): + """ + Invoke function getAlertSummaries + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(RequestConfiguration[MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 471fedcbf05..37bf987051e 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py index a536656f835..151bd7a8a9d 100644 --- a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py +++ b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[FederatedTokenValidationPolicy]: """ - Read the properties and relationships of a federatedTokenValidationPolicy object. + Get a list of the federatedTokenValidationPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedTokenValidationPolicy] - Find more info here: https://learn.microsoft.com/graph/api/federatedtokenvalidationpolicy-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a federatedTokenValidationPolicy object. + Get a list of the federatedTokenValidationPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration(Req @dataclass class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a federatedTokenValidationPolicy object. + Get a list of the federatedTokenValidationPolicy objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py index 7622b08bb6d..f3b437ce4a5 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PrintJobItemRequestBuilderGetQueryParameters]] = None) -> Optional[PrintJob]: """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] """ @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PrintJobItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -234,7 +234,7 @@ class PrintJobItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[ @dataclass class PrintJobItemRequestBuilderGetQueryParameters(): """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py index 3f1ff880fed..72050c4d73e 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py @@ -49,7 +49,7 @@ def by_print_job_id(self,print_job_id: str) -> PrintJobItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[JobsRequestBuilderGetQueryParameters]] = None) -> Optional[PrintJobCollectionResponse]: """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJobCollectionResponse] """ @@ -94,7 +94,7 @@ async def post(self,body: PrintJob, request_configuration: Optional[RequestConfi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[JobsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -143,7 +143,7 @@ def count(self) -> CountRequestBuilder: @dataclass class JobsRequestBuilderGetQueryParameters(): """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py index a9b2ad9cfca..f3eae1f040a 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py @@ -57,7 +57,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PrintJobItemRequestBuilderGetQueryParameters]] = None) -> Optional[PrintJob]: """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] """ @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PrintJobItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -227,7 +227,7 @@ class PrintJobItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[ @dataclass class PrintJobItemRequestBuilderGetQueryParameters(): """ - Get jobs from print + The list of jobs that are queued for printing by the printer/printerShare. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index e138af1adaa..df232b51b02 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_desktop_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForDesktopMailByReadEmail + Get all the active usage based on the number of users who successfully read emails using desktop mail apps. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsfordesktopmailbyreademail?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForDesktopMailByReadEmail + Get all the active usage based on the number of users who successfully read emails using desktop mail apps. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForDesktopMailByReadEmail @dataclass class GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForDesktopMailByReadEmail + Get all the active usage based on the number of users who successfully read emails using desktop mail apps. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 1b9c6b2490d..b40436720f9 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_email_by_modern_authentication_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForEmailByModernAuthentication + Get all the active usage based on the number of users who signed in with modern authentication across all email apps. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforemailbymodernauthentication?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForEmailByModernAuthentication + Get all the active usage based on the number of users who signed in with modern authentication across all email apps. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForEmailByModernAuthentic @dataclass class GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForEmailByModernAuthentication + Get all the active usage based on the number of users who signed in with modern authentication across all email apps. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 1de7b18deba..53f6e34f550 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForExcelWeb + Get all the active usage based on the number of active users who open or save Excel for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforexcelweb?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForExcelWeb + Get all the active usage based on the number of active users who open or save Excel for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForExcelWebWithInclusiveI @dataclass class GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForExcelWeb + Get all the active usage based on the number of active users who open or save Excel for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index b908561b240..9ec1f6d6690 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_one_note_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForOneNoteWeb + Get all the active usage based on the number of active users who open or save OneNote for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforonenoteweb?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForOneNoteWeb + Get all the active usage based on the number of active users who open or save OneNote for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForOneNoteWebWithInclusiv @dataclass class GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForOneNoteWeb + Get all the active usage based on the number of active users who open or save OneNote for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 43bfdf691a4..76518c71085 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mac_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForOutlookMacByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforoutlookmacbyreademail?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForOutlookMacByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForOutlookMacByReadEmailW @dataclass class GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForOutlookMacByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 9e47386a09b..813fea5ce53 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_mobile_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforoutlookmobilebyreademail?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForOutlookMobileByReadEma @dataclass class GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 82a629128db..2c232067e17 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_app_opening_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForOutlookWebByAppOpening + Get all the active usage based on the number of active users that signed in and started Outlook for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforoutlookwebbyappopening?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForOutlookWebByAppOpening + Get all the active usage based on the number of active users that signed in and started Outlook for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForOutlookWebByAppOpening @dataclass class GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForOutlookWebByAppOpening + Get all the active usage based on the number of active users that signed in and started Outlook for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 8afb0128235..1c50e966ac5 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_outlook_web_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForOutlookWebByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforoutlookwebbyreademail?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForOutlookWebByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForOutlookWebByReadEmailW @dataclass class GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForOutlookWebByReadEmail + Get all the active usage based on the number of users who successfully read emails using Outlook for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 327f64c6fa5..59d7e46198d 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_power_point_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForPowerPointWeb + Get all the active usage based on the number of active users who open or save PowerPoint for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforpowerpointweb?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForPowerPointWeb + Get all the active usage based on the number of active users who open or save PowerPoint for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForPowerPointWebWithInclu @dataclass class GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForPowerPointWeb + Get all the active usage based on the number of active users who open or save PowerPoint for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 3f3e0a87b15..177afa29261 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_visio_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForVisioWeb + Get all the active usage based on the number of active users who open or save Visio for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforvisioweb?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForVisioWeb + Get all the active usage based on the number of active users who open or save Visio for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForVisioWebWithInclusiveI @dataclass class GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForVisioWeb + Get all the active usage based on the number of active users who open or save Visio for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 967b15cc5c7..4338609f3c3 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_for_word_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForWordWeb + Get all the active usage based on the number of active users who open or save Word for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforwordweb?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForWordWeb + Get all the active usage based on the number of active users who open or save Word for the web. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForWordWebWithInclusiveIn @dataclass class GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForWordWeb + Get all the active usage based on the number of active users who open or save Word for the web. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 85734214268..c2187a43d70 100644 --- a/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_active_user_metrics_fori_o_s_or_android_mail_by_read_email_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getactiveusermetricsforiosorandroidmailbyreademail?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetActiv def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetActiveUserMetricsForiOSOrAndroidMailByRead @dataclass class GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index fdaac2e17f2..3ee680210cd 100644 --- a/msgraph_beta/generated/reports/service_activity/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_stream_qo_e_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getAudioStreamQoEMetricsForTeams + Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getaudiostreamqoemetricsforteams?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetAudio def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getAudioStreamQoEMetricsForTeams + Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetAudioStreamQoEMetricsForTeamsWithInclusive @dataclass class GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getAudioStreamQoEMetricsForTeams + Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 576ccabc03f..40eb9473991 100644 --- a/msgraph_beta/generated/reports/service_activity/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_audio_streams_over_udp_metrics_for_teams_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getAudioStreamsOverUdpMetricsForTeams + Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getaudiostreamsoverudpmetricsforteams?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetAudio def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getAudioStreamsOverUdpMetricsForTeams + Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetAudioStreamsOverUdpMetricsForTeamsWithIncl @dataclass class GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getAudioStreamsOverUdpMetricsForTeams + Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 8174d3d652b..c34339290d7 100644 --- a/msgraph_beta/generated/reports/service_activity/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_connectivity_metrics_for_exchange_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getConnectivityMetricsForExchange + Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getconnectivitymetricsforexchange?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetConne def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getConnectivityMetricsForExchange + Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetConnectivityMetricsForExchangeWithInclusiv @dataclass class GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getConnectivityMetricsForExchange + Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index ee84477c2d5..c1eca586d90 100644 --- a/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_email_delivery_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getMessageVolumeMetricsForEmailDelivery + Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getmessagevolumemetricsforemaildelivery?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetMessa def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getMessageVolumeMetricsForEmailDelivery + Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetMessageVolumeMetricsForEmailDeliveryWithIn @dataclass class GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getMessageVolumeMetricsForEmailDelivery + Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 60f960aa53a..9c5205c50cc 100644 --- a/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_message_volume_metrics_for_teams_chat_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getMessageVolumeMetricsForTeamsChat + Get the number of chat messages successfully sent and delivered in Teams. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getmessagevolumemetricsforteamschat?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetMessa def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getMessageVolumeMetricsForTeamsChat + Get the number of chat messages successfully sent and delivered in Teams. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetMessageVolumeMetricsForTeamsChatWithInclus @dataclass class GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getMessageVolumeMetricsForTeamsChat + Get the number of chat messages successfully sent and delivered in Teams. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index fb63c32e060..1feafa73341 100644 --- a/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_launch_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getUsageMetricsForTeamsByLaunch + Get usage metrics based on the number of times users opened the Teams app without error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getusagemetricsforteamsbylaunch?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetUsage def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getUsageMetricsForTeamsByLaunch + Get usage metrics based on the number of times users opened the Teams app without error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetUsageMetricsForTeamsByLaunchWithInclusiveI @dataclass class GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getUsageMetricsForTeamsByLaunch + Get usage metrics based on the number of times users opened the Teams app without error. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py index 5d250fa8269..da123f35e91 100644 --- a/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py +++ b/msgraph_beta/generated/reports/service_activity/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_usage_metrics_for_teams_by_meetings_joined_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -37,9 +37,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> Optional[GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: """ - Invoke function getUsageMetricsForTeamsByMeetingsJoined + Get usage metrics based on the number of times users joined Teams meetings without errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/serviceactivity-getusagemetricsforteamsbymeetingsjoined?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -57,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetUsage def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getUsageMetricsForTeamsByMeetingsJoined + Get usage metrics based on the number of times users joined Teams meetings without errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +80,7 @@ def with_url(self,raw_url: str) -> GetUsageMetricsForTeamsByMeetingsJoinedWithIn @dataclass class GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): """ - Invoke function getUsageMetricsForTeamsByMeetingsJoined + Get usage metrics based on the number of times users joined Teams meetings without errors. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py index ad408b72c3c..1c91bf4b64b 100644 --- a/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py @@ -49,9 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PayloadItemRequestBuilderGetQueryParameters]] = None) -> Optional[Payload]: """ - Represents an attack simulation training campaign payload in a tenant. + Get an attack simulation campaign payload for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Payload] + Find more info here: https://learn.microsoft.com/graph/api/payload-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PayloadItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents an attack simulation training campaign payload in a tenant. + Get an attack simulation campaign payload for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +148,7 @@ class PayloadItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Q @dataclass class PayloadItemRequestBuilderGetQueryParameters(): """ - Represents an attack simulation training campaign payload in a tenant. + Get an attack simulation campaign payload for a tenant. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py index 1b136ab2ed1..f49b628e551 100644 --- a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py @@ -52,11 +52,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ClaimsPo async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -76,11 +76,11 @@ async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[R async def put(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -111,7 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomClaimsPolicy, request_configur def to_put_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py index 2af900423f8..cc72dc5be1f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]: """ - Get the list of richLongRunningOperations associated with a list. + Return the metadata for a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] - Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the list of richLongRunningOperations associated with a list. + Return the metadata for a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -248,7 +248,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Get the list of richLongRunningOperations associated with a list. + Return the metadata for a list. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py index 8d6eef22a87..d77e7a9144d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..ab7e9af2cb0 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.conversation_member import ConversationMember + + from ........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..70d09621ab9 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..24cb1fb93cc --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..e6cf60f765c --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..6d4bedc82df --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from .......models.conversation_member_collection_response import ConversationMemberCollectionResponse + from .......models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamTemplateDefinition + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..82c105b091e --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + from ........models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teamTemplateDefinition + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamTemplateDefinition + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teamTemplateDefinition + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamTemplateDefinition + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..5bb050c082d --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.conversation_member import ConversationMember + + from ........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..017548b321e --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..c8cf66a649f --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..5bac3d6b0b2 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.conversation_member import ConversationMember + + from .......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..d59b2f13942 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..4c36b436433 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..bb16acfe7aa --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..f8c96c04762 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from ......models.conversation_member_collection_response import ConversationMemberCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamTemplateDefinition + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..2c2d809880e --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + from .......models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teamTemplateDefinition + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamTemplateDefinition + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teamTemplateDefinition + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamTemplateDefinition + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..d3fb68b63dc --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.conversation_member import ConversationMember + + from .......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..64caed03267 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..dc17e20f1b7 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py index e23f4c9c8aa..c23401627de 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py index 28c7e72b0e1..31074f01813 100644 --- a/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -187,6 +188,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..5bac3d6b0b2 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.conversation_member import ConversationMember + + from .......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_post_response.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..d59b2f13942 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..b7bccf402c3 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..b4a3d0509b0 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..6495cf79dd0 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from ......models.conversation_member_collection_response import ConversationMemberCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teams + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..80057507094 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + from .......models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teams + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teams + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teams + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teams + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..d3fb68b63dc --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.conversation_member import ConversationMember + + from .......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..64caed03267 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..d1c846322b4 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 45134931254..f45679acf2a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team.or channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team.or channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py index c4358f72b8b..2efe674e56c 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..c8befc22279 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.conversation_member import ConversationMember + + from ......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_post_response.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..f034db1b7aa --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..09e68082652 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teams/{team%2Did}/primaryChannel/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..837d51cd00d --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..81461cb9ce5 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from .....models.conversation_member_collection_response import ConversationMemberCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teams/{team%2Did}/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teams + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..09d3d2eaf7f --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.conversation_member import ConversationMember + from ......models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teams/{team%2Did}/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teams + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teams + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teams + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teams + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..f323b0d9e70 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.conversation_member import ConversationMember + + from ......models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..279999d4080 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..91d5f15e277 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teams/{team%2Did}/primaryChannel/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py index bdf28fae666..ace58be1e9a 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -185,6 +186,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py index 67da9d5cb4f..e8fd3a1ba67 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..ab7e9af2cb0 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.conversation_member import ConversationMember + + from ........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_post_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..70d09621ab9 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..34bcb1f18e6 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..cdac2bc1f6a --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..7c3ec360cbf --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from .......models.conversation_member_collection_response import ConversationMemberCollectionResponse + from .......models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamwork + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..3477ad97d97 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + from ........models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teamwork + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamwork + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teamwork + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamwork + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..5bb050c082d --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.conversation_member import ConversationMember + + from ........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..017548b321e --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..6a80ee87db5 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py index f955de34a63..b63cf8862ca 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..39826824676 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ...........models.conversation_member import ConversationMember + + from ...........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ...........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..437c4c701d8 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..ea4d0a5ebe6 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..179f200b3f0 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..37e9b45e3ab --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from ..........models.conversation_member_collection_response import ConversationMemberCollectionResponse + from ..........models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamwork + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..bdf24206a65 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.conversation_member import ConversationMember + from ...........models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teamwork + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamwork + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teamwork + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamwork + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..7b100211255 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ...........models.conversation_member import ConversationMember + + from ...........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ...........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..794162afb4e --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..1d7af1db6fc --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_post_request_body.py new file mode 100644 index 00000000000..8b0c93bb936 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.conversation_member import ConversationMember + +@dataclass +class AddPostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody: + """ + 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: AddPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..........models.conversation_member import ConversationMember + + from ..........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ..........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_post_response.py new file mode 100644 index 00000000000..23fbc57fa6a --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse: + """ + 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: AddPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_request_builder.py new file mode 100644 index 00000000000..c882c406df5 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/add/add_request_builder.py @@ -0,0 +1,89 @@ +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 .add_post_request_body import AddPostRequestBody + from .add_post_response import AddPostResponse + +class AddRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the add method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AddRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", path_parameters) + + async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddRequestBuilder: + """ + 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: AddRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/count/count_request_builder.py new file mode 100644 index 00000000000..0809a7a56c3 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/get_all_members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/get_all_members_request_builder.py new file mode 100644 index 00000000000..a3fecbb8c2a --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/get_all_members_request_builder.py @@ -0,0 +1,227 @@ +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.conversation_member import ConversationMember + from .........models.conversation_member_collection_response import ConversationMemberCollectionResponse + from .........models.o_data_errors.o_data_error import ODataError + from .add.add_request_builder import AddRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder + +class GetAllMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GetAllMembersRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_conversation_member_id(self,conversation_member_id: str) -> ConversationMemberItemRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + param conversation_member_id: The unique identifier of conversationMember + Returns: ConversationMemberItemRequestBuilder + """ + if conversation_member_id is None: + raise TypeError("conversation_member_id cannot be null.") + from .item.conversation_member_item_request_builder import ConversationMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conversationMember%2Did"] = conversation_member_id + return ConversationMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMemberCollectionResponse] + """ + 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.conversation_member_collection_response import ConversationMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, ConversationMemberCollectionResponse, error_mapping) + + async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Create new navigation property to getAllMembers for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to getAllMembers for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GetAllMembersRequestBuilder: + """ + 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: GetAllMembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAllMembersRequestBuilder(self.request_adapter, raw_url) + + @property + def add(self) -> AddRequestBuilder: + """ + Provides operations to call the add method. + """ + from .add.add_request_builder import AddRequestBuilder + + return AddRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def remove(self) -> RemoveRequestBuilder: + """ + Provides operations to call the remove method. + """ + from .remove.remove_request_builder import RemoveRequestBuilder + + return RemoveRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GetAllMembersRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamwork + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetAllMembersRequestBuilderGetRequestConfiguration(RequestConfiguration[GetAllMembersRequestBuilderGetQueryParameters]): + """ + 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 GetAllMembersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/item/conversation_member_item_request_builder.py new file mode 100644 index 00000000000..e383354f31c --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/item/conversation_member_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.conversation_member import ConversationMember + from ..........models.o_data_errors.o_data_error import ODataError + +class ConversationMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConversationMemberItemRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property getAllMembers for teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: + """ + Get getAllMembers from teamwork + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: + """ + Update the navigation property getAllMembers in teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversationMember] + """ + 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.conversation_member import ConversationMember + + return await self.request_adapter.send_async(request_info, ConversationMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property getAllMembers for teamwork + 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get getAllMembers from teamwork + 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property getAllMembers in teamwork + 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) -> ConversationMemberItemRequestBuilder: + """ + 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: ConversationMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConversationMemberItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(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 ConversationMemberItemRequestBuilderGetQueryParameters(): + """ + Get getAllMembers from teamwork + """ + 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 ConversationMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]): + """ + 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_post_request_body.py new file mode 100644 index 00000000000..3efe72bd902 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.conversation_member import ConversationMember + +@dataclass +class RemovePostRequestBody(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 values property + values: Optional[List[ConversationMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostRequestBody: + """ + 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: RemovePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..........models.conversation_member import ConversationMember + + from ..........models.conversation_member import ConversationMember + + fields: Dict[str, Callable[[Any], None]] = { + "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ..........models.conversation_member import ConversationMember + + writer.write_collection_of_object_values("values", self.values) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_post_response.py new file mode 100644 index 00000000000..d0ece587ced --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[ActionResultPart]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemovePostResponse: + """ + 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: RemovePostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemovePostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_request_builder.py new file mode 100644 index 00000000000..d83d5b51719 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/get_all_members/remove/remove_request_builder.py @@ -0,0 +1,89 @@ +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 .remove_post_request_body import RemovePostRequestBody + from .remove_post_response import RemovePostResponse + +class RemoveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the remove method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RemoveRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", path_parameters) + + async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveRequestBuilder: + """ + 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: RemoveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py index 36b7cf03e68..248ec518292 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py @@ -19,6 +19,7 @@ from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .messages.messages_request_builder import MessagesRequestBuilder from .provision_email.provision_email_request_builder import ProvisionEmailRequestBuilder @@ -184,6 +185,15 @@ def files_folder(self) -> FilesFolderRequestBuilder: return FilesFolderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_members(self) -> GetAllMembersRequestBuilder: + """ + Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + """ + from .get_all_members.get_all_members_request_builder import GetAllMembersRequestBuilder + + return GetAllMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property def members(self) -> MembersRequestBuilder: """ diff --git a/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py b/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py index aaf29ee963e..a0c337f4ee3 100644 --- a/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py @@ -17,6 +17,7 @@ from ....models.o_data_errors.o_data_error import ODataError from .email_methods.email_methods_request_builder import EmailMethodsRequestBuilder from .fido2_methods.fido2_methods_request_builder import Fido2MethodsRequestBuilder + from .hardware_oath_methods.hardware_oath_methods_request_builder import HardwareOathMethodsRequestBuilder from .methods.methods_request_builder import MethodsRequestBuilder from .microsoft_authenticator_methods.microsoft_authenticator_methods_request_builder import MicrosoftAuthenticatorMethodsRequestBuilder from .operations.operations_request_builder import OperationsRequestBuilder @@ -169,6 +170,15 @@ def fido2_methods(self) -> Fido2MethodsRequestBuilder: return Fido2MethodsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def hardware_oath_methods(self) -> HardwareOathMethodsRequestBuilder: + """ + Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + """ + from .hardware_oath_methods.hardware_oath_methods_request_builder import HardwareOathMethodsRequestBuilder + + return HardwareOathMethodsRequestBuilder(self.request_adapter, self.path_parameters) + @property def methods(self) -> MethodsRequestBuilder: """ diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate/assign_and_activate_post_request_body.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate/assign_and_activate_post_request_body.py new file mode 100644 index 00000000000..b38bf137f3e --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate/assign_and_activate_post_request_body.py @@ -0,0 +1,66 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + +@dataclass +class AssignAndActivatePostRequestBody(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 device property + device: Optional[HardwareOathTokenAuthenticationMethodDevice] = None + # The displayName property + display_name: Optional[str] = None + # The verificationCode property + verification_code: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AssignAndActivatePostRequestBody: + """ + 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: AssignAndActivatePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AssignAndActivatePostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + from ......models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + fields: Dict[str, Callable[[Any], None]] = { + "device": lambda n : setattr(self, 'device', n.get_object_value(HardwareOathTokenAuthenticationMethodDevice)), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "verificationCode": lambda n : setattr(self, 'verification_code', 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 ......models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + writer.write_object_value("device", self.device) + writer.write_str_value("displayName", self.display_name) + writer.write_str_value("verificationCode", self.verification_code) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate/assign_and_activate_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate/assign_and_activate_request_builder.py new file mode 100644 index 00000000000..c811276acc8 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate/assign_and_activate_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 .assign_and_activate_post_request_body import AssignAndActivatePostRequestBody + +class AssignAndActivateRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the assignAndActivate method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignAndActivateRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivate", path_parameters) + + async def post(self,body: AssignAndActivatePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action assignAndActivate + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: AssignAndActivatePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action assignAndActivate + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AssignAndActivateRequestBuilder: + """ + 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: AssignAndActivateRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignAndActivateRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AssignAndActivateRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate_by_serial_number/assign_and_activate_by_serial_number_post_request_body.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate_by_serial_number/assign_and_activate_by_serial_number_post_request_body.py new file mode 100644 index 00000000000..87a3cf615dc --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate_by_serial_number/assign_and_activate_by_serial_number_post_request_body.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class AssignAndActivateBySerialNumberPostRequestBody(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 displayName property + display_name: Optional[str] = None + # The serialNumber property + serial_number: Optional[str] = None + # The verificationCode property + verification_code: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AssignAndActivateBySerialNumberPostRequestBody: + """ + 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: AssignAndActivateBySerialNumberPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AssignAndActivateBySerialNumberPostRequestBody() + + 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]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "serialNumber": lambda n : setattr(self, 'serial_number', n.get_str_value()), + "verificationCode": lambda n : setattr(self, 'verification_code', 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("displayName", self.display_name) + writer.write_str_value("serialNumber", self.serial_number) + writer.write_str_value("verificationCode", self.verification_code) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate_by_serial_number/assign_and_activate_by_serial_number_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate_by_serial_number/assign_and_activate_by_serial_number_request_builder.py new file mode 100644 index 00000000000..ffae26cc441 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/assign_and_activate_by_serial_number/assign_and_activate_by_serial_number_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 .assign_and_activate_by_serial_number_post_request_body import AssignAndActivateBySerialNumberPostRequestBody + +class AssignAndActivateBySerialNumberRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the assignAndActivateBySerialNumber method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignAndActivateBySerialNumberRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivateBySerialNumber", path_parameters) + + async def post(self,body: AssignAndActivateBySerialNumberPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action assignAndActivateBySerialNumber + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: AssignAndActivateBySerialNumberPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action assignAndActivateBySerialNumber + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AssignAndActivateBySerialNumberRequestBuilder: + """ + 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: AssignAndActivateBySerialNumberRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignAndActivateBySerialNumberRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/count/count_request_builder.py new file mode 100644 index 00000000000..4988c3943fa --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/hardware_oath_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/hardware_oath_methods_request_builder.py new file mode 100644 index 00000000000..744352cdbca --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/hardware_oath_methods_request_builder.py @@ -0,0 +1,227 @@ +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.hardware_oath_authentication_method import HardwareOathAuthenticationMethod + from .....models.hardware_oath_authentication_method_collection_response import HardwareOathAuthenticationMethodCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .assign_and_activate.assign_and_activate_request_builder import AssignAndActivateRequestBuilder + from .assign_and_activate_by_serial_number.assign_and_activate_by_serial_number_request_builder import AssignAndActivateBySerialNumberRequestBuilder + from .count.count_request_builder import CountRequestBuilder + from .item.hardware_oath_authentication_method_item_request_builder import HardwareOathAuthenticationMethodItemRequestBuilder + +class HardwareOathMethodsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathMethodsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_hardware_oath_authentication_method_id(self,hardware_oath_authentication_method_id: str) -> HardwareOathAuthenticationMethodItemRequestBuilder: + """ + Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + param hardware_oath_authentication_method_id: The unique identifier of hardwareOathAuthenticationMethod + Returns: HardwareOathAuthenticationMethodItemRequestBuilder + """ + if hardware_oath_authentication_method_id is None: + raise TypeError("hardware_oath_authentication_method_id cannot be null.") + from .item.hardware_oath_authentication_method_item_request_builder import HardwareOathAuthenticationMethodItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["hardwareOathAuthenticationMethod%2Did"] = hardware_oath_authentication_method_id + return HardwareOathAuthenticationMethodItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathMethodsRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathAuthenticationMethodCollectionResponse]: + """ + Get hardwareOathMethods from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathAuthenticationMethodCollectionResponse] + """ + 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.hardware_oath_authentication_method_collection_response import HardwareOathAuthenticationMethodCollectionResponse + + return await self.request_adapter.send_async(request_info, HardwareOathAuthenticationMethodCollectionResponse, error_mapping) + + async def post(self,body: HardwareOathAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathAuthenticationMethod]: + """ + Create new navigation property to hardwareOathMethods for users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathAuthenticationMethod] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + return await self.request_adapter.send_async(request_info, HardwareOathAuthenticationMethod, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HardwareOathMethodsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathMethods from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: HardwareOathAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to hardwareOathMethods for users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> HardwareOathMethodsRequestBuilder: + """ + 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: HardwareOathMethodsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathMethodsRequestBuilder(self.request_adapter, raw_url) + + @property + def assign_and_activate(self) -> AssignAndActivateRequestBuilder: + """ + Provides operations to call the assignAndActivate method. + """ + from .assign_and_activate.assign_and_activate_request_builder import AssignAndActivateRequestBuilder + + return AssignAndActivateRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def assign_and_activate_by_serial_number(self) -> AssignAndActivateBySerialNumberRequestBuilder: + """ + Provides operations to call the assignAndActivateBySerialNumber method. + """ + from .assign_and_activate_by_serial_number.assign_and_activate_by_serial_number_request_builder import AssignAndActivateBySerialNumberRequestBuilder + + return AssignAndActivateBySerialNumberRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathMethodsRequestBuilderGetQueryParameters(): + """ + Get hardwareOathMethods from users + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class HardwareOathMethodsRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathMethodsRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathMethodsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/activate/activate_post_request_body.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/activate/activate_post_request_body.py new file mode 100644 index 00000000000..fd2594a7527 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/activate/activate_post_request_body.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 ActivatePostRequestBody(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 displayName property + display_name: Optional[str] = None + # The verificationCode property + verification_code: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ActivatePostRequestBody: + """ + 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: ActivatePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ActivatePostRequestBody() + + 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]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "verificationCode": lambda n : setattr(self, 'verification_code', 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("displayName", self.display_name) + writer.write_str_value("verificationCode", self.verification_code) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/activate/activate_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/activate/activate_request_builder.py new file mode 100644 index 00000000000..7fef4096c65 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/activate/activate_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 .activate_post_request_body import ActivatePostRequestBody + +class ActivateRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the activate method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ActivateRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/activate", path_parameters) + + async def post(self,body: ActivatePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action activate + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: ActivatePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action activate + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ActivateRequestBuilder: + """ + 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: ActivateRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ActivateRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ActivateRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/deactivate/deactivate_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/deactivate/deactivate_request_builder.py new file mode 100644 index 00000000000..971858709af --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/deactivate/deactivate_request_builder.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class DeactivateRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the deactivate method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DeactivateRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/deactivate", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action deactivate + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action deactivate + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> DeactivateRequestBuilder: + """ + 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: DeactivateRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DeactivateRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class DeactivateRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/assign_to_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/assign_to_request_builder.py new file mode 100644 index 00000000000..9ef75b39f03 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/assign_to_request_builder.py @@ -0,0 +1,126 @@ +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 + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class AssignToRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignToRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[AssignToRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get assignTo from users + 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[AssignToRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get assignTo from users + 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) -> AssignToRequestBuilder: + """ + 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: AssignToRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignToRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AssignToRequestBuilderGetQueryParameters(): + """ + Get assignTo from users + """ + 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 AssignToRequestBuilderGetRequestConfiguration(RequestConfiguration[AssignToRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..6ae6244e26c --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.mailbox_settings import MailboxSettings + from .........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /users/{user-id}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod-id}/device/assignTo/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + 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: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + 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) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + 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 MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + 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 MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..4e000a9bcdc --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..f203ffa04f2 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /users/{user-id}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod-id}/device/assignTo/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + 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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/device_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/device_request_builder.py new file mode 100644 index 00000000000..81f53dbd6d3 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/device_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from .......models.o_data_errors.o_data_error import ODataError + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + from .hardware_oath_devices.hardware_oath_devices_request_builder import HardwareOathDevicesRequestBuilder + +class DeviceRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DeviceRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property device for users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[DeviceRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Get device from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + async def patch(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Update the navigation property device in users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property device for users + 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[DeviceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get device from users + 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: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property device in users + 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) -> DeviceRequestBuilder: + """ + 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: DeviceRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DeviceRequestBuilder(self.request_adapter, raw_url) + + @property + def assign_to(self) -> AssignToRequestBuilder: + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + + return AssignToRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def hardware_oath_devices(self) -> HardwareOathDevicesRequestBuilder: + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + from .hardware_oath_devices.hardware_oath_devices_request_builder import HardwareOathDevicesRequestBuilder + + return HardwareOathDevicesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class DeviceRequestBuilderDeleteRequestConfiguration(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 DeviceRequestBuilderGetQueryParameters(): + """ + Get device from users + """ + 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 DeviceRequestBuilderGetRequestConfiguration(RequestConfiguration[DeviceRequestBuilderGetQueryParameters]): + """ + 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 DeviceRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/count/count_request_builder.py new file mode 100644 index 00000000000..15efa462448 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/hardware_oath_devices_request_builder.py new file mode 100644 index 00000000000..f5894f881d9 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from ........models.hardware_oath_token_authentication_method_device_collection_response import HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + from ........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.hardware_oath_token_authentication_method_device_item_request_builder import HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + +class HardwareOathDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathDevicesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_hardware_oath_token_authentication_method_device_id(self,hardware_oath_token_authentication_method_device_id: str) -> HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder: + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + param hardware_oath_token_authentication_method_device_id: The unique identifier of hardwareOathTokenAuthenticationMethodDevice + Returns: HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + """ + if hardware_oath_token_authentication_method_device_id is None: + raise TypeError("hardware_oath_token_authentication_method_device_id cannot be null.") + from .item.hardware_oath_token_authentication_method_device_item_request_builder import HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["hardwareOathTokenAuthenticationMethodDevice%2Did"] = hardware_oath_token_authentication_method_device_id + return HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse]: + """ + Get hardwareOathDevices from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse] + """ + 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.hardware_oath_token_authentication_method_device_collection_response import HardwareOathTokenAuthenticationMethodDeviceCollectionResponse + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDeviceCollectionResponse, error_mapping) + + async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Create new navigation property to hardwareOathDevices for users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathDevices from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to hardwareOathDevices for users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> HardwareOathDevicesRequestBuilder: + """ + 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: HardwareOathDevicesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathDevicesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathDevicesRequestBuilderGetQueryParameters(): + """ + Get hardwareOathDevices from users + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class HardwareOathDevicesRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/assign_to_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/assign_to_request_builder.py new file mode 100644 index 00000000000..3b8b2eefa50 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/assign_to_request_builder.py @@ -0,0 +1,126 @@ +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 + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class AssignToRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignToRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[AssignToRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get assignTo from users + 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[AssignToRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get assignTo from users + 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) -> AssignToRequestBuilder: + """ + 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: AssignToRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignToRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AssignToRequestBuilderGetQueryParameters(): + """ + Get assignTo from users + """ + 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 AssignToRequestBuilderGetRequestConfiguration(RequestConfiguration[AssignToRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..c82891d44fe --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.mailbox_settings import MailboxSettings + from ...........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /users/{user-id}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod-id}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice-id}/assignTo/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + 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: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + 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) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + 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 MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + 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 MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..e7c48bc2ead --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ............models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..25227f887e1 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/assign_to/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /users/{user-id}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod-id}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice-id}/assignTo/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + 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.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a 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 == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py new file mode 100644 index 00000000000..4e38459fe1c --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/device/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_item_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + from .........models.o_data_errors.o_data_error import ODataError + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + +class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property hardwareOathDevices for users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Get hardwareOathDevices from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + async def patch(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: + """ + Update the navigation property hardwareOathDevices in users + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] + """ + 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.hardware_oath_token_authentication_method_device import HardwareOathTokenAuthenticationMethodDevice + + return await self.request_adapter.send_async(request_info, HardwareOathTokenAuthenticationMethodDevice, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property hardwareOathDevices for users + 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[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathDevices from users + 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: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property hardwareOathDevices in users + 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) -> HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder: + """ + 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: HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @property + def assign_to(self) -> AssignToRequestBuilder: + """ + Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + """ + from .assign_to.assign_to_request_builder import AssignToRequestBuilder + + return AssignToRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters(): + """ + Get hardwareOathDevices from users + """ + 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]): + """ + 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/hardware_oath_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/hardware_oath_authentication_method_item_request_builder.py new file mode 100644 index 00000000000..c5340202d71 --- /dev/null +++ b/msgraph_beta/generated/users/item/authentication/hardware_oath_methods/item/hardware_oath_authentication_method_item_request_builder.py @@ -0,0 +1,172 @@ +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.hardware_oath_authentication_method import HardwareOathAuthenticationMethod + from ......models.o_data_errors.o_data_error import ODataError + from .activate.activate_request_builder import ActivateRequestBuilder + from .deactivate.deactivate_request_builder import DeactivateRequestBuilder + from .device.device_request_builder import DeviceRequestBuilder + +class HardwareOathAuthenticationMethodItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HardwareOathAuthenticationMethodItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property hardwareOathMethods for users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathAuthenticationMethod]: + """ + Get hardwareOathMethods from users + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HardwareOathAuthenticationMethod] + """ + 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.hardware_oath_authentication_method import HardwareOathAuthenticationMethod + + return await self.request_adapter.send_async(request_info, HardwareOathAuthenticationMethod, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property hardwareOathMethods for users + 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[HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get hardwareOathMethods from users + 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) -> HardwareOathAuthenticationMethodItemRequestBuilder: + """ + 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: HardwareOathAuthenticationMethodItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HardwareOathAuthenticationMethodItemRequestBuilder(self.request_adapter, raw_url) + + @property + def activate(self) -> ActivateRequestBuilder: + """ + Provides operations to call the activate method. + """ + from .activate.activate_request_builder import ActivateRequestBuilder + + return ActivateRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def deactivate(self) -> DeactivateRequestBuilder: + """ + Provides operations to call the deactivate method. + """ + from .deactivate.deactivate_request_builder import DeactivateRequestBuilder + + return DeactivateRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def device(self) -> DeviceRequestBuilder: + """ + Provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. + """ + from .device.device_request_builder import DeviceRequestBuilder + + return DeviceRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration(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 HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters(): + """ + Get hardwareOathMethods from users + """ + 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 HardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration(RequestConfiguration[HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index 9f61bbf82e0..2fc6428a6c0 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -48,7 +48,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 588c15d1372..70f10ec5f4f 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/presence/presence_request_builder.py b/msgraph_beta/generated/users/item/presence/presence_request_builder.py index 3d270df1d5d..8f5d7039dee 100644 --- a/msgraph_beta/generated/users/item/presence/presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/presence_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -198,7 +198,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. """ def get_query_parameter(self,original_name: str) -> str: """