diff --git a/CHANGELOG.md b/CHANGELOG.md index 9763cb2a05a..1f795d55512 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.0] - 2024-03-19 + +### Added +- Added support for multipart and form serialization. + +### Changed +- Latest metadata updates from 19th March 2024. + ## [1.1.0] - 2024-01-24 ### Added diff --git a/msgraph_beta/_version.py b/msgraph_beta/_version.py index 72fd0974327..a9ecfe2e6e0 100644 --- a/msgraph_beta/_version.py +++ b/msgraph_beta/_version.py @@ -1 +1 @@ -VERSION: str = '1.1.0' +VERSION: str = '1.2.0' diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/applicable_content_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/applicable_content_request_builder.py new file mode 100644 index 00000000000..444d97aceb7 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/applicable_content_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.windows_updates.applicable_content import ApplicableContent + from .......models.windows_updates.applicable_content_collection_response import ApplicableContentCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.applicable_content_catalog_entry_item_request_builder import ApplicableContentCatalogEntryItemRequestBuilder + +class ApplicableContentRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentRequestBuilder 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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_applicable_content_catalog_entry_id(self,applicable_content_catalog_entry_id: str) -> ApplicableContentCatalogEntryItemRequestBuilder: + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + param applicable_content_catalog_entry_id: The unique identifier of applicableContent + Returns: ApplicableContentCatalogEntryItemRequestBuilder + """ + if not applicable_content_catalog_entry_id: + raise TypeError("applicable_content_catalog_entry_id cannot be null.") + from .item.applicable_content_catalog_entry_item_request_builder import ApplicableContentCatalogEntryItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["applicableContent%2DcatalogEntryId"] = applicable_content_catalog_entry_id + return ApplicableContentCatalogEntryItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentCollectionResponse]: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.windows_updates.applicable_content_collection_response import ApplicableContentCollectionResponse + + return await self.request_adapter.send_async(request_info, ApplicableContentCollectionResponse, error_mapping) + + async def post(self,body: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Create new navigation property to applicableContent for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + 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: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to applicableContent for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent', 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: Optional[str] = None) -> ApplicableContentRequestBuilder: + """ + 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: ApplicableContentRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentRequestBuilder(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 ApplicableContentRequestBuilderGetQueryParameters(): + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py new file mode 100644 index 00000000000..fb837476b37 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py new file mode 100644 index 00000000000..9c907691e9d --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py @@ -0,0 +1,184 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.windows_updates.applicable_content import ApplicableContent + from .catalog_entry.catalog_entry_request_builder import CatalogEntryRequestBuilder + from .matched_devices.matched_devices_request_builder import MatchedDevicesRequestBuilder + +class ApplicableContentCatalogEntryItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentCatalogEntryItemRequestBuilder 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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property applicableContent for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + async def patch(self,body: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Update the navigation property applicableContent in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property applicableContent for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}', 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] = None) -> RequestInformation: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + 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: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property applicableContent in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}', 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: Optional[str] = None) -> ApplicableContentCatalogEntryItemRequestBuilder: + """ + 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: ApplicableContentCatalogEntryItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentCatalogEntryItemRequestBuilder(self.request_adapter, raw_url) + + @property + def catalog_entry(self) -> CatalogEntryRequestBuilder: + """ + Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + from .catalog_entry.catalog_entry_request_builder import CatalogEntryRequestBuilder + + return CatalogEntryRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def matched_devices(self) -> MatchedDevicesRequestBuilder: + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + from .matched_devices.matched_devices_request_builder import MatchedDevicesRequestBuilder + + return MatchedDevicesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters(): + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/catalog_entry/catalog_entry_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/catalog_entry/catalog_entry_request_builder.py new file mode 100644 index 00000000000..1a9b499a95d --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/catalog_entry/catalog_entry_request_builder.py @@ -0,0 +1,97 @@ +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.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 + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.windows_updates.catalog_entry import CatalogEntry + +class CatalogEntryRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CatalogEntryRequestBuilder 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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CatalogEntry]: + """ + Catalog entry for the update or content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CatalogEntry] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.catalog_entry import CatalogEntry + + return await self.request_adapter.send_async(request_info, CatalogEntry, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Catalog entry for the update or content. + 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: Optional[str] = None) -> CatalogEntryRequestBuilder: + """ + 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: CatalogEntryRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CatalogEntryRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CatalogEntryRequestBuilderGetQueryParameters(): + """ + Catalog entry for the update or content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py new file mode 100644 index 00000000000..bab148bcfd9 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py new file mode 100644 index 00000000000..7c68f1db33d --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py @@ -0,0 +1,164 @@ +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.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 + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + +class ApplicableContentDeviceMatchDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentDeviceMatchDeviceItemRequestBuilder 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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property matchedDevices for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Collection of devices and recommendations for applicable catalog content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + async def patch(self,body: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Update the navigation property matchedDevices in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property matchedDevices for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}', 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] = None) -> RequestInformation: + """ + Collection of devices and recommendations for applicable catalog content. + 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: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property matchedDevices in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}', 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: Optional[str] = None) -> ApplicableContentDeviceMatchDeviceItemRequestBuilder: + """ + 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: ApplicableContentDeviceMatchDeviceItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentDeviceMatchDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters(): + """ + Collection of devices and recommendations for applicable catalog content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/matched_devices_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/matched_devices_request_builder.py new file mode 100644 index 00000000000..c68f948e1ad --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/matched_devices_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + from .........models.windows_updates.applicable_content_device_match_collection_response import ApplicableContentDeviceMatchCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.applicable_content_device_match_device_item_request_builder import ApplicableContentDeviceMatchDeviceItemRequestBuilder + +class MatchedDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MatchedDevicesRequestBuilder 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}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_applicable_content_device_match_device_id(self,applicable_content_device_match_device_id: str) -> ApplicableContentDeviceMatchDeviceItemRequestBuilder: + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + param applicable_content_device_match_device_id: The unique identifier of applicableContentDeviceMatch + Returns: ApplicableContentDeviceMatchDeviceItemRequestBuilder + """ + if not applicable_content_device_match_device_id: + raise TypeError("applicable_content_device_match_device_id cannot be null.") + from .item.applicable_content_device_match_device_item_request_builder import ApplicableContentDeviceMatchDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["applicableContentDeviceMatch%2DdeviceId"] = applicable_content_device_match_device_id + return ApplicableContentDeviceMatchDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatchCollectionResponse]: + """ + Collection of devices and recommendations for applicable catalog content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatchCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.applicable_content_device_match_collection_response import ApplicableContentDeviceMatchCollectionResponse + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatchCollectionResponse, error_mapping) + + async def post(self,body: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Create new navigation property to matchedDevices for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Collection of devices and recommendations for applicable catalog content. + 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: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to matchedDevices for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices', 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: Optional[str] = None) -> MatchedDevicesRequestBuilder: + """ + 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: MatchedDevicesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MatchedDevicesRequestBuilder(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 MatchedDevicesRequestBuilderGetQueryParameters(): + """ + Collection of devices and recommendations for applicable catalog content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py index 95249336607..6d911e272a3 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py @@ -13,6 +13,7 @@ if TYPE_CHECKING: from ......models.o_data_errors.o_data_error import ODataError from ......models.windows_updates.deployment_audience import DeploymentAudience + from .applicable_content.applicable_content_request_builder import ApplicableContentRequestBuilder from .exclusions.exclusions_request_builder import ExclusionsRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .microsoft_graph_windows_updates_update_audience.microsoft_graph_windows_updates_update_audience_request_builder import MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder @@ -141,6 +142,15 @@ def with_url(self,raw_url: Optional[str] = None) -> DeploymentAudienceItemReques raise TypeError("raw_url cannot be null.") return DeploymentAudienceItemRequestBuilder(self.request_adapter, raw_url) + @property + def applicable_content(self) -> ApplicableContentRequestBuilder: + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + from .applicable_content.applicable_content_request_builder import ApplicableContentRequestBuilder + + return ApplicableContentRequestBuilder(self.request_adapter, self.path_parameters) + @property def exclusions(self) -> ExclusionsRequestBuilder: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/applicable_content_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/applicable_content_request_builder.py new file mode 100644 index 00000000000..efe49ccd585 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/applicable_content_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.windows_updates.applicable_content import ApplicableContent + from ........models.windows_updates.applicable_content_collection_response import ApplicableContentCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.applicable_content_catalog_entry_item_request_builder import ApplicableContentCatalogEntryItemRequestBuilder + +class ApplicableContentRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentRequestBuilder 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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_applicable_content_catalog_entry_id(self,applicable_content_catalog_entry_id: str) -> ApplicableContentCatalogEntryItemRequestBuilder: + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + param applicable_content_catalog_entry_id: The unique identifier of applicableContent + Returns: ApplicableContentCatalogEntryItemRequestBuilder + """ + if not applicable_content_catalog_entry_id: + raise TypeError("applicable_content_catalog_entry_id cannot be null.") + from .item.applicable_content_catalog_entry_item_request_builder import ApplicableContentCatalogEntryItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["applicableContent%2DcatalogEntryId"] = applicable_content_catalog_entry_id + return ApplicableContentCatalogEntryItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentCollectionResponse]: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.windows_updates.applicable_content_collection_response import ApplicableContentCollectionResponse + + return await self.request_adapter.send_async(request_info, ApplicableContentCollectionResponse, error_mapping) + + async def post(self,body: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Create new navigation property to applicableContent for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + 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: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to applicableContent for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent', 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: Optional[str] = None) -> ApplicableContentRequestBuilder: + """ + 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: ApplicableContentRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentRequestBuilder(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 ApplicableContentRequestBuilderGetQueryParameters(): + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py new file mode 100644 index 00000000000..3d45c90e3ad --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py new file mode 100644 index 00000000000..91dcba0bc6a --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py @@ -0,0 +1,184 @@ +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.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 + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.windows_updates.applicable_content import ApplicableContent + from .catalog_entry.catalog_entry_request_builder import CatalogEntryRequestBuilder + from .matched_devices.matched_devices_request_builder import MatchedDevicesRequestBuilder + +class ApplicableContentCatalogEntryItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentCatalogEntryItemRequestBuilder 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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property applicableContent for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + async def patch(self,body: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Update the navigation property applicableContent in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property applicableContent for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}', 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] = None) -> RequestInformation: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + 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: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property applicableContent in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}', 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: Optional[str] = None) -> ApplicableContentCatalogEntryItemRequestBuilder: + """ + 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: ApplicableContentCatalogEntryItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentCatalogEntryItemRequestBuilder(self.request_adapter, raw_url) + + @property + def catalog_entry(self) -> CatalogEntryRequestBuilder: + """ + Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + from .catalog_entry.catalog_entry_request_builder import CatalogEntryRequestBuilder + + return CatalogEntryRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def matched_devices(self) -> MatchedDevicesRequestBuilder: + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + from .matched_devices.matched_devices_request_builder import MatchedDevicesRequestBuilder + + return MatchedDevicesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters(): + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/catalog_entry/catalog_entry_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/catalog_entry/catalog_entry_request_builder.py new file mode 100644 index 00000000000..d650b3c5b39 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/catalog_entry/catalog_entry_request_builder.py @@ -0,0 +1,97 @@ +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.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 + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.windows_updates.catalog_entry import CatalogEntry + +class CatalogEntryRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CatalogEntryRequestBuilder 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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CatalogEntry]: + """ + Catalog entry for the update or content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CatalogEntry] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.catalog_entry import CatalogEntry + + return await self.request_adapter.send_async(request_info, CatalogEntry, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Catalog entry for the update or content. + 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: Optional[str] = None) -> CatalogEntryRequestBuilder: + """ + 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: CatalogEntryRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CatalogEntryRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CatalogEntryRequestBuilderGetQueryParameters(): + """ + Catalog entry for the update or content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py new file mode 100644 index 00000000000..734e3e28080 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py new file mode 100644 index 00000000000..a34821de1c5 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py @@ -0,0 +1,164 @@ +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.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 + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + from ...........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + +class ApplicableContentDeviceMatchDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentDeviceMatchDeviceItemRequestBuilder 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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property matchedDevices for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Collection of devices and recommendations for applicable catalog content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + async def patch(self,body: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Update the navigation property matchedDevices in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property matchedDevices for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}', 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] = None) -> RequestInformation: + """ + Collection of devices and recommendations for applicable catalog content. + 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: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property matchedDevices in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}', 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: Optional[str] = None) -> ApplicableContentDeviceMatchDeviceItemRequestBuilder: + """ + 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: ApplicableContentDeviceMatchDeviceItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentDeviceMatchDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters(): + """ + Collection of devices and recommendations for applicable catalog content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/matched_devices_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/matched_devices_request_builder.py new file mode 100644 index 00000000000..279b5a34e77 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/matched_devices_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + from ..........models.windows_updates.applicable_content_device_match_collection_response import ApplicableContentDeviceMatchCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.applicable_content_device_match_device_item_request_builder import ApplicableContentDeviceMatchDeviceItemRequestBuilder + +class MatchedDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MatchedDevicesRequestBuilder 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}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_applicable_content_device_match_device_id(self,applicable_content_device_match_device_id: str) -> ApplicableContentDeviceMatchDeviceItemRequestBuilder: + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + param applicable_content_device_match_device_id: The unique identifier of applicableContentDeviceMatch + Returns: ApplicableContentDeviceMatchDeviceItemRequestBuilder + """ + if not applicable_content_device_match_device_id: + raise TypeError("applicable_content_device_match_device_id cannot be null.") + from .item.applicable_content_device_match_device_item_request_builder import ApplicableContentDeviceMatchDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["applicableContentDeviceMatch%2DdeviceId"] = applicable_content_device_match_device_id + return ApplicableContentDeviceMatchDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatchCollectionResponse]: + """ + Collection of devices and recommendations for applicable catalog content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatchCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.applicable_content_device_match_collection_response import ApplicableContentDeviceMatchCollectionResponse + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatchCollectionResponse, error_mapping) + + async def post(self,body: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Create new navigation property to matchedDevices for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Collection of devices and recommendations for applicable catalog content. + 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: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to matchedDevices for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices', 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: Optional[str] = None) -> MatchedDevicesRequestBuilder: + """ + 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: MatchedDevicesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MatchedDevicesRequestBuilder(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 MatchedDevicesRequestBuilderGetQueryParameters(): + """ + Collection of devices and recommendations for applicable catalog content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py index 8f89550ce54..1284efceb1e 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py @@ -13,6 +13,7 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError from .......models.windows_updates.deployment_audience import DeploymentAudience + from .applicable_content.applicable_content_request_builder import ApplicableContentRequestBuilder from .exclusions.exclusions_request_builder import ExclusionsRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .microsoft_graph_windows_updates_update_audience.microsoft_graph_windows_updates_update_audience_request_builder import MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder @@ -139,6 +140,15 @@ def with_url(self,raw_url: Optional[str] = None) -> AudienceRequestBuilder: raise TypeError("raw_url cannot be null.") return AudienceRequestBuilder(self.request_adapter, raw_url) + @property + def applicable_content(self) -> ApplicableContentRequestBuilder: + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + from .applicable_content.applicable_content_request_builder import ApplicableContentRequestBuilder + + return ApplicableContentRequestBuilder(self.request_adapter, self.path_parameters) + @property def exclusions(self) -> ExclusionsRequestBuilder: """ 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 4ad6b425074..84e47164e25 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 @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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 """ @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ResourceConnectionItemReques @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: Optional[str] = None) -> 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 9a4738915bb..5f92bfb213a 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 @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. 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-updatableassetgroup-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UpdatableAsset]: """ - Read the properties and relationships of an updatableAssetGroup object. + Read the properties and relationships of an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: Optional[UpdatableAsset] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an updatableAssetGroup object. + Read the properties and relationships of an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -180,7 +180,7 @@ def microsoft_graph_windows_updates_remove_members_by_id(self) -> MicrosoftGraph @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an updatableAssetGroup object. + Read the properties and relationships of an updatableAsset object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/applicable_content_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/applicable_content_request_builder.py new file mode 100644 index 00000000000..76226f6ea08 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/applicable_content_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.windows_updates.applicable_content import ApplicableContent + from ........models.windows_updates.applicable_content_collection_response import ApplicableContentCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.applicable_content_catalog_entry_item_request_builder import ApplicableContentCatalogEntryItemRequestBuilder + +class ApplicableContentRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentRequestBuilder 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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_applicable_content_catalog_entry_id(self,applicable_content_catalog_entry_id: str) -> ApplicableContentCatalogEntryItemRequestBuilder: + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + param applicable_content_catalog_entry_id: The unique identifier of applicableContent + Returns: ApplicableContentCatalogEntryItemRequestBuilder + """ + if not applicable_content_catalog_entry_id: + raise TypeError("applicable_content_catalog_entry_id cannot be null.") + from .item.applicable_content_catalog_entry_item_request_builder import ApplicableContentCatalogEntryItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["applicableContent%2DcatalogEntryId"] = applicable_content_catalog_entry_id + return ApplicableContentCatalogEntryItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentCollectionResponse]: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.windows_updates.applicable_content_collection_response import ApplicableContentCollectionResponse + + return await self.request_adapter.send_async(request_info, ApplicableContentCollectionResponse, error_mapping) + + async def post(self,body: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Create new navigation property to applicableContent for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + 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: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to applicableContent for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent', 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: Optional[str] = None) -> ApplicableContentRequestBuilder: + """ + 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: ApplicableContentRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentRequestBuilder(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 ApplicableContentRequestBuilderGetQueryParameters(): + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py new file mode 100644 index 00000000000..0501028b7cf --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py new file mode 100644 index 00000000000..d8518db2b20 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/applicable_content_catalog_entry_item_request_builder.py @@ -0,0 +1,184 @@ +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.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 + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.windows_updates.applicable_content import ApplicableContent + from .catalog_entry.catalog_entry_request_builder import CatalogEntryRequestBuilder + from .matched_devices.matched_devices_request_builder import MatchedDevicesRequestBuilder + +class ApplicableContentCatalogEntryItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentCatalogEntryItemRequestBuilder 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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property applicableContent for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + async def patch(self,body: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContent]: + """ + Update the navigation property applicableContent in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContent] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.windows_updates.applicable_content import ApplicableContent + + return await self.request_adapter.send_async(request_info, ApplicableContent, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property applicableContent for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}', 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] = None) -> RequestInformation: + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + 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: Optional[ApplicableContent] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property applicableContent in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}', 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: Optional[str] = None) -> ApplicableContentCatalogEntryItemRequestBuilder: + """ + 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: ApplicableContentCatalogEntryItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentCatalogEntryItemRequestBuilder(self.request_adapter, raw_url) + + @property + def catalog_entry(self) -> CatalogEntryRequestBuilder: + """ + Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + from .catalog_entry.catalog_entry_request_builder import CatalogEntryRequestBuilder + + return CatalogEntryRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def matched_devices(self) -> MatchedDevicesRequestBuilder: + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + from .matched_devices.matched_devices_request_builder import MatchedDevicesRequestBuilder + + return MatchedDevicesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters(): + """ + Content eligible to deploy to devices in the audience. Not nullable. Read-only. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/catalog_entry/catalog_entry_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/catalog_entry/catalog_entry_request_builder.py new file mode 100644 index 00000000000..4de47f98400 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/catalog_entry/catalog_entry_request_builder.py @@ -0,0 +1,97 @@ +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.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 + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.windows_updates.catalog_entry import CatalogEntry + +class CatalogEntryRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CatalogEntryRequestBuilder 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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CatalogEntry]: + """ + Catalog entry for the update or content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CatalogEntry] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.catalog_entry import CatalogEntry + + return await self.request_adapter.send_async(request_info, CatalogEntry, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Catalog entry for the update or content. + 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: Optional[str] = None) -> CatalogEntryRequestBuilder: + """ + 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: CatalogEntryRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CatalogEntryRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CatalogEntryRequestBuilderGetQueryParameters(): + """ + Catalog entry for the update or content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py new file mode 100644 index 00000000000..d76d8903849 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py new file mode 100644 index 00000000000..30eab1bd2fd --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/item/applicable_content_device_match_device_item_request_builder.py @@ -0,0 +1,164 @@ +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.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 + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + from ...........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + +class ApplicableContentDeviceMatchDeviceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ApplicableContentDeviceMatchDeviceItemRequestBuilder 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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property matchedDevices for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Collection of devices and recommendations for applicable catalog content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + async def patch(self,body: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Update the navigation property matchedDevices in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property matchedDevices for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}', 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] = None) -> RequestInformation: + """ + Collection of devices and recommendations for applicable catalog content. + 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: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property matchedDevices in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}', 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: Optional[str] = None) -> ApplicableContentDeviceMatchDeviceItemRequestBuilder: + """ + 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: ApplicableContentDeviceMatchDeviceItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApplicableContentDeviceMatchDeviceItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters(): + """ + Collection of devices and recommendations for applicable catalog content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/matched_devices_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/matched_devices_request_builder.py new file mode 100644 index 00000000000..ffb8561a698 --- /dev/null +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/matched_devices_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + from ..........models.windows_updates.applicable_content_device_match_collection_response import ApplicableContentDeviceMatchCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.applicable_content_device_match_device_item_request_builder import ApplicableContentDeviceMatchDeviceItemRequestBuilder + +class MatchedDevicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MatchedDevicesRequestBuilder 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}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_applicable_content_device_match_device_id(self,applicable_content_device_match_device_id: str) -> ApplicableContentDeviceMatchDeviceItemRequestBuilder: + """ + Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + param applicable_content_device_match_device_id: The unique identifier of applicableContentDeviceMatch + Returns: ApplicableContentDeviceMatchDeviceItemRequestBuilder + """ + if not applicable_content_device_match_device_id: + raise TypeError("applicable_content_device_match_device_id cannot be null.") + from .item.applicable_content_device_match_device_item_request_builder import ApplicableContentDeviceMatchDeviceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["applicableContentDeviceMatch%2DdeviceId"] = applicable_content_device_match_device_id + return ApplicableContentDeviceMatchDeviceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatchCollectionResponse]: + """ + Collection of devices and recommendations for applicable catalog content. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatchCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.applicable_content_device_match_collection_response import ApplicableContentDeviceMatchCollectionResponse + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatchCollectionResponse, error_mapping) + + async def post(self,body: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicableContentDeviceMatch]: + """ + Create new navigation property to matchedDevices for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ApplicableContentDeviceMatch] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.windows_updates.applicable_content_device_match import ApplicableContentDeviceMatch + + return await self.request_adapter.send_async(request_info, ApplicableContentDeviceMatch, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Collection of devices and recommendations for applicable catalog content. + 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: Optional[ApplicableContentDeviceMatch] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to matchedDevices for admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices', 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: Optional[str] = None) -> MatchedDevicesRequestBuilder: + """ + 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: MatchedDevicesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MatchedDevicesRequestBuilder(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 MatchedDevicesRequestBuilderGetQueryParameters(): + """ + Collection of devices and recommendations for applicable catalog content. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py index a15b615efc4..4030f6e4741 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py @@ -13,6 +13,7 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError from .......models.windows_updates.deployment_audience import DeploymentAudience + from .applicable_content.applicable_content_request_builder import ApplicableContentRequestBuilder from .exclusions.exclusions_request_builder import ExclusionsRequestBuilder from .members.members_request_builder import MembersRequestBuilder from .microsoft_graph_windows_updates_update_audience.microsoft_graph_windows_updates_update_audience_request_builder import MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder @@ -139,6 +140,15 @@ def with_url(self,raw_url: Optional[str] = None) -> AudienceRequestBuilder: raise TypeError("raw_url cannot be null.") return AudienceRequestBuilder(self.request_adapter, raw_url) + @property + def applicable_content(self) -> ApplicableContentRequestBuilder: + """ + Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. + """ + from .applicable_content.applicable_content_request_builder import ApplicableContentRequestBuilder + + return ApplicableContentRequestBuilder(self.request_adapter, self.path_parameters) + @property def exclusions(self) -> ExclusionsRequestBuilder: """ 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 2b4afb618dd..0a67e8e1480 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 @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ComplianceChange]: """ - Read the properties and relationships of a complianceChange object. + Read the properties and relationships of a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a complianceChange object. + Read the properties and relationships of a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,7 +151,7 @@ def update_policy(self) -> UpdatePolicyRequestBuilder: @dataclass class ComplianceChangeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a complianceChange object. + Read the properties and relationships of a contentApproval object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py b/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py index abfbb4fd419..b414903f20d 100644 --- a/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and ends. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that ended results in a 404 Not Found error. The resources related to the call should be cleaned up on the application side. 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/call-keepalive?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and ends. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that ended results in a 404 Not Found error. The resources related to the call should be cleaned up on the application side. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py b/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py index bd61b53aab7..af113d5b53e 100644 --- a/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[MuteParticipantOperation]: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation + Allows the application to mute itself. This is a server mute, meaning that the server drops all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantOperation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[MutePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation + Allows the application to mute itself. This is a server mute, meaning that the server drops all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. 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/app/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py index 337caa57b92..f696fc83bf8 100644 --- a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py @@ -29,11 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[InviteParticipantsOperation]: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: Optional[InvitePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py b/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py index 96af3f01def..66dab5d26ad 100644 --- a/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[RecordOperation]: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. + Record a short audio response from the caller. A bot can use this API to capture a voice response from a caller after they're prompted for a response. For more information about how to handle operations, see commsOperation. This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecordOperation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[RecordResponsePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. + Record a short audio response from the caller. A bot can use this API to capture a voice response from a caller after they're prompted for a response. For more information about how to handle operations, see commsOperation. This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. 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/app/calls/item/reject/reject_request_builder.py b/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py index 061a750815c..8aca2fe9fc1 100644 --- a/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[RejectPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. 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/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py b/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py index 33297fc0d5b..37afd429290 100644 --- a/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[SubscribeToToneOperation]: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a dialpad. This action is supported only for calls that are initiated with serviceHostedMediaConfig. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscribeToToneOperation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, reque def to_post_request_information(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a dialpad. This action is supported only for calls that are initiated with serviceHostedMediaConfig. 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/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py index ec51bae9ce4..5a9aea06ab3 100644 --- a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def attendance_records(self) -> AttendanceRecordsRequestBuilder: @dataclass class MeetingAttendanceReportRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py index b81134239f6..49c6d9a7b53 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py @@ -46,7 +46,7 @@ def by_teams_app_id(self,teams_app_id: str) -> TeamsAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TeamsAppCollectionResponse]: """ - List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsApp] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. 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 TeamsAppsRequestBuilderGetQueryParameters(): """ - List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py b/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py index 8adf341856f..bcde08ae8c5 100644 --- a/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py +++ b/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[InstantiatePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ApplicationServicePrincipal]: """ - Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. + Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationServicePrincipal] @@ -53,7 +53,7 @@ async def post(self,body: Optional[InstantiatePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[InstantiatePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. + Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/applications/item/application_item_request_builder.py b/msgraph_beta/generated/applications/item/application_item_request_builder.py index b546225896c..2b4fd506fd0 100644 --- a/msgraph_beta/generated/applications/item/application_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/application_item_request_builder.py @@ -104,11 +104,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Application] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Application]: """ - Update the properties of an application object. + Create a new application object if it doesn't exist, or update the properties of an existing application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] - Find more info here: https://learn.microsoft.com/graph/api/application-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -150,7 +150,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Application] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an application object. + Create a new application object if it doesn't exist, or update the properties of an existing application 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/applications_with_app_id/applications_with_app_id_request_builder.py b/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py index 8932bebb8bc..8ca28db7622 100644 --- a/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py +++ b/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Application] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Application]: """ - Update the properties of an application object. + Create a new application object if it doesn't exist, or update the properties of an existing application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] - Find more info here: https://learn.microsoft.com/graph/api/application-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Application] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an application object. + Create a new application object if it doesn't exist, or update the properties of an existing application 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/applications_with_unique_name/applications_with_unique_name_request_builder.py b/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py index 6892b706c19..0a965c81c29 100644 --- a/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Application] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Application]: """ - Update the properties of an application object. + Create a new application object if it doesn't exist, or update the properties of an existing application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] - Find more info here: https://learn.microsoft.com/graph/api/application-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Application] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an application object. + Create a new application object if it doesn't exist, or update the properties of an existing application 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/base_graph_service_client.py b/msgraph_beta/generated/base_graph_service_client.py index 51cf362b3cc..07e5cdef2ae 100644 --- a/msgraph_beta/generated/base_graph_service_client.py +++ b/msgraph_beta/generated/base_graph_service_client.py @@ -9,6 +9,7 @@ from kiota_serialization_form.form_serialization_writer_factory import FormSerializationWriterFactory from kiota_serialization_json.json_parse_node_factory import JsonParseNodeFactory from kiota_serialization_json.json_serialization_writer_factory import JsonSerializationWriterFactory +from kiota_serialization_multipart.multipart_serialization_writer_factory import MultipartSerializationWriterFactory from kiota_serialization_text.text_parse_node_factory import TextParseNodeFactory from kiota_serialization_text.text_serialization_writer_factory import TextSerializationWriterFactory from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @@ -151,6 +152,7 @@ def __init__(self,request_adapter: RequestAdapter, backing_store: Optional[Backi register_default_serializer(JsonSerializationWriterFactory) register_default_serializer(TextSerializationWriterFactory) register_default_serializer(FormSerializationWriterFactory) + register_default_serializer(MultipartSerializationWriterFactory) register_default_deserializer(JsonParseNodeFactory) register_default_deserializer(TextParseNodeFactory) register_default_deserializer(FormParseNodeFactory) diff --git a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py index 3ff8702f255..0acdf533cc3 100644 --- a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. 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/communications/calls/item/keep_alive/keep_alive_request_builder.py b/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py index 2d3cea37e63..abe386dfd3c 100644 --- a/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and ends. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that ended results in a 404 Not Found error. The resources related to the call should be cleaned up on the application side. 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/call-keepalive?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and ends. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that ended results in a 404 Not Found error. The resources related to the call should be cleaned up on the application side. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py b/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py index 3874b837aec..bce1ad177b4 100644 --- a/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[MuteParticipantOperation]: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation + Allows the application to mute itself. This is a server mute, meaning that the server drops all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantOperation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[MutePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation + Allows the application to mute itself. This is a server mute, meaning that the server drops all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. 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/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py index c6f3582e2e5..bc09b14f163 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -29,11 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[InviteParticipantsOperation]: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: Optional[InvitePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py b/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py index 3faca905bfd..16e7c38a9ee 100644 --- a/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[RecordOperation]: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. + Record a short audio response from the caller. A bot can use this API to capture a voice response from a caller after they're prompted for a response. For more information about how to handle operations, see commsOperation. This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecordOperation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[RecordResponsePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. + Record a short audio response from the caller. A bot can use this API to capture a voice response from a caller after they're prompted for a response. For more information about how to handle operations, see commsOperation. This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. 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/communications/calls/item/reject/reject_request_builder.py b/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py index bfb85b2a828..a57b03aaa20 100644 --- a/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[RejectPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. 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/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py b/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py index 20817ca68f8..7fbf90708d1 100644 --- a/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[SubscribeToToneOperation]: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a dialpad. This action is supported only for calls that are initiated with serviceHostedMediaConfig. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscribeToToneOperation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, reque def to_post_request_information(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a dialpad. This action is supported only for calls that are initiated with serviceHostedMediaConfig. 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/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py index 67d80095e0b..fa5bf4a3a69 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def attendance_records(self) -> AttendanceRecordsRequestBuilder: @dataclass class MeetingAttendanceReportRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/connections/item/schema/schema_request_builder.py index 5ef22c7f983..82659848c60 100644 --- a/msgraph_beta/generated/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/connections/item/schema/schema_request_builder.py @@ -50,11 +50,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Schema] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Schema]: """ - Update the properties of a schema for an externalConnection. + Create the 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Schema] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a schema for an externalConnection. + Create the 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/device_app_management/device_app_management_request_builder.py b/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py index 1ed38a59eeb..1d44624eb3c 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py @@ -26,6 +26,7 @@ from .managed_e_book_categories.managed_e_book_categories_request_builder import ManagedEBookCategoriesRequestBuilder from .mdm_windows_information_protection_policies.mdm_windows_information_protection_policies_request_builder import MdmWindowsInformationProtectionPoliciesRequestBuilder from .mobile_apps.mobile_apps_request_builder import MobileAppsRequestBuilder + from .mobile_app_catalog_packages.mobile_app_catalog_packages_request_builder import MobileAppCatalogPackagesRequestBuilder from .mobile_app_categories.mobile_app_categories_request_builder import MobileAppCategoriesRequestBuilder from .mobile_app_configurations.mobile_app_configurations_request_builder import MobileAppConfigurationsRequestBuilder from .policy_sets.policy_sets_request_builder import PolicySetsRequestBuilder @@ -240,6 +241,15 @@ def mdm_windows_information_protection_policies(self) -> MdmWindowsInformationPr return MdmWindowsInformationProtectionPoliciesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def mobile_app_catalog_packages(self) -> MobileAppCatalogPackagesRequestBuilder: + """ + Provides operations to manage the mobileAppCatalogPackages property of the microsoft.graph.deviceAppManagement entity. + """ + from .mobile_app_catalog_packages.mobile_app_catalog_packages_request_builder import MobileAppCatalogPackagesRequestBuilder + + return MobileAppCatalogPackagesRequestBuilder(self.request_adapter, self.path_parameters) + @property def mobile_app_categories(self) -> MobileAppCategoriesRequestBuilder: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py new file mode 100644 index 00000000000..a89ddaf5485 --- /dev/null +++ b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +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}/deviceAppManagement/mobileAppCatalogPackages/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/item/mobile_app_catalog_package_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/item/mobile_app_catalog_package_item_request_builder.py new file mode 100644 index 00000000000..86b8bf3efdd --- /dev/null +++ b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/item/mobile_app_catalog_package_item_request_builder.py @@ -0,0 +1,164 @@ +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.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 + +if TYPE_CHECKING: + from ....models.mobile_app_catalog_package import MobileAppCatalogPackage + from ....models.o_data_errors.o_data_error import ODataError + +class MobileAppCatalogPackageItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the mobileAppCatalogPackages property of the microsoft.graph.deviceAppManagement entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MobileAppCatalogPackageItemRequestBuilder 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}/deviceAppManagement/mobileAppCatalogPackages/{mobileAppCatalogPackage%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property mobileAppCatalogPackages for deviceAppManagement + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppCatalogPackage]: + """ + MobileAppCatalogPackage entities. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MobileAppCatalogPackage] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.mobile_app_catalog_package import MobileAppCatalogPackage + + return await self.request_adapter.send_async(request_info, MobileAppCatalogPackage, error_mapping) + + async def patch(self,body: Optional[MobileAppCatalogPackage] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppCatalogPackage]: + """ + Update the navigation property mobileAppCatalogPackages in deviceAppManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MobileAppCatalogPackage] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.mobile_app_catalog_package import MobileAppCatalogPackage + + return await self.request_adapter.send_async(request_info, MobileAppCatalogPackage, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property mobileAppCatalogPackages for deviceAppManagement + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/deviceAppManagement/mobileAppCatalogPackages/{mobileAppCatalogPackage%2Did}', 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] = None) -> RequestInformation: + """ + MobileAppCatalogPackage entities. + 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: Optional[MobileAppCatalogPackage] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property mobileAppCatalogPackages in deviceAppManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/deviceAppManagement/mobileAppCatalogPackages/{mobileAppCatalogPackage%2Did}', 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: Optional[str] = None) -> MobileAppCatalogPackageItemRequestBuilder: + """ + 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: MobileAppCatalogPackageItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MobileAppCatalogPackageItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MobileAppCatalogPackageItemRequestBuilderGetQueryParameters(): + """ + MobileAppCatalogPackage entities. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/mobile_app_catalog_packages_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/mobile_app_catalog_packages_request_builder.py new file mode 100644 index 00000000000..39b4b9fe4eb --- /dev/null +++ b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/mobile_app_catalog_packages_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from ...models.mobile_app_catalog_package import MobileAppCatalogPackage + from ...models.mobile_app_catalog_package_collection_response import MobileAppCatalogPackageCollectionResponse + from ...models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.mobile_app_catalog_package_item_request_builder import MobileAppCatalogPackageItemRequestBuilder + +class MobileAppCatalogPackagesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the mobileAppCatalogPackages property of the microsoft.graph.deviceAppManagement entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MobileAppCatalogPackagesRequestBuilder 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}/deviceAppManagement/mobileAppCatalogPackages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_mobile_app_catalog_package_id(self,mobile_app_catalog_package_id: str) -> MobileAppCatalogPackageItemRequestBuilder: + """ + Provides operations to manage the mobileAppCatalogPackages property of the microsoft.graph.deviceAppManagement entity. + param mobile_app_catalog_package_id: The unique identifier of mobileAppCatalogPackage + Returns: MobileAppCatalogPackageItemRequestBuilder + """ + if not mobile_app_catalog_package_id: + raise TypeError("mobile_app_catalog_package_id cannot be null.") + from .item.mobile_app_catalog_package_item_request_builder import MobileAppCatalogPackageItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["mobileAppCatalogPackage%2Did"] = mobile_app_catalog_package_id + return MobileAppCatalogPackageItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppCatalogPackageCollectionResponse]: + """ + MobileAppCatalogPackage entities. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MobileAppCatalogPackageCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.mobile_app_catalog_package_collection_response import MobileAppCatalogPackageCollectionResponse + + return await self.request_adapter.send_async(request_info, MobileAppCatalogPackageCollectionResponse, error_mapping) + + async def post(self,body: Optional[MobileAppCatalogPackage] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppCatalogPackage]: + """ + Create new navigation property to mobileAppCatalogPackages for deviceAppManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MobileAppCatalogPackage] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.mobile_app_catalog_package import MobileAppCatalogPackage + + return await self.request_adapter.send_async(request_info, MobileAppCatalogPackage, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + MobileAppCatalogPackage entities. + 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: Optional[MobileAppCatalogPackage] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to mobileAppCatalogPackages for deviceAppManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/deviceAppManagement/mobileAppCatalogPackages', 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: Optional[str] = None) -> MobileAppCatalogPackagesRequestBuilder: + """ + 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: MobileAppCatalogPackagesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MobileAppCatalogPackagesRequestBuilder(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 MobileAppCatalogPackagesRequestBuilderGetQueryParameters(): + """ + MobileAppCatalogPackage entities. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id/convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id/convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id_request_builder.py new file mode 100644 index 00000000000..8a2dce6dd48 --- /dev/null +++ b/msgraph_beta/generated/device_app_management/mobile_apps/convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id/convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id_request_builder.py @@ -0,0 +1,73 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from ....models.mobile_app import MobileApp + from ....models.o_data_errors.o_data_error import ODataError + +class ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the convertFromMobileAppCatalogPackage method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], mobile_app_catalog_package_id: Optional[str] = None) -> None: + """ + Instantiates a new ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder and sets the default values. + param mobile_app_catalog_package_id: Usage: mobileAppCatalogPackageId='{mobileAppCatalogPackageId}' + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['mobileAppCatalogPackageId'] = str(mobile_app_catalog_package_id) + super().__init__(request_adapter, "{+baseurl}/deviceAppManagement/mobileApps/convertFromMobileAppCatalogPackage(mobileAppCatalogPackageId='{mobileAppCatalogPackageId}')", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileApp]: + """ + Invoke function convertFromMobileAppCatalogPackage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MobileApp] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.mobile_app import MobileApp + + return await self.request_adapter.send_async(request_info, MobileApp, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke function convertFromMobileAppCatalogPackage + 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: Optional[str] = None) -> ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder: + """ + 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: ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder(self.request_adapter, raw_url) + + 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 999728454fb..dbdb4b59c58 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 88e6e9e47af..556d64c130d 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py index 8ea2481e536..778ac81b652 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index 9c236f9972d..8e0e667c477 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 1149a2ad780..93f5a0c90bb 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 b05535e5c0a..c3262e835dc 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 5c3f58c9945..6c5d4d3abd0 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 3f009328711..f0fb92e5458 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 f8eb59003e2..24e1531ad25 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 b56acf0b6e0..e8d1b746022 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py index 10d48c5d3e8..2e3a7408c57 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index 60d7ea41707..77096535dee 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 b4d20bf44d7..f3953afce2b 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 0b295ca5da9..cf6af47ef36 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 2451212d7d6..8cac5ee6534 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 ab1ad1763b1..579b7bd407a 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 99deb7cc110..d019f164b7f 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 cef8137ca0d..a4e962a47ac 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py index 694f2617900..499437fbb06 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py index 7cc3f4ae2a7..c98c8f8f508 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 370338fa2f9..c256c40a6cf 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 7e0c07c4be0..54ef25066b1 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py index 0927722f268..82891ca0df2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index f2c8e8c7c0c..1581b54858e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 899a69553e9..b0511aff2c9 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 57a8b294c98..27958f0ddbe 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py index 1c8d21e6f51..ba28d3a16d2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py index a72b7a612f9..fe97da37fd7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 69e00782050..127a02bb556 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 10212cd5a99..39d98dc6113 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py index 15db14f9999..92520b26b29 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index 8ea6ff3033b..af14f0cdeb0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 0ea29d139a3..017ba6b993a 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 1688f0e381b..600472ec07f 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py index 040b7f623f1..464c6a0c14e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index e0c9787daf8..61b0ffa58d6 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 1dec832bb0c..64c2379f392 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 68015b8086e..bf9f204f5da 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py index 659292d719d..f374af57c44 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index e15f2131177..c9154df9e6a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 32c11ad2b88..d9d591b0db8 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 1f45f95e532..825625ef1e7 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 e57fad5e9c3..a366f08ca6b 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 cf0c68b1d59..b07a90d4d34 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py index 336f5bdf959..7eba91bb2c3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index cf39aaa64ea..7378c7639b6 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 8295636b712..de721699057 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 71a5d1129c8..70e9df53091 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 318229048c2..d20cc890795 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 79d17a44377..cd17e1d844a 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py index e12d7aee5f1..63cf9a2a7af 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py index 5850e2782d1..ddd0891e6ba 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 4981eb28410..e1a3e6c8139 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 91109bc1cd6..c0435ed9ed4 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py index 5c5fc6bf2c4..af48679ba7b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py index 7b6b0bd5fd0..8cc01e59612 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 5eb89c256cf..159c9977783 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 10ff0ad3e00..e4f43fbdfbf 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 d5428e10951..9ae17ce397d 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 3efd4138518..fdae808774d 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py index c0a8af42d4b..7603200a18e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_contained_app_id(self,mobile_contained_app_id: str) -> MobileConta async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileContainedAppCollectionResponse]: """ - The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileContainedAppCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileContainedApp] = None, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CommittedContainedAppsRequestBuilderGetQueryParameters(): """ - The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py index 92ec23af198..7a3216ccd4b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileContainedApp]: """ - The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileContainedApp] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileContainedAppItemReques @dataclass class MobileContainedAppItemRequestBuilderGetQueryParameters(): """ - The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py index c52995e735b..bbdb94b0373 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py @@ -46,7 +46,7 @@ def by_mobile_app_content_id(self,mobile_app_content_id: str) -> MobileAppConten async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContentCollectionResponse]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContentCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppContent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentVersionsRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py index f30b6a115bf..d2c7708686a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppContent]: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppContent] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def files(self) -> FilesRequestBuilder: @dataclass class MobileAppContentItemRequestBuilderGetQueryParameters(): """ - The list of content versions for this app. + The list of content versions for this app. This property is read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 faa21ae70a2..498bfdff60e 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 fd5722526f9..f4b3d360e9a 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 1e2848c61c0..dad4ff98018 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 4aa540a80ae..5fd2105c858 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 714d81314bd..c2913eca83b 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationship]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MobileAppRelationshipItemReq @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 c0f302199aa..d59381bdcae 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 @@ -46,7 +46,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[MobileAppRelationship] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List of relationships for this mobile app. + The set of direct relationships for this app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - List of relationships for this mobile app. + The set of direct relationships for this app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index a7178f11b15..6bc5c12f575 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -14,6 +14,7 @@ from ...models.mobile_app import MobileApp from ...models.mobile_app_collection_response import MobileAppCollectionResponse from ...models.o_data_errors.o_data_error import ODataError + from .convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id.convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id_request_builder import ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder from .count.count_request_builder import CountRequestBuilder from .graph_android_for_work_app.graph_android_for_work_app_request_builder import GraphAndroidForWorkAppRequestBuilder from .graph_android_lob_app.graph_android_lob_app_request_builder import GraphAndroidLobAppRequestBuilder @@ -67,6 +68,18 @@ def by_mobile_app_id(self,mobile_app_id: str) -> MobileAppItemRequestBuilder: url_tpl_params["mobileApp%2Did"] = mobile_app_id return MobileAppItemRequestBuilder(self.request_adapter, url_tpl_params) + def convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id(self,mobile_app_catalog_package_id: Optional[str] = None) -> ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder: + """ + Provides operations to call the convertFromMobileAppCatalogPackage method. + param mobile_app_catalog_package_id: Usage: mobileAppCatalogPackageId='{mobileAppCatalogPackageId}' + Returns: ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder + """ + if not mobile_app_catalog_package_id: + raise TypeError("mobile_app_catalog_package_id cannot be null.") + from .convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id.convert_from_mobile_app_catalog_package_with_mobile_app_catalog_package_id_request_builder import ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder + + return ConvertFromMobileAppCatalogPackageWithMobileAppCatalogPackageIdRequestBuilder(self.request_adapter, self.path_parameters, mobile_app_catalog_package_id) + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MobileAppCollectionResponse]: """ The mobile apps. diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_request_body.py b/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_request_body.py new file mode 100644 index 00000000000..9b07f4ce7a6 --- /dev/null +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_request_body.py @@ -0,0 +1,56 @@ +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.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + +@dataclass +class AssignJustInTimeConfigurationPostRequestBody(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 justInTimeAssignments property + just_in_time_assignments: Optional[DeviceManagementConfigurationJustInTimeAssignmentPolicy] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AssignJustInTimeConfigurationPostRequestBody: + """ + 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: AssignJustInTimeConfigurationPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AssignJustInTimeConfigurationPostRequestBody() + + 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.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + + from .....models.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + + fields: Dict[str, Callable[[Any], None]] = { + "justInTimeAssignments": lambda n : setattr(self, 'just_in_time_assignments', n.get_object_value(DeviceManagementConfigurationJustInTimeAssignmentPolicy)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_object_value("justInTimeAssignments", self.just_in_time_assignments) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_response.py b/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_response.py new file mode 100644 index 00000000000..9b06b18c60f --- /dev/null +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_response.py @@ -0,0 +1,49 @@ +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 AssignJustInTimeConfigurationPostResponse(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 value property + value: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AssignJustInTimeConfigurationPostResponse: + """ + 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: AssignJustInTimeConfigurationPostResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AssignJustInTimeConfigurationPostResponse() + + 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]] = { + "value": lambda n : setattr(self, 'value', n.get_bool_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("value", self.value) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_request_builder.py new file mode 100644 index 00000000000..74d7a1017ff --- /dev/null +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_request_builder.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .assign_just_in_time_configuration_post_request_body import AssignJustInTimeConfigurationPostRequestBody + from .assign_just_in_time_configuration_post_response import AssignJustInTimeConfigurationPostResponse + +class AssignJustInTimeConfigurationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the assignJustInTimeConfiguration method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignJustInTimeConfigurationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignJustInTimeConfiguration", path_parameters) + + async def post(self,body: Optional[AssignJustInTimeConfigurationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[AssignJustInTimeConfigurationPostResponse]: + """ + Invoke action assignJustInTimeConfiguration + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AssignJustInTimeConfigurationPostResponse] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .assign_just_in_time_configuration_post_response import AssignJustInTimeConfigurationPostResponse + + return await self.request_adapter.send_async(request_info, AssignJustInTimeConfigurationPostResponse, error_mapping) + + def to_post_request_information(self,body: Optional[AssignJustInTimeConfigurationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke action assignJustInTimeConfiguration + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> AssignJustInTimeConfigurationRequestBuilder: + """ + 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: AssignJustInTimeConfigurationRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AssignJustInTimeConfigurationRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py index 262453f42b6..6e0fadaf345 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py @@ -15,8 +15,10 @@ from ....models.o_data_errors.o_data_error import ODataError from .assign.assign_request_builder import AssignRequestBuilder from .assignments.assignments_request_builder import AssignmentsRequestBuilder + from .assign_just_in_time_configuration.assign_just_in_time_configuration_request_builder import AssignJustInTimeConfigurationRequestBuilder from .create_copy.create_copy_request_builder import CreateCopyRequestBuilder from .reorder.reorder_request_builder import ReorderRequestBuilder + from .retrieve_just_in_time_configuration.retrieve_just_in_time_configuration_request_builder import RetrieveJustInTimeConfigurationRequestBuilder from .retrieve_latest_upgrade_default_baseline_policy.retrieve_latest_upgrade_default_baseline_policy_request_builder import RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder from .settings.settings_request_builder import SettingsRequestBuilder @@ -150,6 +152,15 @@ def assign(self) -> AssignRequestBuilder: return AssignRequestBuilder(self.request_adapter, self.path_parameters) + @property + def assign_just_in_time_configuration(self) -> AssignJustInTimeConfigurationRequestBuilder: + """ + Provides operations to call the assignJustInTimeConfiguration method. + """ + from .assign_just_in_time_configuration.assign_just_in_time_configuration_request_builder import AssignJustInTimeConfigurationRequestBuilder + + return AssignJustInTimeConfigurationRequestBuilder(self.request_adapter, self.path_parameters) + @property def assignments(self) -> AssignmentsRequestBuilder: """ @@ -177,6 +188,15 @@ def reorder(self) -> ReorderRequestBuilder: return ReorderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_just_in_time_configuration(self) -> RetrieveJustInTimeConfigurationRequestBuilder: + """ + Provides operations to call the retrieveJustInTimeConfiguration method. + """ + from .retrieve_just_in_time_configuration.retrieve_just_in_time_configuration_request_builder import RetrieveJustInTimeConfigurationRequestBuilder + + return RetrieveJustInTimeConfigurationRequestBuilder(self.request_adapter, self.path_parameters) + @property def retrieve_latest_upgrade_default_baseline_policy(self) -> RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/retrieve_just_in_time_configuration/retrieve_just_in_time_configuration_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/retrieve_just_in_time_configuration/retrieve_just_in_time_configuration_request_builder.py new file mode 100644 index 00000000000..41a6cfae86d --- /dev/null +++ b/msgraph_beta/generated/device_management/configuration_policies/item/retrieve_just_in_time_configuration/retrieve_just_in_time_configuration_request_builder.py @@ -0,0 +1,70 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from .....models.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + from .....models.o_data_errors.o_data_error import ODataError + +class RetrieveJustInTimeConfigurationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveJustInTimeConfiguration method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RetrieveJustInTimeConfigurationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveJustInTimeConfiguration", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DeviceManagementConfigurationJustInTimeAssignmentPolicy]: + """ + Invoke action retrieveJustInTimeConfiguration + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeviceManagementConfigurationJustInTimeAssignmentPolicy] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + + return await self.request_adapter.send_async(request_info, DeviceManagementConfigurationJustInTimeAssignmentPolicy, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke action retrieveJustInTimeConfiguration + 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: Optional[str] = None) -> RetrieveJustInTimeConfigurationRequestBuilder: + """ + 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: RetrieveJustInTimeConfigurationRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveJustInTimeConfigurationRequestBuilder(self.request_adapter, raw_url) + + 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 d88a20e1992..752635e4bdc 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 @@ -46,7 +46,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[AppLogCollectionRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 c1cd6cc3c93..5bbee140641 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AppLogCollectionRequest]: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -102,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ def create_download_url(self) -> CreateDownloadUrlRequestBuilder: @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py index 15a5dd98a6c..393982a42ef 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py @@ -16,6 +16,7 @@ from ....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.alert_record_item_request_builder import AlertRecordItemRequestBuilder + from .microsoft_graph_device_management_change_alert_records_portal_notification_as_sent.microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder import MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder from .microsoft_graph_device_management_get_portal_notifications.microsoft_graph_device_management_get_portal_notifications_request_builder import MicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder class AlertRecordsRequestBuilder(BaseRequestBuilder): @@ -134,6 +135,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def microsoft_graph_device_management_change_alert_records_portal_notification_as_sent(self) -> MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder: + """ + Provides operations to call the changeAlertRecordsPortalNotificationAsSent method. + """ + from .microsoft_graph_device_management_change_alert_records_portal_notification_as_sent.microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder import MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder + + return MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder(self.request_adapter, self.path_parameters) + @property def microsoft_graph_device_management_get_portal_notifications(self) -> MicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/change_alert_records_portal_notification_as_sent_post_request_body.py b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/change_alert_records_portal_notification_as_sent_post_request_body.py new file mode 100644 index 00000000000..b893b7bad33 --- /dev/null +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/change_alert_records_portal_notification_as_sent_post_request_body.py @@ -0,0 +1,49 @@ +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 ChangeAlertRecordsPortalNotificationAsSentPostRequestBody(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 alertRecordIds property + alert_record_ids: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ChangeAlertRecordsPortalNotificationAsSentPostRequestBody: + """ + 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: ChangeAlertRecordsPortalNotificationAsSentPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ChangeAlertRecordsPortalNotificationAsSentPostRequestBody() + + 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]] = { + "alertRecordIds": lambda n : setattr(self, 'alert_record_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_primitive_values("alertRecordIds", self.alert_record_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder.py new file mode 100644 index 00000000000..a0c1b3f7c2f --- /dev/null +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder.py @@ -0,0 +1,75 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .change_alert_records_portal_notification_as_sent_post_request_body import ChangeAlertRecordsPortalNotificationAsSentPostRequestBody + +class MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the changeAlertRecordsPortalNotificationAsSent method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/monitoring/alertRecords/microsoft.graph.deviceManagement.changeAlertRecordsPortalNotificationAsSent", path_parameters) + + async def post(self,body: Optional[ChangeAlertRecordsPortalNotificationAsSentPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Invoke action changeAlertRecordsPortalNotificationAsSent + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: Optional[ChangeAlertRecordsPortalNotificationAsSentPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke action changeAlertRecordsPortalNotificationAsSent + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder: + """ + 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: MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_request_body.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_request_body.py new file mode 100644 index 00000000000..9fc91cdeb4b --- /dev/null +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_request_body.py @@ -0,0 +1,56 @@ +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.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + +@dataclass +class AssignJustInTimeConfigurationPostRequestBody(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 justInTimeAssignments property + just_in_time_assignments: Optional[DeviceManagementConfigurationJustInTimeAssignmentPolicy] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AssignJustInTimeConfigurationPostRequestBody: + """ + 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: AssignJustInTimeConfigurationPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AssignJustInTimeConfigurationPostRequestBody() + + 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.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + + from .......models.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + + fields: Dict[str, Callable[[Any], None]] = { + "justInTimeAssignments": lambda n : setattr(self, 'just_in_time_assignments', n.get_object_value(DeviceManagementConfigurationJustInTimeAssignmentPolicy)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_object_value("justInTimeAssignments", self.just_in_time_assignments) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_response.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_response.py new file mode 100644 index 00000000000..9b06b18c60f --- /dev/null +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_post_response.py @@ -0,0 +1,49 @@ +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 AssignJustInTimeConfigurationPostResponse(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 value property + value: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AssignJustInTimeConfigurationPostResponse: + """ + 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: AssignJustInTimeConfigurationPostResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AssignJustInTimeConfigurationPostResponse() + + 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]] = { + "value": lambda n : setattr(self, 'value', n.get_bool_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("value", self.value) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_request_builder.py new file mode 100644 index 00000000000..55c19691cba --- /dev/null +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign_just_in_time_configuration/assign_just_in_time_configuration_request_builder.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .assign_just_in_time_configuration_post_request_body import AssignJustInTimeConfigurationPostRequestBody + from .assign_just_in_time_configuration_post_response import AssignJustInTimeConfigurationPostResponse + +class AssignJustInTimeConfigurationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the assignJustInTimeConfiguration method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new AssignJustInTimeConfigurationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignJustInTimeConfiguration", path_parameters) + + async def post(self,body: Optional[AssignJustInTimeConfigurationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[AssignJustInTimeConfigurationPostResponse]: + """ + Invoke action assignJustInTimeConfiguration + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AssignJustInTimeConfigurationPostResponse] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .assign_just_in_time_configuration_post_response import AssignJustInTimeConfigurationPostResponse + + return await self.request_adapter.send_async(request_info, AssignJustInTimeConfigurationPostResponse, error_mapping) + + def to_post_request_information(self,body: Optional[AssignJustInTimeConfigurationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke action assignJustInTimeConfiguration + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> AssignJustInTimeConfigurationRequestBuilder: + """ + 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: AssignJustInTimeConfigurationRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AssignJustInTimeConfigurationRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py index 1b64e30c18c..9208e2b4a38 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py @@ -15,8 +15,10 @@ from ......models.o_data_errors.o_data_error import ODataError from .assign.assign_request_builder import AssignRequestBuilder from .assignments.assignments_request_builder import AssignmentsRequestBuilder + from .assign_just_in_time_configuration.assign_just_in_time_configuration_request_builder import AssignJustInTimeConfigurationRequestBuilder from .create_copy.create_copy_request_builder import CreateCopyRequestBuilder from .reorder.reorder_request_builder import ReorderRequestBuilder + from .retrieve_just_in_time_configuration.retrieve_just_in_time_configuration_request_builder import RetrieveJustInTimeConfigurationRequestBuilder from .retrieve_latest_upgrade_default_baseline_policy.retrieve_latest_upgrade_default_baseline_policy_request_builder import RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder from .settings.settings_request_builder import SettingsRequestBuilder @@ -150,6 +152,15 @@ def assign(self) -> AssignRequestBuilder: return AssignRequestBuilder(self.request_adapter, self.path_parameters) + @property + def assign_just_in_time_configuration(self) -> AssignJustInTimeConfigurationRequestBuilder: + """ + Provides operations to call the assignJustInTimeConfiguration method. + """ + from .assign_just_in_time_configuration.assign_just_in_time_configuration_request_builder import AssignJustInTimeConfigurationRequestBuilder + + return AssignJustInTimeConfigurationRequestBuilder(self.request_adapter, self.path_parameters) + @property def assignments(self) -> AssignmentsRequestBuilder: """ @@ -177,6 +188,15 @@ def reorder(self) -> ReorderRequestBuilder: return ReorderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_just_in_time_configuration(self) -> RetrieveJustInTimeConfigurationRequestBuilder: + """ + Provides operations to call the retrieveJustInTimeConfiguration method. + """ + from .retrieve_just_in_time_configuration.retrieve_just_in_time_configuration_request_builder import RetrieveJustInTimeConfigurationRequestBuilder + + return RetrieveJustInTimeConfigurationRequestBuilder(self.request_adapter, self.path_parameters) + @property def retrieve_latest_upgrade_default_baseline_policy(self) -> RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_just_in_time_configuration/retrieve_just_in_time_configuration_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_just_in_time_configuration/retrieve_just_in_time_configuration_request_builder.py new file mode 100644 index 00000000000..3472845cf67 --- /dev/null +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_just_in_time_configuration/retrieve_just_in_time_configuration_request_builder.py @@ -0,0 +1,70 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from .......models.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + from .......models.o_data_errors.o_data_error import ODataError + +class RetrieveJustInTimeConfigurationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveJustInTimeConfiguration method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RetrieveJustInTimeConfigurationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveJustInTimeConfiguration", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DeviceManagementConfigurationJustInTimeAssignmentPolicy]: + """ + Invoke action retrieveJustInTimeConfiguration + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeviceManagementConfigurationJustInTimeAssignmentPolicy] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.device_management_configuration_just_in_time_assignment_policy import DeviceManagementConfigurationJustInTimeAssignmentPolicy + + return await self.request_adapter.send_async(request_info, DeviceManagementConfigurationJustInTimeAssignmentPolicy, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke action retrieveJustInTimeConfiguration + 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: Optional[str] = None) -> RetrieveJustInTimeConfigurationRequestBuilder: + """ + 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: RetrieveJustInTimeConfigurationRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveJustInTimeConfigurationRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py index 04c1bd47f2e..3fe45e88115 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_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] = None) -> None: """ - Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. + Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You can't delete an Azure network connection when it's in use, as indicated by the inUse property. 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/cloudpconpremisesconnection-delete?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CloudPcOnPremisesConnection] = None, request def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. + Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You can't delete an Azure network connection when it's in use, as indicated by the inUse property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py index eb64cca52ca..ea4c0131bed 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py @@ -46,7 +46,7 @@ def by_cloud_pc_on_premises_connection_id(self,cloud_pc_on_premises_connection_i async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CloudPcOnPremisesConnectionCollectionResponse]: """ - List properties and relationships of the cloudPcOnPremisesConnection objects. + Get a list of the cloudPcOnPremisesConnection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOnPremisesConnectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-onpremisesconnections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcOnPremisesConnection] = None, request_ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List properties and relationships of the cloudPcOnPremisesConnection objects. + Get a list of the cloudPcOnPremisesConnection objects and their properties. 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 OnPremisesConnectionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the cloudPcOnPremisesConnection objects. + Get a list of the cloudPcOnPremisesConnection objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py index 2eafd025c91..a3091858532 100644 --- a/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py index 1a42b137aca..1b168abd9ad 100644 --- a/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property bundles from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property bundles in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property bundles from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property bundles in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property bundles from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/following/following_request_builder.py b/msgraph_beta/generated/drives/item/following/following_request_builder.py index b137991564b..61769edd9f0 100644 --- a/msgraph_beta/generated/drives/item/following/following_request_builder.py +++ b/msgraph_beta/generated/drives/item/following/following_request_builder.py @@ -45,7 +45,7 @@ def by_drive_item_id(self,drive_item_id: str) -> DriveItemItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItemCollectionResponse]: """ - List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. + List the items that the signed-in user followed.This collection includes items that are in the user's drive and items they have access to from other drives. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/drive-list-following?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. + List the items that the signed-in user followed.This collection includes items that are in the user's drive and items they have access to from other drives. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FollowingRequestBuilderGetQueryParameters(): """ - List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. + List the items that the signed-in user followed.This collection includes items that are in the user's drive and items they have access to from other drives. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py index 70c331cde06..8892b721785 100644 --- a/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property following from drives 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/drive-list-following?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property following in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property following from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property following in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property following from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py index f22bd8536da..a7dfe7f3cda 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py b/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py index e49b214098e..95071f3bc04 100644 --- a/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py @@ -46,7 +46,7 @@ def by_drive_item_id1(self,drive_item_id1: str) -> DriveItemItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItemCollectionResponse]: """ - Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. + Return a collection of driveItems in the children relationship of a driveItem. DriveItems with a non-null folder or package facet can have one or more child driveItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/driveitem-list-children?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DriveItem] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. + Return a collection of driveItems in the children relationship of a driveItem. DriveItems with a non-null folder or package facet can have one or more child driveItems. 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 ChildrenRequestBuilderGetQueryParameters(): """ - Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. + Return a collection of driveItems in the children relationship of a driveItem. DriveItems with a non-null folder or package facet can have one or more child driveItems. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py index c88440d4b0f..514c5b4e821 100644 --- a/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property children from drives 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/driveitem-list-children?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property children in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property children from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property children in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property children from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py index 94c7f03d4c7..2dc507f815a 100644 --- a/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property items from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property items in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property items from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property items in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property items from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py index 7cbd8915d8a..61ce1e82c54 100644 --- a/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Permission]: """ - You can use createLink action to share a driveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. + Create a link to share a driveItem driveItem.The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -53,7 +53,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - You can use createLink action to share a driveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. + Create a link to share a driveItem driveItem.The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. 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/drive_item_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py index 70a12438298..ca7445b664c 100644 --- a/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py @@ -129,11 +129,11 @@ def get_activities_by_interval_with_start_date_time_with_end_date_time_with_inte async def patch(self,body: Optional[DriveItem] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - Update the metadata for a DriveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. + To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -187,7 +187,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[DriveItem] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the metadata for a DriveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. + To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this 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/drives/item/items/item/invite/invite_request_builder.py b/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py index 8c83d1421aa..073355b0ff9 100644 --- a/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[InvitePostResponse]: """ - Sends a sharing invitation for a DriveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. + Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InvitePostResponse] @@ -53,7 +53,7 @@ async def post(self,body: Optional[InvitePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Sends a sharing invitation for a DriveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. + Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_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 22a1feedc5d..7f07810ef53 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 @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ItemRetentionLabel] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ItemRetentionLabel]: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ItemRetentionLabel] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py b/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py index 75b0549d554..790d03bb604 100644 --- a/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py @@ -46,7 +46,7 @@ def by_thumbnail_set_id(self,thumbnail_set_id: str) -> ThumbnailSetItemRequestBu async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ThumbnailSetCollectionResponse]: """ - Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: + Retrieve a collection of thumbnailSet resources for a driveItem resource. Zero or more thumbnailSet resources can represent a driveItem.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There're many ways to work with thumbnails on OneDrive.Here are the most common ones: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThumbnailSetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/driveitem-list-thumbnails?view=graph-rest-1.0 @@ -90,7 +90,7 @@ async def post(self,body: Optional[ThumbnailSet] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: + Retrieve a collection of thumbnailSet resources for a driveItem resource. Zero or more thumbnailSet resources can represent a driveItem.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There're many ways to work with thumbnails on OneDrive.Here are the most common ones: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThumbnailsRequestBuilderGetQueryParameters(): """ - Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: + Retrieve a collection of thumbnailSet resources for a driveItem resource. Zero or more thumbnailSet resources can represent a driveItem.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There're many ways to work with thumbnails on OneDrive.Here are the most common ones: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 af9f50a1167..265fde700f9 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 @@ -28,10 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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 910593bfa14..ce349708e46 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 @@ -29,11 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[WorkbookTable]: """ - 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. + Use this API to create a new Table. 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/tablecollection-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - 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. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py index 06e3e9de58c..445dfdb9aa4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Retrieve a list of table objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/table-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-list-tables?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py index 5449bfcc1e1..b393e6210a7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Retrieve a list of chartseries objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeriesCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/series/series_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/series/series_request_builder.py index bd696a2a1f7..544fd45a6eb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/series/series_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/series/series_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Retrieve a list of chartseries objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeriesCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/series/series_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/series/series_request_builder.py index 2111e5d280f..b3aaec64b90 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/series/series_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/series/series_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Retrieve a list of chartseries objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeriesCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration 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 aeaf339e155..a14c4b3e88e 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 @@ -28,10 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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 b8f97e30191..e10fa1db465 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 @@ -29,11 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[WorkbookTable]: """ - 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. + Use this API to create a new Table. 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/tablecollection-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - 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. + Use this API to create a new Table. 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/list_/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py index 3d2b38904a4..ad868188e04 100644 --- a/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py index 851fc2486fb..4b91dc556e8 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy 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/list_/content_types/content_types_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py index f73b418ec63..9361a67ea07 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py @@ -49,7 +49,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -166,7 +166,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 82b61b8e29d..98a919e12ee 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites 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/list_/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py index 419f9b12e90..3c3bc572b06 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py index 5eb31c9a534..d9f7dbee111 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_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] = None) -> None: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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] = None) -> RequestInformation: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def source_column(self) -> SourceColumnRequestBuilder: @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index b4b1c590099..d6f5961f529 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation 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/list_/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py index fe3b4a7c811..7a08dfa1639 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/contenttype-publish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/list_/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py index 1e50884e517..6b78c194b03 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/contenttype-unpublish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/list_/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py index 9417ca239ec..c5528ebbccb 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py index f42999748c3..92689480592 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -53,7 +53,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. 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/list_/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py index 6035a19dcad..075ad0e3127 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/root/content/content_request_builder.py b/msgraph_beta/generated/drives/item/root/content/content_request_builder.py index 93fb7516683..ab0d837a7e7 100644 --- a/msgraph_beta/generated/drives/item/root/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/root/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property root from drives 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/driveitem-get?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property root in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property root from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property root in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property root from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py index be58c2473e3..f6443544b88 100644 --- a/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property special from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property special in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property special from drives param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property special in drives param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property special from drives """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/grading_schemes_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/grading_schemes_request_builder.py index c5cfe9b3403..0d123e6d8bd 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/grading_schemes_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/grading_schemes_request_builder.py @@ -46,7 +46,7 @@ def by_education_grading_scheme_id(self,education_grading_scheme_id: str) -> Edu async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[EducationGradingSchemeCollectionResponse]: """ - Get gradingSchemes from education + Read the properties and relationships of an educationGradingScheme object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationGradingSchemeCollectionResponse] """ @@ -66,10 +66,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[EducationGradingScheme] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[EducationGradingScheme]: """ - Create new navigation property to gradingSchemes for education + Create a new educationGradingScheme object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationGradingScheme] + Find more info here: https://learn.microsoft.com/graph/api/educationgradingscheme-post?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -89,7 +90,7 @@ async def post(self,body: Optional[EducationGradingScheme] = None, request_confi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get gradingSchemes from education + Read the properties and relationships of an educationGradingScheme object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -100,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[EducationGradingScheme] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to gradingSchemes for education + Create a new educationGradingScheme object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -135,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GradingSchemesRequestBuilderGetQueryParameters(): """ - Get gradingSchemes from education + Read the properties and relationships of an educationGradingScheme object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/item/education_grading_scheme_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/item/education_grading_scheme_item_request_builder.py index da0d3f8ede6..34b222ff1fe 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/item/education_grading_scheme_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/item/education_grading_scheme_item_request_builder.py @@ -29,9 +29,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Delete navigation property gradingSchemes for education + Delete an educationGradingScheme 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/educationgradingscheme-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -47,9 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[EducationGradingScheme]: """ - Get gradingSchemes from education + Read the properties and relationships of an educationGradingScheme object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationGradingScheme] + Find more info here: https://learn.microsoft.com/graph/api/educationgradingscheme-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +92,7 @@ async def patch(self,body: Optional[EducationGradingScheme] = None, request_conf def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property gradingSchemes for education + Delete an educationGradingScheme object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -101,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get gradingSchemes from education + Read the properties and relationships of an educationGradingScheme object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> EducationGradingSchemeItemRe @dataclass class EducationGradingSchemeItemRequestBuilderGetQueryParameters(): """ - Get gradingSchemes from education + Read the properties and relationships of an educationGradingScheme object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d460acafe44..5ae3e3e1bdb 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 @@ -50,11 +50,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Schema] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Schema]: """ - Update the properties of a schema for an externalConnection. + Create the 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Schema] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a schema for an externalConnection. + Create the 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 1119fe2f728..e6b03dbce03 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 @@ -46,10 +46,10 @@ def by_industry_data_connector_id(self,industry_data_connector_id: str) -> Indus async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[IndustryDataConnectorCollectionResponse]: """ - Get the industryDataConnector resources from the dataConnector navigation property. + Get a list of the azureDataLakeConnector objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnectorCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -67,11 +67,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[IndustryDataConnector]: """ - Create a new industryDataConnector 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-industrydataconnector-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -91,7 +91,7 @@ async def post(self,body: Optional[IndustryDataConnector] = None, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the industryDataConnector resources from the dataConnector navigation property. + Get a list of the azureDataLakeConnector objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new industryDataConnector 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 @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DataConnectorsRequestBuilderGetQueryParameters(): """ - Get the industryDataConnector resources from the dataConnector navigation property. + Get a list of the azureDataLakeConnector objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py index 407846cc909..95860dc39a1 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_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] = None) -> None: """ - Delete an industryDataConnector object. + Delete an azureDataLakeConnector 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/industrydata-industrydataconnector-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[IndustryDataConnector]: """ - Update the properties of an industryDataConnector object. + Update the properties of an 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-industrydataconnector-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[IndustryDataConnector] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete an industryDataConnector object. + Delete an azureDataLakeConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an industryDataConnector object. + Update the properties of an 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/inbound_flows_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py index 0952f4a9c1b..79dfab99427 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py @@ -67,11 +67,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[InboundFlow] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[InboundFlow]: """ - Create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: + Create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: 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-inboundflow-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[InboundFlow] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: + Create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: 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 53d666e321b..f960ebf0497 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 @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Delete an inboundFlow object. + Delete an inboundFileFlow 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/industrydata-inboundflow-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[InboundFlow] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[InboundFlow]: """ - Update the properties of an inboundFlow object. + Update the properties of an inboundFileFlow 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-inboundflow-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[InboundFlow] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete an inboundFlow object. + Delete an inboundFileFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[InboundFlow] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an inboundFlow object. + Update the properties of an inboundFileFlow 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/calendar/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py index 02b1680194d..b08949e536f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 9c2cf47a18d..3b7758d625b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index b8d5b4cdbba..c43bac19ddf 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py index 360be1baf34..d093bd8fced 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 990806985dc..5562544be0d 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py index 34daaa84799..a4cfc6ca525 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 23fc919032e..547e9a20319 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 3d011a5d350..e87a8afc2c5 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py index e6df0174dc3..b005baee6cc 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 5b500faae55..5d788aae9cc 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py index e8da4b19ceb..9637d6b1433 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 4fd4f50e091..a6cc40aedd9 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index f20af875165..5097dc1488d 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index 2510fc1ee68..b9ddc252063 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index b61aaae5373..0f702f3d375 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/item/conversation_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py index 9295169bbe5..d4d54711908 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[Conversation]: """ - Retrieve the properties and relationships of conversation object. + Get a group's conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -81,7 +81,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of conversation object. + Get a group's conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def threads(self) -> ThreadsRequestBuilder: @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of conversation object. + Get a group's conversation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index 16d0ce53cfd..89a81b0ae1a 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -28,11 +28,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -50,7 +50,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py index cb506d1d857..d626b2807c6 100644 --- a/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index d7eb5e32bb9..0ccc4f7ca14 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 14b1f28ec00..2e885ba84e3 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py index 158d4af024c..19ead9caeed 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 8f960351092..63fca1c4a77 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. 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 ccae2552bd1..0dc9113dc37 100644 --- a/msgraph_beta/generated/groups/item/group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_item_request_builder.py @@ -114,11 +114,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Group] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Group]: """ - Update the properties of a group object. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -160,7 +160,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a group object. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. 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/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py index 1c47eadb3ea..d5b0d900bbe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py index 77119c51f34..5ea52fe63e4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py index e312a604099..076f9c578df 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy 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/sites/item/content_types/content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py index 5eb0f18108a..0105b7e3513 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py @@ -49,7 +49,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -167,7 +167,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index d0dc6be9cd8..070bad9d17b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites 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/sites/item/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py index d67b92480d6..87d4221fefe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py index 17423ff59a2..b8568f03bd4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_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] = None) -> None: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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] = None) -> RequestInformation: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def source_column(self) -> SourceColumnRequestBuilder: @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py index fd864a0c712..0ec7aec881d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py @@ -79,7 +79,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ContentType] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Update a [content type][contentType]. + Update contentType param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [content type][contentType]. + Update contentType 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/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index d249370d559..50441e9801a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation 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/sites/item/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py index fed562624ab..e87d8a16d62 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/contenttype-publish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/sites/item/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py index 1cb8b88ec44..e1be6494316 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/contenttype-unpublish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/sites/item/get_by_path_with_path/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/columns/columns_request_builder.py index e092f385446..2ac3b134870 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/columns/columns_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -75,7 +75,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ColumnsRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py index 52a17aa71db..d40c4db40bc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentTypesRequestBuilder: @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py index bf5248a2949..ebacb45425e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -75,7 +75,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ColumnsRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py index 3dc78e510b1..28d8b1f0984 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentTypesRequestBuilder: @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py index e81bfb37eeb..e146480ce26 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py index 03721cc4854..3ba27035590 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy 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/sites/item/lists/item/content_types/content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py index f0b418b52da..679ca13f747 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py @@ -49,7 +49,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -166,7 +166,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 1245942d934..58c067ba3b9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites 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/sites/item/lists/item/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py index 62cffffbc9a..1975595b5b7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py index c578de25770..b4d1a5e383c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_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] = None) -> None: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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] = None) -> RequestInformation: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def source_column(self) -> SourceColumnRequestBuilder: @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index c36fb16af5c..8334b87c4e2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation 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/sites/item/lists/item/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py index f2b8e33aa93..84ba73030b1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/contenttype-publish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py index 48e8dc908dd..81e6e95d060 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/contenttype-unpublish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py index 15b3c198030..82d628d8ea3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py index 8cc21c63146..38ae1e9ddbe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -53,7 +53,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. 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/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py index 990b3f25c1a..1f614441604 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from groups """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py index 3ae221c381f..45d8582db43 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py @@ -46,7 +46,7 @@ def by_recycle_bin_item_id(self,recycle_bin_item_id: str) -> RecycleBinItemItemR async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[RecycleBinItemCollectionResponse]: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. + Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecycleBinItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/recyclebin-list-items?view=graph-rest-1.0 @@ -90,7 +90,7 @@ async def post(self,body: Optional[RecycleBinItem] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. + Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. + Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py index fb667dcd00e..6660fd8eb43 100644 --- a/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py index 1c66b9bd649..af6161a1757 100644 --- a/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private 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/groups/item/team/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py index a58aa31e84e..52ce1a7f122 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from groups 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from groups """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py index 8ee79931a10..149cbd0c502 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py index b11dbb0d84f..27e7e99bc10 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py index a6a002eeb48..03588d85bd0 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from groups 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in groups param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from groups """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py index 7efc0880baf..c106ee7ed05 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py index 1daa65f4250..1fa8e8a68f0 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py index 9440057e2af..2d20745a0c9 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py @@ -46,7 +46,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. 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 ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. + The shifts in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py index a31cac1ac4d..3eb26f77159 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinition]: """ - Get shiftsRoleDefinitions from groups + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinition] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from groups + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ShiftsRoleDefinitionItemRequ @dataclass class ShiftsRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from groups + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py index 3a795f4f564..acf34fe261e 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py @@ -46,7 +46,7 @@ def by_shifts_role_definition_id(self,shifts_role_definition_id: str) -> ShiftsR async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinitionCollectionResponse]: """ - Get shiftsRoleDefinitions from groups + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinitionCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[ShiftsRoleDefinition] = None, request_configu def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from groups + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from groups + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py index c7c64657c2c..1c025519218 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -46,7 +46,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. 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 TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py index bc087dc7ffb..b2f1bdbf1d2 100644 --- a/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. 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/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index fef9d08f7e0..7cc563a6a6e 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 @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Delete conversationThread. + Delete a thread 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/conversationthread-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationThread] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete conversationThread. + Delete a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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 """ @@ -161,7 +161,7 @@ def reply(self) -> ReplyRequestBuilder: @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: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py index 6d79144727a..c0eb598940c 100644 --- a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -28,11 +28,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -50,7 +50,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_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 7b787e7b5aa..68443386d87 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 @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Group] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Group]: """ - Update the properties of a group object. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a group object. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. 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/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 bdd7dfeed75..69320261f40 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 @@ -29,10 +29,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Delete a countryNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -93,7 +93,7 @@ async def patch(self,body: Optional[NamedLocation] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py index 6f126fc394e..5da92de5159 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CustomAuthenticationExtension]: """ - Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. + Read the properties and relationships of a customAuthenticationExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAuthenticationExtension] - Find more info here: https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/customauthenticationextension-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. + Read the properties and relationships of a customAuthenticationExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def validate_authentication_configuration(self) -> ValidateAuthenticationConfigu @dataclass class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. + Read the properties and relationships of a customAuthenticationExtension object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py index 61dd2dcfa3d..d8b8cc9e019 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py @@ -45,7 +45,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. + Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackagesincompatiblewith?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. + Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. + Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py index d9ad3bc8ced..ebcec32920c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py @@ -46,7 +46,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleAccessPackagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py index f8168808c8b..873a00c1897 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py index c46b20a6053..13d62cccc60 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/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] = None) -> None: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. + Add an accessPackage to the list of access packages marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -92,7 +92,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. + Add an accessPackage to the list of access packages marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -161,7 +161,7 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py index 78ee1ac6180..edd772dcc19 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py @@ -46,7 +46,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. 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/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py index a6bee223b6f..df4123c0e75 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatiblegroup?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py index bf1ceed33b1..ab90d69fcba 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/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] = None) -> None: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatiblegroup?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. + Add a group to the list of groups marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -92,7 +92,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. + Add a group to the list of groups marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -161,7 +161,7 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 c58374ebcb1..41e7deb9119 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 @@ -30,10 +30,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) request_info = self.to_delete_request_information( @@ -97,7 +97,7 @@ async def patch(self,body: Optional[CustomAccessPackageWorkflowExtension] = None def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index abd92726c8e..d63cf198a5c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AccessPackage]: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -221,7 +221,7 @@ def move_to_catalog(self) -> MoveToCatalogRequestBuilder: @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py index d84cb62df62..71ccf0be223 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py @@ -45,7 +45,7 @@ def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequ async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. + Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackagesincompatiblewith?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. + Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. + Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py index aa589a4cd54..5d76fa9e3de 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py @@ -46,7 +46,7 @@ def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequ async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleAccessPackagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py index 7caa1b15ceb..608076e0d36 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py index 8d2196b1b4c..577807d8937 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/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] = None) -> None: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. + Add an accessPackage to the list of access packages marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -92,7 +92,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. + Add an accessPackage to the list of access packages marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. + Remove an access package from the list of access packages marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -161,7 +161,7 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py index 34fcc8ace88..fddc41bc1b0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py @@ -46,7 +46,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. 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/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py index a5b9f28a32f..dbf96b99be8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatiblegroup?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py index 686e87f3cdc..3b8d71a1759 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/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] = None) -> None: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatiblegroup?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. + Add a group to the list of groups marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -92,7 +92,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. + Add a group to the list of groups marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. + Remove a group from the list of groups marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -161,7 +161,7 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. + Retrieve a list of the group objects marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py index c1772bac256..91a420d569b 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[Group]: """ - References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder @dataclass class GroupRequestBuilderGetQueryParameters(): """ - References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py index 3f6d95f5d11..3b38cccae19 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DirectoryObject]: """ - References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: @dataclass class PrincipalRequestBuilderGetQueryParameters(): """ - References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py index 991e448be12..fa9f6c94aa3 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[Group]: """ - References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder @dataclass class GroupRequestBuilderGetQueryParameters(): """ - References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py index d167436bb18..57ff48d716b 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DirectoryObject]: """ - References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: @dataclass class PrincipalRequestBuilderGetQueryParameters(): """ - References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py index 2765ba97483..9b212aeb6fa 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[Group]: """ - References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder @dataclass class GroupRequestBuilderGetQueryParameters(): """ - References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand. + References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py index 4b5a1f7d69e..42d6233267c 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DirectoryObject]: """ - References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: @dataclass class PrincipalRequestBuilderGetQueryParameters(): """ - References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. + References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 34a5469e858..1e876cb7ec4 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 @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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 """ @@ -171,7 +171,7 @@ def files(self) -> FilesRequestBuilder: @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: Optional[str] = None) -> 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 c5c0afb64ee..2baae2b9b0f 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 @@ -48,10 +48,10 @@ def by_risky_user_id(self,risky_user_id: str) -> RiskyUserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: Optional[RiskyUser] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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 """ @@ -156,7 +156,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: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index 2cd0d28eb74..8105cbfc390 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "F3E1C7DF7BE6C33263B10E0783BE7327166206498BFCA86ECB39DCF1F4C28CF74A0D3B35C585D59C774652347A9506B9082D33E7A5D7CBE6473CB3FA4B4FC080", + "descriptionHash": "32622A97BC5D060C74E1711AEA0737A4E4B23DF98C431EBC5E2F6141D426FFD1559E12A7BF6C09043397D0ABDA700D26D9CE8BC6046F7626A9973572F1E71B60", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.12.0", + "kiotaVersion": "1.13.0", "clientClassName": "BaseGraphServiceClient", "clientNamespaceName": "msgraph_beta.generated", "language": "Python", diff --git a/msgraph_beta/generated/models/aggregation_option.py b/msgraph_beta/generated/models/aggregation_option.py index c776672c98f..879cad8de9f 100644 --- a/msgraph_beta/generated/models/aggregation_option.py +++ b/msgraph_beta/generated/models/aggregation_option.py @@ -16,11 +16,11 @@ class AggregationOption(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The bucketDefinition property bucket_definition: Optional[BucketAggregationDefinition] = None - # Computes aggregation on the field while the field exists in current entity type. Required. + # Computes aggregation on the field while the field exists in the current entity type. Required. field: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. Optional. + # The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. The minimum accepted size is 1, and the maximum is 65535. Optional. size: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py index 3b44a8a2a11..c3d1eff2fe6 100644 --- a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py +++ b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py @@ -62,7 +62,7 @@ class AndroidDeviceOwnerCompliancePolicy(DeviceCompliancePolicy): security_require_safety_net_attestation_basic_integrity: Optional[bool] = None # Require the device to pass the Play Integrity device integrity check. security_require_safety_net_attestation_certified_device: Optional[bool] = None - # Require a specific Play Integrity evaluation type for compliance. + # Require a specific Play Integrity evaluation type for compliance. Possible values are: basic, hardwareBacked. security_required_android_safety_net_evaluation_type: Optional[AndroidSafetyNetEvaluationType] = None # Require encryption on Android devices. storage_require_encryption: Optional[bool] = None diff --git a/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py b/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py index 1736baff747..714e345dfc1 100644 --- a/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py @@ -23,7 +23,7 @@ class AndroidDeviceOwnerWiFiConfiguration(DeviceConfiguration): connect_automatically: Optional[bool] = None # When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. connect_when_network_name_is_hidden: Optional[bool] = None - # The MAC address randomization mode for Android device Wi-Fi configuration. Possible values include automatic and hardware. Default value is automatic. + # The MAC address randomization mode for Android device Wi-Fi configuration. Possible values include automatic and hardware. Default value is automatic. Possible values are: automatic, hardware, unknownFutureValue. mac_address_randomization_mode: Optional[MacAddressRandomizationMode] = None # Network Name network_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/android_for_work_app.py b/msgraph_beta/generated/models/android_for_work_app.py index f6688898559..f8821154b93 100644 --- a/msgraph_beta/generated/models/android_for_work_app.py +++ b/msgraph_beta/generated/models/android_for_work_app.py @@ -15,11 +15,11 @@ class AndroidForWorkApp(MobileApp): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.androidForWorkApp" - # The Identity Name. + # The Identity Name. This property is read-only. app_identifier: Optional[str] = None # The Play for Work Store app URL. app_store_url: Optional[str] = None - # The package identifier. + # The package identifier. This property is read-only. package_id: Optional[str] = None # The total number of VPP licenses. total_license_count: Optional[int] = None @@ -66,9 +66,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_str_value("appIdentifier", self.app_identifier) writer.write_str_value("appStoreUrl", self.app_store_url) - writer.write_str_value("packageId", self.package_id) writer.write_int_value("totalLicenseCount", self.total_license_count) writer.write_int_value("usedLicenseCount", self.used_license_count) diff --git a/msgraph_beta/generated/models/android_managed_app_protection.py b/msgraph_beta/generated/models/android_managed_app_protection.py index 2f3de1c9002..12c7803a2bf 100644 --- a/msgraph_beta/generated/models/android_managed_app_protection.py +++ b/msgraph_beta/generated/models/android_managed_app_protection.py @@ -26,7 +26,7 @@ class AndroidManagedAppProtection(TargetedManagedAppProtection): allowed_android_device_manufacturers: Optional[str] = None # List of device models allowed, as a string, for the managed app to work. allowed_android_device_models: Optional[List[str]] = None - # Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). + # Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). Possible values are: block, wipe, warn. app_action_if_account_is_clocked_out: Optional[ManagedAppRemediationAction] = None # An admin initiated action to be applied on a managed app. app_action_if_android_device_manufacturer_not_allowed: Optional[ManagedAppRemediationAction] = None @@ -38,13 +38,13 @@ class AndroidManagedAppProtection(TargetedManagedAppProtection): app_action_if_android_safety_net_device_attestation_failed: Optional[ManagedAppRemediationAction] = None # An admin initiated action to be applied on a managed app. app_action_if_device_lock_not_set: Optional[ManagedAppRemediationAction] = None - # If the device does not have a passcode of high complexity or higher, trigger the stored action. + # If the device does not have a passcode of high complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. app_action_if_device_passcode_complexity_less_than_high: Optional[ManagedAppRemediationAction] = None - # If the device does not have a passcode of low complexity or higher, trigger the stored action. + # If the device does not have a passcode of low complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. app_action_if_device_passcode_complexity_less_than_low: Optional[ManagedAppRemediationAction] = None - # If the device does not have a passcode of medium complexity or higher, trigger the stored action. + # If the device does not have a passcode of medium complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. app_action_if_device_passcode_complexity_less_than_medium: Optional[ManagedAppRemediationAction] = None - # Defines the behavior of a managed app when Samsung Knox Attestation is required. Possible values are null, warn, block & wipe. If the admin does not set this action, the default is null, which indicates this setting is not configured. + # Defines the behavior of a managed app when Samsung Knox Attestation is required. Possible values are null, warn, block & wipe. If the admin does not set this action, the default is null, which indicates this setting is not configured. Possible values are: block, wipe, warn. app_action_if_samsung_knox_attestation_required: Optional[ManagedAppRemediationAction] = None # If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name approved_keyboards: Optional[List[KeyValuePair]] = None @@ -56,9 +56,9 @@ class AndroidManagedAppProtection(TargetedManagedAppProtection): block_after_company_portal_update_deferral_in_days: Optional[int] = None # Whether the app should connect to the configured VPN on launch. connect_to_vpn_on_launch: Optional[bool] = None - # Friendly name of the preferred custom browser to open weblink on Android. + # Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_display_name: Optional[str] = None - # Unique identifier of a custom browser to open weblink on Android. + # Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_package_id: Optional[str] = None # Friendly name of a custom dialer app to click-to-open a phone number on Android. custom_dialer_app_display_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/android_managed_store_app.py b/msgraph_beta/generated/models/android_managed_store_app.py index 83ddc439eeb..badd1455df6 100644 --- a/msgraph_beta/generated/models/android_managed_store_app.py +++ b/msgraph_beta/generated/models/android_managed_store_app.py @@ -19,21 +19,21 @@ class AndroidManagedStoreApp(MobileApp): odata_type: Optional[str] = "#microsoft.graph.androidManagedStoreApp" # The Identity Name. app_identifier: Optional[str] = None - # The Play for Work Store app URL. + # The Play for Work Store app URL. This property is read-only. app_store_url: Optional[str] = None - # The tracks that are visible to this enterprise. + # The tracks that are visible to this enterprise. This property is read-only. app_tracks: Optional[List[AndroidManagedStoreAppTrack]] = None - # Indicates whether the app is only available to a given enterprise's users. + # Indicates whether the app is only available to a given enterprise's users. This property is read-only. is_private: Optional[bool] = None # Indicates whether the app is a preinstalled system app. is_system_app: Optional[bool] = None - # The package identifier. + # The package identifier. This property is read-only. package_id: Optional[str] = None - # Whether this app supports OEMConfig policy. + # Whether this app supports OEMConfig policy. This property is read-only. supports_oem_config: Optional[bool] = None - # The total number of VPP licenses. + # The total number of VPP licenses. This property is read-only. total_license_count: Optional[int] = None - # The number of VPP licenses in use. + # The number of VPP licenses in use. This property is read-only. used_license_count: Optional[int] = None @staticmethod @@ -93,13 +93,6 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("appIdentifier", self.app_identifier) - writer.write_str_value("appStoreUrl", self.app_store_url) - writer.write_collection_of_object_values("appTracks", self.app_tracks) - writer.write_bool_value("isPrivate", self.is_private) writer.write_bool_value("isSystemApp", self.is_system_app) - writer.write_str_value("packageId", self.package_id) - writer.write_bool_value("supportsOemConfig", self.supports_oem_config) - writer.write_int_value("totalLicenseCount", self.total_license_count) - writer.write_int_value("usedLicenseCount", self.used_license_count) diff --git a/msgraph_beta/generated/models/android_managed_store_app_configuration.py b/msgraph_beta/generated/models/android_managed_store_app_configuration.py index 51449527a36..396c6bfe429 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_configuration.py +++ b/msgraph_beta/generated/models/android_managed_store_app_configuration.py @@ -17,7 +17,7 @@ class AndroidManagedStoreAppConfiguration(ManagedDeviceMobileAppConfiguration): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.androidManagedStoreAppConfiguration" - # Whether or not this AppConfig is an OEMConfig policy. + # Whether or not this AppConfig is an OEMConfig policy. This property is read-only. app_supports_oem_config: Optional[bool] = None # Setting to specify whether to allow ConnectedApps experience for this app. connected_apps_enabled: Optional[bool] = None @@ -75,7 +75,6 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_bool_value("appSupportsOemConfig", self.app_supports_oem_config) writer.write_bool_value("connectedAppsEnabled", self.connected_apps_enabled) writer.write_str_value("packageId", self.package_id) writer.write_str_value("payloadJson", self.payload_json) diff --git a/msgraph_beta/generated/models/android_managed_store_app_track.py b/msgraph_beta/generated/models/android_managed_store_app_track.py index 68a9d338578..35a905b1156 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_track.py +++ b/msgraph_beta/generated/models/android_managed_store_app_track.py @@ -16,9 +16,9 @@ class AndroidManagedStoreAppTrack(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # Friendly name for track. + # Friendly name for track. This property is read-only. track_alias: Optional[str] = None - # Unique track identifier. + # Unique track identifier. This property is read-only. track_id: Optional[str] = None @staticmethod @@ -53,8 +53,6 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_str_value("@odata.type", self.odata_type) - writer.write_str_value("trackAlias", self.track_alias) - writer.write_str_value("trackId", self.track_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/android_store_app.py b/msgraph_beta/generated/models/android_store_app.py index 5d95d4ae4cb..8bd7784dfb8 100644 --- a/msgraph_beta/generated/models/android_store_app.py +++ b/msgraph_beta/generated/models/android_store_app.py @@ -16,13 +16,13 @@ class AndroidStoreApp(MobileApp): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.androidStoreApp" - # The Identity Name. + # The Identity Name. This property is read-only. app_identifier: Optional[str] = None # The Android app store URL. app_store_url: Optional[str] = None # The value for the minimum applicable operating system. minimum_supported_operating_system: Optional[AndroidMinimumOperatingSystem] = None - # The package identifier. + # The package identifier. This property is read-only. package_id: Optional[str] = None @staticmethod @@ -66,9 +66,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_str_value("appIdentifier", self.app_identifier) writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) - writer.write_str_value("packageId", self.package_id) diff --git a/msgraph_beta/generated/models/application.py b/msgraph_beta/generated/models/application.py index 895838c1e8b..faf339c3fa6 100644 --- a/msgraph_beta/generated/models/application.py +++ b/msgraph_beta/generated/models/application.py @@ -58,9 +58,9 @@ class Application(DirectoryObject): created_date_time: Optional[datetime.datetime] = None # Supports $filter (/$count eq 0, /$count ne 0). Read-only. created_on_behalf_of: Optional[DirectoryObject] = None - # The default redirect URI. If specified and there is no explicit redirect URI in the sign-in request for SAML and OIDC flows, Microsoft Entra ID sends the token to this redirect URI. Microsoft Entra ID also sends the token to this default URI in SAML IdP-initiated single sign-on. The value must match one of the configured redirect URIs for the application. + # The default redirect URI. If specified and there's no explicit redirect URI in the sign-in request for SAML and OIDC flows, Microsoft Entra ID sends the token to this redirect URI. Microsoft Entra ID also sends the token to this default URI in SAML IdP-initiated single sign-on. The value must match one of the configured redirect URIs for the application. default_redirect_uri: Optional[str] = None - # Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + # Free text field to provide a description of the application object to end users. The maximum allowed size is 1,024 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. 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 @@ -74,13 +74,13 @@ class Application(DirectoryObject): group_membership_claims: Optional[str] = None # The homeRealmDiscoveryPolicies property home_realm_discovery_policies: Optional[List[HomeRealmDiscoveryPolicy]] = None - # Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + # Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). identifier_uris: Optional[List[str]] = None # Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Microsoft Entra apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). info: Optional[InformationalUrl] = None # Specifies whether this application supports device authentication without a user. The default is false. is_device_only_auth_supported: Optional[bool] = None - # Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID cannot determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. + # Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. is_fallback_public_client: Optional[bool] = None # The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le). key_credentials: Optional[List[KeyCredential]] = None @@ -110,7 +110,7 @@ class Application(DirectoryObject): saml_metadata_url: Optional[str] = None # References application or service contact information from a Service or Asset Management database. Nullable. service_management_reference: Optional[str] = None - # Specifies whether sensitive properties of a multi-tenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default. + # Specifies whether sensitive properties of a multitenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default. service_principal_lock_configuration: Optional[ServicePrincipalLockConfiguration] = None # Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you may need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not). sign_in_audience: Optional[str] = None @@ -118,7 +118,7 @@ class Application(DirectoryObject): spa: Optional[SpaApplication] = None # Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. synchronization: Optional[Synchronization] = None - # Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith) and $search. + # Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith) and $search. tags: Optional[List[str]] = None # Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. token_encryption_key_id: Optional[UUID] = None @@ -126,7 +126,7 @@ class Application(DirectoryObject): token_issuance_policies: Optional[List[TokenIssuancePolicy]] = None # The tokenLifetimePolicies assigned to this application. Supports $expand. token_lifetime_policies: Optional[List[TokenLifetimePolicy]] = None - # The unique identifier that can be assigned to an application as an alternative identifier. Immutable. Read-only. + # The unique identifier that can be assigned to an application and used as an alternate key. Immutable. Read-only. unique_name: Optional[str] = None # Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification. verified_publisher: Optional[VerifiedPublisher] = None diff --git a/msgraph_beta/generated/models/application_detail.py b/msgraph_beta/generated/models/application_detail.py index 36d88d3db8b..ee423f8854f 100644 --- a/msgraph_beta/generated/models/application_detail.py +++ b/msgraph_beta/generated/models/application_detail.py @@ -30,7 +30,7 @@ class ApplicationDetail(AdditionalDataHolder, BackedModel, Parsable): product_name: Optional[str] = None # The product version of the application for which elevation request has been made. For example, '2.40.1.0' product_version: Optional[str] = None - # The list of base64 encoded certificate for each signer, for example, string[encoded_leaf_cert1, encoded_leaf_cert2....] + # The list of base64 encoded certificate for each signer, for example, string[encodedleafcert1, encodedleafcert2....] publisher_cert: Optional[str] = None # The certificate issuer name of the certificate used to sign the application, for example, 'Sectigo Public Code Signing CA R36' publisher_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/attack_simulation_root.py b/msgraph_beta/generated/models/attack_simulation_root.py index f50bbe6e063..32e227a5325 100644 --- a/msgraph_beta/generated/models/attack_simulation_root.py +++ b/msgraph_beta/generated/models/attack_simulation_root.py @@ -13,6 +13,7 @@ from .simulation import Simulation from .simulation_automation import SimulationAutomation from .training import Training + from .training_campaign import TrainingCampaign from .entity import Entity @@ -34,6 +35,8 @@ class AttackSimulationRoot(Entity): simulation_automations: Optional[List[SimulationAutomation]] = None # Represents an attack simulation training campaign in a tenant. simulations: Optional[List[Simulation]] = None + # The trainingCampaigns property + training_campaigns: Optional[List[TrainingCampaign]] = None # Represents details about attack simulation trainings. trainings: Optional[List[Training]] = None @@ -62,6 +65,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .simulation import Simulation from .simulation_automation import SimulationAutomation from .training import Training + from .training_campaign import TrainingCampaign from .attack_simulation_operation import AttackSimulationOperation from .end_user_notification import EndUserNotification @@ -72,6 +76,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .simulation import Simulation from .simulation_automation import SimulationAutomation from .training import Training + from .training_campaign import TrainingCampaign fields: Dict[str, Callable[[Any], None]] = { "endUserNotifications": lambda n : setattr(self, 'end_user_notifications', n.get_collection_of_object_values(EndUserNotification)), @@ -81,6 +86,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "payloads": lambda n : setattr(self, 'payloads', n.get_collection_of_object_values(Payload)), "simulationAutomations": lambda n : setattr(self, 'simulation_automations', n.get_collection_of_object_values(SimulationAutomation)), "simulations": lambda n : setattr(self, 'simulations', n.get_collection_of_object_values(Simulation)), + "trainingCampaigns": lambda n : setattr(self, 'training_campaigns', n.get_collection_of_object_values(TrainingCampaign)), "trainings": lambda n : setattr(self, 'trainings', n.get_collection_of_object_values(Training)), } super_fields = super().get_field_deserializers() @@ -103,6 +109,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("payloads", self.payloads) writer.write_collection_of_object_values("simulationAutomations", self.simulation_automations) writer.write_collection_of_object_values("simulations", self.simulations) + writer.write_collection_of_object_values("trainingCampaigns", self.training_campaigns) writer.write_collection_of_object_values("trainings", self.trainings) diff --git a/msgraph_beta/generated/models/authorization_policy.py b/msgraph_beta/generated/models/authorization_policy.py index d6868591e81..afd3568e0fc 100644 --- a/msgraph_beta/generated/models/authorization_policy.py +++ b/msgraph_beta/generated/models/authorization_policy.py @@ -18,15 +18,15 @@ class AuthorizationPolicy(PolicyBase): odata_type: Optional[str] = "#microsoft.graph.authorizationPolicy" # Indicates whether a user can join the tenant by email validation. allow_email_verified_users_to_join_organization: Optional[bool] = None - # Indicates who can invite guests to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below. + # Indicates who can invite guests to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. allow_invites_from: Optional[AllowInvitesFrom] = None # Indicates whether user consent for risky apps is allowed. Default value is false. We recommend that you keep the value set to false. allow_user_consent_for_risky_apps: Optional[bool] = None # Indicates whether users can sign up for email based subscriptions. allowed_to_sign_up_email_based_subscriptions: Optional[bool] = None - # Indicates whether users can use the Self-Service Password Reset feature on the tenant. + # Indicates whether administrators of the tenant can use the Self-Service Password Reset (SSPR). For more information, see Self-service password reset for administrators. allowed_to_use_s_s_p_r: Optional[bool] = None - # To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This doesn't affect Microsoft Entra Connect or Microsoft Graph. + # To disable the use of the MSOnline PowerShell module set this property to true. This also disables user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This doesn't affect Microsoft Entra Connect or Microsoft Graph. block_msol_power_shell: Optional[bool] = None # The defaultUserRoleOverrides property default_user_role_overrides: Optional[List[DefaultUserRoleOverride]] = None diff --git a/msgraph_beta/generated/models/booking_appointment.py b/msgraph_beta/generated/models/booking_appointment.py index 3a5f1a34f3f..7fdcddbccaf 100644 --- a/msgraph_beta/generated/models/booking_appointment.py +++ b/msgraph_beta/generated/models/booking_appointment.py @@ -24,9 +24,9 @@ class BookingAppointment(Entity): additional_information: Optional[str] = None # The URL of the meeting to join anonymously. anonymous_join_web_url: Optional[str] = None - # Custom label that can be stamped on this appointment by the user. + # The user can stamp a custom label on the appointment. appointment_label: Optional[str] = None - # The date, time and timezone when the appointment was created. + # The date, time, and timezone when the appointment was created. created_date_time: Optional[datetime.datetime] = None # The SMTP address of the bookingCustomer who is booking the appointment. customer_email_address: Optional[str] = None @@ -60,9 +60,9 @@ class BookingAppointment(Entity): invoice_status: Optional[BookingInvoiceStatus] = None # The URL of the invoice in Microsoft Bookings. invoice_url: Optional[str] = None - # The isCustomerAllowedToManageBooking property + # Indicates that the customer can manage bookings created by the staff. The default value is false. is_customer_allowed_to_manage_booking: Optional[bool] = None - # True indicates that the appointment will be held online. Default value is false. + # Indicates that the appointment is held online. The default value is false. is_location_online: Optional[bool] = None # The URL of the online meeting for the appointment. join_web_url: Optional[str] = None @@ -86,7 +86,7 @@ class BookingAppointment(Entity): price_type: Optional[BookingPriceType] = None # The collection of customer reminders sent for this appointment. The value of this property is available only when reading this bookingAppointment by its ID. reminders: Optional[List[BookingReminder]] = None - # An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. + # Another tracking ID for the appointment, if the appointment was created directly by the customer on the scheduling page, as opposed to by a staff member on behalf of customer. self_service_appointment_id: Optional[str] = None # The ID of the bookingService associated with this appointment. service_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/booking_scheduling_policy.py b/msgraph_beta/generated/models/booking_scheduling_policy.py index 17112c65c41..3afdfc27023 100644 --- a/msgraph_beta/generated/models/booking_scheduling_policy.py +++ b/msgraph_beta/generated/models/booking_scheduling_policy.py @@ -21,9 +21,9 @@ class BookingSchedulingPolicy(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # True if to allow customers to choose a specific person for the booking. allow_staff_selection: Optional[bool] = None - # collection of custom availabilities for a given time range. + # Custom availability of the service in a given time frame of the service. custom_availabilities: Optional[List[BookingsAvailabilityWindow]] = None - # General availability + # General availability of the service defined by the scheduling policy. general_availability: Optional[BookingsAvailability] = None # Indicates if the meeting invite is sent to the customers. The default value is false is_meeting_invite_to_customers_enabled: Optional[bool] = None diff --git a/msgraph_beta/generated/models/booking_service.py b/msgraph_beta/generated/models/booking_service.py index 119ae5fff90..9b169327c42 100644 --- a/msgraph_beta/generated/models/booking_service.py +++ b/msgraph_beta/generated/models/booking_service.py @@ -41,7 +41,7 @@ class BookingService(BookingNamedEntity): description: Optional[str] = None # Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false. is_anonymous_join_enabled: Optional[bool] = None - # The isCustomerAllowedToManageBooking property + # Indicates that the customer can manage bookings created by the staff. The default value is false. is_customer_allowed_to_manage_booking: Optional[bool] = None # True means this service isn't available to customers for booking. is_hidden_from_customers: Optional[bool] = None diff --git a/msgraph_beta/generated/models/bookings_availability.py b/msgraph_beta/generated/models/bookings_availability.py index f63f9162e7d..1cbf1701c44 100644 --- a/msgraph_beta/generated/models/bookings_availability.py +++ b/msgraph_beta/generated/models/bookings_availability.py @@ -18,7 +18,7 @@ class BookingsAvailability(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The availabilityType property availability_type: Optional[BookingsServiceAvailabilityType] = None - # The hours of operation in a week. This is set to null if the availability type is not customWeeklyHours + # The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours. business_hours: Optional[List[BookingWorkHours]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/bookings_availability_window.py b/msgraph_beta/generated/models/bookings_availability_window.py index 96126b29336..7414733d23f 100644 --- a/msgraph_beta/generated/models/bookings_availability_window.py +++ b/msgraph_beta/generated/models/bookings_availability_window.py @@ -13,9 +13,9 @@ class BookingsAvailabilityWindow(BookingsAvailability): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.bookingsAvailabilityWindow" - # Allow customers to end date of availability window. + # End date of the availability window. end_date: Optional[datetime.date] = None - # Allow customers to start date of availability window. + # Start date of the availability window. start_date: Optional[datetime.date] = None @staticmethod diff --git a/msgraph_beta/generated/models/call_records/administrative_unit_info.py b/msgraph_beta/generated/models/call_records/administrative_unit_info.py new file mode 100644 index 00000000000..d5ffb616642 --- /dev/null +++ b/msgraph_beta/generated/models/call_records/administrative_unit_info.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class AdministrativeUnitInfo(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # Unique identifier for the administrative unit. + id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AdministrativeUnitInfo: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AdministrativeUnitInfo + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AdministrativeUnitInfo() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + fields: Dict[str, Callable[[Any], None]] = { + "id": lambda n : setattr(self, 'id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("id", self.id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/call_records/call_log_row.py b/msgraph_beta/generated/models/call_records/call_log_row.py new file mode 100644 index 00000000000..bc1d4ffbe02 --- /dev/null +++ b/msgraph_beta/generated/models/call_records/call_log_row.py @@ -0,0 +1,105 @@ +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 .administrative_unit_info import AdministrativeUnitInfo + from .direct_routing_log_row import DirectRoutingLogRow + from .pstn_call_log_row import PstnCallLogRow + from .sms_log_row import SmsLogRow + +@dataclass +class CallLogRow(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 administrativeUnitInfos property + administrative_unit_infos: Optional[List[AdministrativeUnitInfo]] = None + # The id property + id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The otherPartyCountryCode property + other_party_country_code: Optional[str] = None + # The userDisplayName property + user_display_name: Optional[str] = None + # The userId property + user_id: Optional[str] = None + # The userPrincipalName property + user_principal_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CallLogRow: + """ + 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: CallLogRow + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.directRoutingLogRow".casefold(): + from .direct_routing_log_row import DirectRoutingLogRow + + return DirectRoutingLogRow() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.pstnCallLogRow".casefold(): + from .pstn_call_log_row import PstnCallLogRow + + return PstnCallLogRow() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.smsLogRow".casefold(): + from .sms_log_row import SmsLogRow + + return SmsLogRow() + return CallLogRow() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .administrative_unit_info import AdministrativeUnitInfo + from .direct_routing_log_row import DirectRoutingLogRow + from .pstn_call_log_row import PstnCallLogRow + from .sms_log_row import SmsLogRow + + from .administrative_unit_info import AdministrativeUnitInfo + from .direct_routing_log_row import DirectRoutingLogRow + from .pstn_call_log_row import PstnCallLogRow + from .sms_log_row import SmsLogRow + + fields: Dict[str, Callable[[Any], None]] = { + "administrativeUnitInfos": lambda n : setattr(self, 'administrative_unit_infos', n.get_collection_of_object_values(AdministrativeUnitInfo)), + "id": lambda n : setattr(self, 'id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "otherPartyCountryCode": lambda n : setattr(self, 'other_party_country_code', n.get_str_value()), + "userDisplayName": lambda n : setattr(self, 'user_display_name', n.get_str_value()), + "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), + "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("administrativeUnitInfos", self.administrative_unit_infos) + writer.write_str_value("id", self.id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("otherPartyCountryCode", self.other_party_country_code) + writer.write_str_value("userDisplayName", self.user_display_name) + writer.write_str_value("userId", self.user_id) + writer.write_str_value("userPrincipalName", self.user_principal_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/call_records/direct_routing_log_row.py b/msgraph_beta/generated/models/call_records/direct_routing_log_row.py index 8ff92460fc3..b07680ced91 100644 --- a/msgraph_beta/generated/models/call_records/direct_routing_log_row.py +++ b/msgraph_beta/generated/models/call_records/direct_routing_log_row.py @@ -1,39 +1,36 @@ from __future__ import annotations import datetime from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union -@dataclass -class DirectRoutingLogRow(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) +if TYPE_CHECKING: + from .call_log_row import CallLogRow + +from .call_log_row import CallLogRow - # 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) +@dataclass +class DirectRoutingLogRow(CallLogRow): # In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue. call_end_sub_reason: Optional[int] = None # Call type and direction. call_type: Optional[str] = None - # Number of the user or bot who received the call (E.164 format, but may include more data). + # Number of the user or bot who received the call (E.164 format, but might include more data). callee_number: Optional[str] = None - # Number of the user or bot who made the call (E.164 format, but may include more data). + # Number of the user or bot who made the call (E.164 format, but might include more data). caller_number: Optional[str] = None # Identifier (GUID) for the call that you can use when calling Microsoft Support. correlation_id: Optional[str] = None # Duration of the call in seconds. duration: Optional[int] = None - # Only exists for successful (fully established) calls. Time when call ended. + # Only exists for successful (fully established) calls. The time when the call ended. end_date_time: Optional[datetime.datetime] = None # Only exists for failed (not fully established) calls. failure_date_time: Optional[datetime.datetime] = None - # The code with which the call ended (RFC 3261). + # The final response code with which the call ended (RFC 3261). final_sip_code: Optional[int] = None # Description of the SIP code and Microsoft subcode. final_sip_code_phrase: Optional[str] = None - # Unique call identifier (GUID). - id: Optional[str] = None # The date and time when the initial invite was sent. invite_date_time: Optional[datetime.datetime] = None # Indicates if the trunk was enabled for media bypass or not. @@ -42,24 +39,18 @@ class DirectRoutingLogRow(AdditionalDataHolder, BackedModel, Parsable): media_path_location: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Country code of the caller for an incoming call, or callee for an outgoing call. For details, see ISO 3166-1 alpha-2. - other_party_country_code: Optional[str] = None # The data center used for signaling for both bypass and non-bypass calls. signaling_location: Optional[str] = None - # Call start time.For failed and unanswered calls, this can be equal to invite or failure time. + # Call start time.For failed and unanswered calls, this value can be equal to invite or failure time. start_date_time: Optional[datetime.datetime] = None # Success or attempt. successful_call: Optional[bool] = None + # Correlation ID of the call to the transferor. + transferor_correlation_id: Optional[str] = None # Fully qualified domain name of the session border controller. trunk_fully_qualified_domain_name: Optional[str] = None - # Country code of the user. For details, see ISO 3166-1 alpha-2. + # Country/region code of the user. For details, see ISO 3166-1 alpha-2. user_country_code: Optional[str] = None - # Display name of the user. - user_display_name: Optional[str] = None - # The unique identifier (GUID) of the user in Microsoft Entra ID. This and other user info is null/empty for bot call types. - user_id: Optional[str] = None - # The user principal name (sign-in name) in Microsoft Entra ID, is usually the same as the user's SIP address, and can be same as the user's e-mail address. - user_principal_name: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DirectRoutingLogRow: @@ -77,6 +68,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .call_log_row import CallLogRow + + from .call_log_row import CallLogRow + fields: Dict[str, Callable[[Any], None]] = { "callEndSubReason": lambda n : setattr(self, 'call_end_sub_reason', n.get_int_value()), "callType": lambda n : setattr(self, 'call_type', n.get_str_value()), @@ -88,21 +83,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "failureDateTime": lambda n : setattr(self, 'failure_date_time', n.get_datetime_value()), "finalSipCode": lambda n : setattr(self, 'final_sip_code', n.get_int_value()), "finalSipCodePhrase": lambda n : setattr(self, 'final_sip_code_phrase', n.get_str_value()), - "id": lambda n : setattr(self, 'id', n.get_str_value()), "inviteDateTime": lambda n : setattr(self, 'invite_date_time', n.get_datetime_value()), "mediaBypassEnabled": lambda n : setattr(self, 'media_bypass_enabled', n.get_bool_value()), "mediaPathLocation": lambda n : setattr(self, 'media_path_location', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "otherPartyCountryCode": lambda n : setattr(self, 'other_party_country_code', n.get_str_value()), "signalingLocation": lambda n : setattr(self, 'signaling_location', n.get_str_value()), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), "successfulCall": lambda n : setattr(self, 'successful_call', n.get_bool_value()), + "transferorCorrelationId": lambda n : setattr(self, 'transferor_correlation_id', n.get_str_value()), "trunkFullyQualifiedDomainName": lambda n : setattr(self, 'trunk_fully_qualified_domain_name', n.get_str_value()), "userCountryCode": lambda n : setattr(self, 'user_country_code', n.get_str_value()), - "userDisplayName": lambda n : setattr(self, 'user_display_name', n.get_str_value()), - "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), - "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -113,6 +105,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_int_value("callEndSubReason", self.call_end_sub_reason) writer.write_str_value("callType", self.call_type) writer.write_str_value("calleeNumber", self.callee_number) @@ -123,20 +116,14 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("failureDateTime", self.failure_date_time) writer.write_int_value("finalSipCode", self.final_sip_code) writer.write_str_value("finalSipCodePhrase", self.final_sip_code_phrase) - writer.write_str_value("id", self.id) writer.write_datetime_value("inviteDateTime", self.invite_date_time) writer.write_bool_value("mediaBypassEnabled", self.media_bypass_enabled) writer.write_str_value("mediaPathLocation", self.media_path_location) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_str_value("otherPartyCountryCode", self.other_party_country_code) writer.write_str_value("signalingLocation", self.signaling_location) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_bool_value("successfulCall", self.successful_call) + writer.write_str_value("transferorCorrelationId", self.transferor_correlation_id) writer.write_str_value("trunkFullyQualifiedDomainName", self.trunk_fully_qualified_domain_name) writer.write_str_value("userCountryCode", self.user_country_code) - writer.write_str_value("userDisplayName", self.user_display_name) - writer.write_str_value("userId", self.user_id) - writer.write_str_value("userPrincipalName", self.user_principal_name) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/call_records/participant_base.py b/msgraph_beta/generated/models/call_records/participant_base.py index 363a274a282..0e858e4b73f 100644 --- a/msgraph_beta/generated/models/call_records/participant_base.py +++ b/msgraph_beta/generated/models/call_records/participant_base.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..communications_identity_set import CommunicationsIdentitySet from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo from .organizer import Organizer from .participant import Participant @@ -13,6 +14,8 @@ @dataclass class ParticipantBase(Entity): + # List of administrativeUnitInfo of the call participant. + administrative_unit_infos: Optional[List[AdministrativeUnitInfo]] = None # The identity of the call participant. identity: Optional[CommunicationsIdentitySet] = None # The OdataType property @@ -48,15 +51,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from ..communications_identity_set import CommunicationsIdentitySet from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo from .organizer import Organizer from .participant import Participant from ..communications_identity_set import CommunicationsIdentitySet from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo from .organizer import Organizer from .participant import Participant fields: Dict[str, Callable[[Any], None]] = { + "administrativeUnitInfos": lambda n : setattr(self, 'administrative_unit_infos', n.get_collection_of_object_values(AdministrativeUnitInfo)), "identity": lambda n : setattr(self, 'identity', n.get_object_value(CommunicationsIdentitySet)), } super_fields = super().get_field_deserializers() @@ -72,6 +78,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_collection_of_object_values("administrativeUnitInfos", self.administrative_unit_infos) writer.write_object_value("identity", self.identity) diff --git a/msgraph_beta/generated/models/call_records/pstn_call_log_row.py b/msgraph_beta/generated/models/call_records/pstn_call_log_row.py index 71f3e27f3c8..58da35518f3 100644 --- a/msgraph_beta/generated/models/call_records/pstn_call_log_row.py +++ b/msgraph_beta/generated/models/call_records/pstn_call_log_row.py @@ -1,20 +1,17 @@ from __future__ import annotations import datetime from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .call_log_row import CallLogRow from .pstn_call_duration_source import PstnCallDurationSource -@dataclass -class PstnCallLogRow(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) +from .call_log_row import CallLogRow - # 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) +@dataclass +class PstnCallLogRow(CallLogRow): # The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator may provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft. call_duration_source: Optional[PstnCallDurationSource] = None # Call identifier. Not guaranteed to be unique. @@ -49,30 +46,20 @@ class PstnCallLogRow(AdditionalDataHolder, BackedModel, Parsable): duration: Optional[int] = None # Call end time. end_date_time: Optional[datetime.datetime] = None - # Unique call identifier (GUID). - id: Optional[str] = None # User's phone number type, such as a service of toll-free number. inventory_type: Optional[str] = None # The license used for the call. license_capability: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The telecommunications operator that provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. + # The telecommunications operator that provided PSTN services for this call. It may be Microsoft, or it may be a third-party operator via the Operator Connect Program. operator: Optional[str] = None - # Country code of the caller for an incoming call, or callee for an outgoing call. For details, see ISO 3166-1 alpha-2. - other_party_country_code: Optional[str] = None # Call start time. start_date_time: Optional[datetime.datetime] = None # Country code of the tenant. For details, see ISO 3166-1 alpha-2. tenant_country_code: Optional[str] = None # Country code of the user. For details, see ISO 3166-1 alpha-2. usage_country_code: Optional[str] = None - # Display name of the user. - user_display_name: Optional[str] = None - # The unique identifier (GUID) of the user in Microsoft Entra ID. This and other user info will be null/empty for bot call types (ucapin, ucapout). - user_id: Optional[str] = None - # The user principal name (sign-in name) in Microsoft Entra ID. This is usually the same as the user's SIP address, and can be same as the user's e-mail address. - user_principal_name: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PstnCallLogRow: @@ -90,8 +77,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .call_log_row import CallLogRow from .pstn_call_duration_source import PstnCallDurationSource + from .call_log_row import CallLogRow from .pstn_call_duration_source import PstnCallDurationSource fields: Dict[str, Callable[[Any], None]] = { @@ -112,19 +101,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "destinationName": lambda n : setattr(self, 'destination_name', n.get_str_value()), "duration": lambda n : setattr(self, 'duration', n.get_int_value()), "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()), - "id": lambda n : setattr(self, 'id', n.get_str_value()), "inventoryType": lambda n : setattr(self, 'inventory_type', n.get_str_value()), "licenseCapability": lambda n : setattr(self, 'license_capability', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "operator": lambda n : setattr(self, 'operator', n.get_str_value()), - "otherPartyCountryCode": lambda n : setattr(self, 'other_party_country_code', n.get_str_value()), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), "tenantCountryCode": lambda n : setattr(self, 'tenant_country_code', n.get_str_value()), "usageCountryCode": lambda n : setattr(self, 'usage_country_code', n.get_str_value()), - "userDisplayName": lambda n : setattr(self, 'user_display_name', n.get_str_value()), - "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), - "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -135,6 +120,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_enum_value("callDurationSource", self.call_duration_source) writer.write_str_value("callId", self.call_id) writer.write_str_value("callType", self.call_type) @@ -152,18 +138,11 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("destinationName", self.destination_name) writer.write_int_value("duration", self.duration) writer.write_datetime_value("endDateTime", self.end_date_time) - writer.write_str_value("id", self.id) writer.write_str_value("inventoryType", self.inventory_type) writer.write_str_value("licenseCapability", self.license_capability) - writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("operator", self.operator) - writer.write_str_value("otherPartyCountryCode", self.other_party_country_code) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_str_value("tenantCountryCode", self.tenant_country_code) writer.write_str_value("usageCountryCode", self.usage_country_code) - writer.write_str_value("userDisplayName", self.user_display_name) - writer.write_str_value("userId", self.user_id) - writer.write_str_value("userPrincipalName", self.user_principal_name) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/call_records/sms_log_row.py b/msgraph_beta/generated/models/call_records/sms_log_row.py index af843894932..3f263befa13 100644 --- a/msgraph_beta/generated/models/call_records/sms_log_row.py +++ b/msgraph_beta/generated/models/call_records/sms_log_row.py @@ -1,17 +1,16 @@ from __future__ import annotations import datetime from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union -@dataclass -class SmsLogRow(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) +if TYPE_CHECKING: + from .call_log_row import CallLogRow + +from .call_log_row import CallLogRow - # 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) +@dataclass +class SmsLogRow(CallLogRow): # Amount of money or cost of the SMS that is charged. call_charge: Optional[float] = None # Currency used to calculate the cost of the call. For details, see ISO 4217. @@ -22,14 +21,10 @@ class SmsLogRow(AdditionalDataHolder, BackedModel, Parsable): destination_name: Optional[str] = None # Partially obfuscated phone number that received the SMS. For details, see E.164. destination_number: Optional[str] = None - # Unique identifier (GUID) for the SMS. - id: Optional[str] = None # The license used for the SMS. license_capability: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # For an outbound SMS, the country code of the receiver; otherwise (inbound SMS) the country code of the sender. For details, see ISO 3166-1 alpha-2. - other_party_country_code: Optional[str] = None # The date and time when the SMS was sent. sent_date_time: Optional[datetime.datetime] = None # SMS identifier. Not guaranteed to be unique. @@ -44,12 +39,6 @@ class SmsLogRow(AdditionalDataHolder, BackedModel, Parsable): tenant_country_code: Optional[str] = None # Country code of the user. For details, see ISO 3166-1 alpha-2. user_country_code: Optional[str] = None - # Display name of the user. - user_display_name: Optional[str] = None - # The unique identifier (GUID) of the user in Microsoft Entra ID. - user_id: Optional[str] = None - # The user principal name (sign-in name) in Microsoft Entra ID. This is usually the same as the user's SIP address, and can be same as the user's e-mail address. - user_principal_name: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SmsLogRow: @@ -67,16 +56,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .call_log_row import CallLogRow + + from .call_log_row import CallLogRow + fields: Dict[str, Callable[[Any], None]] = { "callCharge": lambda n : setattr(self, 'call_charge', n.get_float_value()), "currency": lambda n : setattr(self, 'currency', n.get_str_value()), "destinationContext": lambda n : setattr(self, 'destination_context', n.get_str_value()), "destinationName": lambda n : setattr(self, 'destination_name', n.get_str_value()), "destinationNumber": lambda n : setattr(self, 'destination_number', n.get_str_value()), - "id": lambda n : setattr(self, 'id', n.get_str_value()), "licenseCapability": lambda n : setattr(self, 'license_capability', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "otherPartyCountryCode": lambda n : setattr(self, 'other_party_country_code', n.get_str_value()), "sentDateTime": lambda n : setattr(self, 'sent_date_time', n.get_datetime_value()), "smsId": lambda n : setattr(self, 'sms_id', n.get_str_value()), "smsType": lambda n : setattr(self, 'sms_type', n.get_str_value()), @@ -84,10 +74,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "sourceNumber": lambda n : setattr(self, 'source_number', n.get_str_value()), "tenantCountryCode": lambda n : setattr(self, 'tenant_country_code', n.get_str_value()), "userCountryCode": lambda n : setattr(self, 'user_country_code', n.get_str_value()), - "userDisplayName": lambda n : setattr(self, 'user_display_name', n.get_str_value()), - "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), - "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -98,15 +87,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_float_value("callCharge", self.call_charge) writer.write_str_value("currency", self.currency) writer.write_str_value("destinationContext", self.destination_context) writer.write_str_value("destinationName", self.destination_name) writer.write_str_value("destinationNumber", self.destination_number) - writer.write_str_value("id", self.id) writer.write_str_value("licenseCapability", self.license_capability) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_str_value("otherPartyCountryCode", self.other_party_country_code) writer.write_datetime_value("sentDateTime", self.sent_date_time) writer.write_str_value("smsId", self.sms_id) writer.write_str_value("smsType", self.sms_type) @@ -114,9 +101,5 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("sourceNumber", self.source_number) writer.write_str_value("tenantCountryCode", self.tenant_country_code) writer.write_str_value("userCountryCode", self.user_country_code) - writer.write_str_value("userDisplayName", self.user_display_name) - writer.write_str_value("userId", self.user_id) - writer.write_str_value("userPrincipalName", self.user_principal_name) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/campaign_schedule.py b/msgraph_beta/generated/models/campaign_schedule.py new file mode 100644 index 00000000000..052995f96b3 --- /dev/null +++ b/msgraph_beta/generated/models/campaign_schedule.py @@ -0,0 +1,69 @@ +from __future__ import annotations +import datetime +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 .campaign_status import CampaignStatus + +@dataclass +class CampaignSchedule(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 completionDateTime property + completion_date_time: Optional[datetime.datetime] = None + # The launchDateTime property + launch_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The status property + status: Optional[CampaignStatus] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CampaignSchedule: + """ + 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: CampaignSchedule + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CampaignSchedule() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .campaign_status import CampaignStatus + + from .campaign_status import CampaignStatus + + fields: Dict[str, Callable[[Any], None]] = { + "completionDateTime": lambda n : setattr(self, 'completion_date_time', n.get_datetime_value()), + "launchDateTime": lambda n : setattr(self, 'launch_date_time', n.get_datetime_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "status": lambda n : setattr(self, 'status', n.get_enum_value(CampaignStatus)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_datetime_value("completionDateTime", self.completion_date_time) + writer.write_datetime_value("launchDateTime", self.launch_date_time) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("status", self.status) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/campaign_status.py b/msgraph_beta/generated/models/campaign_status.py new file mode 100644 index 00000000000..91fd586b9a7 --- /dev/null +++ b/msgraph_beta/generated/models/campaign_status.py @@ -0,0 +1,14 @@ +from enum import Enum + +class CampaignStatus(str, Enum): + Unknown = "unknown", + Draft = "draft", + InProgress = "inProgress", + Scheduled = "scheduled", + Completed = "completed", + Failed = "failed", + Cancelled = "cancelled", + Excluded = "excluded", + Deleted = "deleted", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/chat_restrictions.py b/msgraph_beta/generated/models/chat_restrictions.py index ef2a04e72cd..86c5e1825f9 100644 --- a/msgraph_beta/generated/models/chat_restrictions.py +++ b/msgraph_beta/generated/models/chat_restrictions.py @@ -11,7 +11,7 @@ class ChatRestrictions(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 allowTextOnly property + # Indicates whether only text is allowed in the meeting chat. Optional. allow_text_only: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/checklist_item.py b/msgraph_beta/generated/models/checklist_item.py index 69f5213ee95..f9a2af43f06 100644 --- a/msgraph_beta/generated/models/checklist_item.py +++ b/msgraph_beta/generated/models/checklist_item.py @@ -15,9 +15,9 @@ class ChecklistItem(Entity): checked_date_time: Optional[datetime.datetime] = None # The date and time when the checklistItem was created. created_date_time: Optional[datetime.datetime] = None - # Field indicating the title of checklistItem. + # Indicates the title of the checklistItem. display_name: Optional[str] = None - # State indicating whether the item is checked off or not. + # State that indicates whether the item is checked off or not. is_checked: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_clipboard_item.py b/msgraph_beta/generated/models/cloud_clipboard_item.py index 79a84067444..b7fee520d55 100644 --- a/msgraph_beta/generated/models/cloud_clipboard_item.py +++ b/msgraph_beta/generated/models/cloud_clipboard_item.py @@ -12,15 +12,15 @@ @dataclass class CloudClipboardItem(Entity): - # The createdDateTime property + # Set by the server. DateTime in UTC when the object was created on the server. created_date_time: Optional[datetime.datetime] = None - # The expirationDateTime property + # Set by the server. DateTime in UTC when the object expires and after that the object is no longer available. The default and also maximum TTL is 12 hours after the creation, but it might change for performance optimization. expiration_date_time: Optional[datetime.datetime] = None - # The lastModifiedDateTime property + # Set by the server if not provided in the client's request. DateTime in UTC when the object was modified by the client. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The payloads property + # A cloudClipboardItem can have multiple cloudClipboardItemPayload objects in the payloads. A window can place more than one clipboard object on the clipboard. Each one represents the same information in a different clipboard format. payloads: Optional[List[CloudClipboardItemPayload]] = None @staticmethod diff --git a/msgraph_beta/generated/models/cloud_clipboard_item_payload.py b/msgraph_beta/generated/models/cloud_clipboard_item_payload.py index c98866eb7f2..f80011732ce 100644 --- a/msgraph_beta/generated/models/cloud_clipboard_item_payload.py +++ b/msgraph_beta/generated/models/cloud_clipboard_item_payload.py @@ -11,9 +11,9 @@ class CloudClipboardItemPayload(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 content property + # The formatName version of the value of a cloud clipboard encoded in base64. content: Optional[str] = None - # The formatName property + # For a list of possible values see formatName values. format_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_clipboard_root.py b/msgraph_beta/generated/models/cloud_clipboard_root.py index 2dd52c3a1b3..fac025bc97d 100644 --- a/msgraph_beta/generated/models/cloud_clipboard_root.py +++ b/msgraph_beta/generated/models/cloud_clipboard_root.py @@ -11,7 +11,7 @@ @dataclass class CloudClipboardRoot(Entity): - # The items property + # Represents a collection of Cloud Clipboard items. items: Optional[List[CloudClipboardItem]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_pc_audit_resource.py b/msgraph_beta/generated/models/cloud_pc_audit_resource.py index 7337b292997..eb2120091cf 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_resource.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_resource.py @@ -22,6 +22,8 @@ class CloudPcAuditResource(AdditionalDataHolder, BackedModel, Parsable): odata_type: Optional[str] = None # The ID of the audit resource. resource_id: Optional[str] = None + # The resourceType property + resource_type: Optional[str] = None # The type of the audit resource. type: Optional[str] = None @@ -50,6 +52,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "modifiedProperties": lambda n : setattr(self, 'modified_properties', n.get_collection_of_object_values(CloudPcAuditProperty)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "resourceId": lambda n : setattr(self, 'resource_id', n.get_str_value()), + "resourceType": lambda n : setattr(self, 'resource_type', n.get_str_value()), "type": lambda n : setattr(self, 'type', n.get_str_value()), } return fields @@ -66,6 +69,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("modifiedProperties", self.modified_properties) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("resourceId", self.resource_id) + writer.write_str_value("resourceType", self.resource_type) writer.write_str_value("type", self.type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py index cf4445ca691..b1f2ee6b8f4 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py @@ -23,15 +23,15 @@ class CloudPcOnPremisesConnection(Entity): ad_domain_username: Optional[str] = None # The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select. alternate_resource_url: Optional[str] = None - # The connectionType property + # Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue. connection_type: Optional[CloudPcOnPremisesConnectionType] = None # The display name for the Azure network connection. display_name: Optional[str] = None # The healthCheckStatus property health_check_status: Optional[CloudPcOnPremisesConnectionStatus] = None - # The healthCheckStatusDetail property + # Indicates the results of health checks performed on the on-premises connection. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. health_check_status_detail: Optional[CloudPcOnPremisesConnectionStatusDetail] = None - # The details of the connection's health checks and the corresponding results. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. + # The healthCheckStatusDetails property health_check_status_details: Optional[CloudPcOnPremisesConnectionStatusDetails] = None # When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. in_use: Optional[bool] = None @@ -51,7 +51,7 @@ class CloudPcOnPremisesConnection(Entity): subscription_id: Optional[str] = None # The name of the target Azure subscription. Read-only. subscription_name: Optional[str] = None - # Specifies how the provisioned Cloud PC is joined to Microsoft Entra ID. Default value is hybridAzureADJoin. Possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. + # The type property type: Optional[CloudPcOnPremisesConnectionType] = None # The ID of the target virtual network. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}. virtual_network_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py index 32de7123854..b4c2fba3d51 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py @@ -16,9 +16,9 @@ class CloudPcOnPremisesConnectionHealthCheck(AdditionalDataHolder, BackedModel, # 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 additionalDetail property + # More details about the health check or the recommended action. Read-only. additional_detail: Optional[str] = None - # More details about the health check or the recommended action. + # The additionalDetails property additional_details: Optional[str] = None # The unique identifier of the health check item-related activities. This identifier can be useful in troubleshooting. correlation_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py index c823d6c37de..3486fd59aac 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py @@ -15,13 +15,13 @@ class CloudPcOnPremisesConnectionStatusDetail(AdditionalDataHolder, BackedModel, # 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 endDateTime property + # The end time of the connection health check. 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. end_date_time: Optional[datetime.datetime] = None - # The healthChecks property + # All checks that are done on the connection. health_checks: Optional[List[CloudPcOnPremisesConnectionHealthCheck]] = None # The OdataType property odata_type: Optional[str] = None - # The startDateTime property + # The start time of the connection health check. 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. start_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py index 5370811c106..d6c43f814f7 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py @@ -15,13 +15,13 @@ class CloudPcOnPremisesConnectionStatusDetails(AdditionalDataHolder, BackedModel # 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 end time of the connection health check. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + # The end time of the connection health check. 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. end_date_time: Optional[datetime.datetime] = None # All checks that are done on the connection. health_checks: Optional[List[CloudPcOnPremisesConnectionHealthCheck]] = None # The OdataType property odata_type: Optional[str] = None - # The start time of the connection health check. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + # The start time of the connection health check. 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. start_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/conditional_access_applications.py b/msgraph_beta/generated/models/conditional_access_applications.py index 74d95bd7220..c08c7a33962 100644 --- a/msgraph_beta/generated/models/conditional_access_applications.py +++ b/msgraph_beta/generated/models/conditional_access_applications.py @@ -16,9 +16,9 @@ class ConditionalAccessApplications(AdditionalDataHolder, BackedModel, Parsable) additional_data: Dict[str, Any] = field(default_factory=dict) # Filter that defines the dynamic-application-syntax rule to include/exclude cloud applications. A filter can use custom security attributes to include/exclude applications. application_filter: Optional[ConditionalAccessFilter] = None - # Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite + # Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals exclude_applications: Optional[List[str]] = None - # Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite + # Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals include_applications: Optional[List[str]] = None # Authentication context class references include. Supported values are c1 through c25. include_authentication_context_class_references: Optional[List[str]] = None diff --git a/msgraph_beta/generated/models/conditional_access_authentication_flows.py b/msgraph_beta/generated/models/conditional_access_authentication_flows.py new file mode 100644 index 00000000000..99b21cb048b --- /dev/null +++ b/msgraph_beta/generated/models/conditional_access_authentication_flows.py @@ -0,0 +1,60 @@ +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 .conditional_access_transfer_methods import ConditionalAccessTransferMethods + +@dataclass +class ConditionalAccessAuthenticationFlows(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The OdataType property + odata_type: Optional[str] = None + # The transferMethods property + transfer_methods: Optional[ConditionalAccessTransferMethods] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ConditionalAccessAuthenticationFlows: + """ + 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: ConditionalAccessAuthenticationFlows + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ConditionalAccessAuthenticationFlows() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "transferMethods": lambda n : setattr(self, 'transfer_methods', n.get_collection_of_enum_values(ConditionalAccessTransferMethods)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("transferMethods", self.transfer_methods) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/conditional_access_condition_set.py b/msgraph_beta/generated/models/conditional_access_condition_set.py index 91bc543b805..69e9114138a 100644 --- a/msgraph_beta/generated/models/conditional_access_condition_set.py +++ b/msgraph_beta/generated/models/conditional_access_condition_set.py @@ -6,10 +6,12 @@ if TYPE_CHECKING: from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices from .conditional_access_device_states import ConditionalAccessDeviceStates + from .conditional_access_insider_risk_levels import ConditionalAccessInsiderRiskLevels from .conditional_access_locations import ConditionalAccessLocations from .conditional_access_platforms import ConditionalAccessPlatforms from .conditional_access_users import ConditionalAccessUsers @@ -24,6 +26,8 @@ class ConditionalAccessConditionSet(AdditionalDataHolder, BackedModel, Parsable) additional_data: Dict[str, Any] = field(default_factory=dict) # Applications and user actions included in and excluded from the policy. Required. applications: Optional[ConditionalAccessApplications] = None + # Authentication flows included in the policy scope. For more information, see Conditional Access: Authentication flows. + authentication_flows: Optional[ConditionalAccessAuthenticationFlows] = None # Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. client_app_types: Optional[List[ConditionalAccessClientApp]] = None # Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. @@ -32,6 +36,8 @@ class ConditionalAccessConditionSet(AdditionalDataHolder, BackedModel, Parsable) device_states: Optional[ConditionalAccessDeviceStates] = None # Devices in the policy. devices: Optional[ConditionalAccessDevices] = None + # The insiderRiskLevels property + insider_risk_levels: Optional[ConditionalAccessInsiderRiskLevels] = None # Locations included in and excluded from the policy. locations: Optional[ConditionalAccessLocations] = None # The OdataType property @@ -64,20 +70,24 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices from .conditional_access_device_states import ConditionalAccessDeviceStates + from .conditional_access_insider_risk_levels import ConditionalAccessInsiderRiskLevels from .conditional_access_locations import ConditionalAccessLocations from .conditional_access_platforms import ConditionalAccessPlatforms from .conditional_access_users import ConditionalAccessUsers from .risk_level import RiskLevel from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices from .conditional_access_device_states import ConditionalAccessDeviceStates + from .conditional_access_insider_risk_levels import ConditionalAccessInsiderRiskLevels from .conditional_access_locations import ConditionalAccessLocations from .conditional_access_platforms import ConditionalAccessPlatforms from .conditional_access_users import ConditionalAccessUsers @@ -85,10 +95,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "applications": lambda n : setattr(self, 'applications', n.get_object_value(ConditionalAccessApplications)), + "authenticationFlows": lambda n : setattr(self, 'authentication_flows', n.get_object_value(ConditionalAccessAuthenticationFlows)), "clientAppTypes": lambda n : setattr(self, 'client_app_types', n.get_collection_of_enum_values(ConditionalAccessClientApp)), "clientApplications": lambda n : setattr(self, 'client_applications', n.get_object_value(ConditionalAccessClientApplications)), "deviceStates": lambda n : setattr(self, 'device_states', n.get_object_value(ConditionalAccessDeviceStates)), "devices": lambda n : setattr(self, 'devices', n.get_object_value(ConditionalAccessDevices)), + "insiderRiskLevels": lambda n : setattr(self, 'insider_risk_levels', n.get_collection_of_enum_values(ConditionalAccessInsiderRiskLevels)), "locations": lambda n : setattr(self, 'locations', n.get_object_value(ConditionalAccessLocations)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "platforms": lambda n : setattr(self, 'platforms', n.get_object_value(ConditionalAccessPlatforms)), @@ -108,10 +120,12 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_object_value("applications", self.applications) + writer.write_object_value("authenticationFlows", self.authentication_flows) writer.write_collection_of_enum_values("clientAppTypes", self.client_app_types) writer.write_object_value("clientApplications", self.client_applications) writer.write_object_value("deviceStates", self.device_states) writer.write_object_value("devices", self.devices) + writer.write_enum_value("insiderRiskLevels", self.insider_risk_levels) writer.write_object_value("locations", self.locations) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("platforms", self.platforms) diff --git a/msgraph_beta/generated/models/conditional_access_insider_risk_levels.py b/msgraph_beta/generated/models/conditional_access_insider_risk_levels.py new file mode 100644 index 00000000000..2197b37b833 --- /dev/null +++ b/msgraph_beta/generated/models/conditional_access_insider_risk_levels.py @@ -0,0 +1,8 @@ +from enum import Enum + +class ConditionalAccessInsiderRiskLevels(str, Enum): + Minor = "minor", + Moderate = "moderate", + Elevated = "elevated", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/conditional_access_transfer_methods.py b/msgraph_beta/generated/models/conditional_access_transfer_methods.py new file mode 100644 index 00000000000..9e046b5df75 --- /dev/null +++ b/msgraph_beta/generated/models/conditional_access_transfer_methods.py @@ -0,0 +1,8 @@ +from enum import Enum + +class ConditionalAccessTransferMethods(str, Enum): + None_ = "none", + DeviceCodeFlow = "deviceCodeFlow", + AuthenticationTransfer = "authenticationTransfer", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/contact.py b/msgraph_beta/generated/models/contact.py index ca06b2b77a2..4a8040cbca9 100644 --- a/msgraph_beta/generated/models/contact.py +++ b/msgraph_beta/generated/models/contact.py @@ -48,53 +48,53 @@ class Contact(OutlookItem): generation: Optional[str] = None # The contact's given name. given_name: Optional[str] = None - # The imAddresses property + # The contact's instant messaging (IM) addresses. im_addresses: Optional[List[str]] = None - # The initials property + # The contact's initials. initials: Optional[str] = None # The isFavorite property is_favorite: Optional[bool] = None - # The jobTitle property + # The contact’s job title. job_title: Optional[str] = None - # The manager property + # The name of the contact's manager. manager: Optional[str] = None - # The middleName property + # The contact's middle name. middle_name: Optional[str] = None # The collection of multi-value extended properties defined for the contact. Read-only. Nullable. multi_value_extended_properties: Optional[List[MultiValueLegacyExtendedProperty]] = None - # The nickName property + # The contact's nickname. nick_name: Optional[str] = None - # The officeLocation property + # The location of the contact's office. office_location: Optional[str] = None - # The parentFolderId property + # The ID of the contact's parent folder. parent_folder_id: Optional[str] = None - # The personalNotes property + # The user's notes about the contact. personal_notes: Optional[str] = None - # The phones property + # Phone numbers associated with the contact, for example, home phone, mobile phone, and business phone. phones: Optional[List[Phone]] = None # Optional contact picture. You can get or set a photo for a contact. photo: Optional[ProfilePhoto] = None - # The postalAddresses property + # Addresses associated with the contact, for example, home address and business address. postal_addresses: Optional[List[PhysicalAddress]] = None - # The profession property + # The contact's profession. profession: Optional[str] = None # The collection of single-value extended properties defined for the contact. Read-only. Nullable. single_value_extended_properties: Optional[List[SingleValueLegacyExtendedProperty]] = None - # The spouseName property + # The name of the contact's spouse/partner. spouse_name: Optional[str] = None - # The surname property + # The contact's surname. surname: Optional[str] = None - # The title property + # The contact's title. title: Optional[str] = None - # The websites property + # Web sites associated with the contact. websites: Optional[List[Website]] = None - # The weddingAnniversary property + # The contact's wedding anniversary. wedding_anniversary: Optional[datetime.date] = None - # The yomiCompanyName property + # The phonetic Japanese company name of the contact. yomi_company_name: Optional[str] = None - # The yomiGivenName property + # The phonetic Japanese given name (first name) of the contact. yomi_given_name: Optional[str] = None - # The yomiSurname property + # The phonetic Japanese surname (last name) of the contact. yomi_surname: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/conversion_user_details.py b/msgraph_beta/generated/models/conversion_user_details.py new file mode 100644 index 00000000000..0987382e3cc --- /dev/null +++ b/msgraph_beta/generated/models/conversion_user_details.py @@ -0,0 +1,66 @@ +from __future__ import annotations +import datetime +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 ConversionUserDetails(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 convertedToInternalUserDateTime property + converted_to_internal_user_date_time: Optional[datetime.datetime] = None + # Name displayed for the user. + display_name: Optional[str] = None + # The SMTP address for the user. + mail: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The user principal name (UPN) of the user. + user_principal_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ConversionUserDetails: + """ + 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: ConversionUserDetails + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ConversionUserDetails() + + 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]] = { + "convertedToInternalUserDateTime": lambda n : setattr(self, 'converted_to_internal_user_date_time', n.get_datetime_value()), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "mail": lambda n : setattr(self, 'mail', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_datetime_value("convertedToInternalUserDateTime", self.converted_to_internal_user_date_time) + writer.write_str_value("displayName", self.display_name) + writer.write_str_value("mail", self.mail) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("userPrincipalName", self.user_principal_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/delegated_permission_classification.py b/msgraph_beta/generated/models/delegated_permission_classification.py index ce73220bd98..6717d4db292 100644 --- a/msgraph_beta/generated/models/delegated_permission_classification.py +++ b/msgraph_beta/generated/models/delegated_permission_classification.py @@ -11,7 +11,7 @@ @dataclass class DelegatedPermissionClassification(Entity): - # The classification value being given. Possible value: low. Doesn't support $filter. + # The classification value. Possible values: low, medium (preview), high (preview). Doesn't support $filter. classification: Optional[PermissionClassificationType] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_app_management.py b/msgraph_beta/generated/models/device_app_management.py index ecbc7155a19..b3af4b4203f 100644 --- a/msgraph_beta/generated/models/device_app_management.py +++ b/msgraph_beta/generated/models/device_app_management.py @@ -21,6 +21,7 @@ from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy from .microsoft_store_for_business_portal_selection_options import MicrosoftStoreForBusinessPortalSelectionOptions from .mobile_app import MobileApp + from .mobile_app_catalog_package import MobileAppCatalogPackage from .mobile_app_category import MobileAppCategory from .policy_set import PolicySet from .symantec_code_signing_certificate import SymantecCodeSigningCertificate @@ -74,6 +75,8 @@ class DeviceAppManagement(Entity): microsoft_store_for_business_last_successful_sync_date_time: Optional[datetime.datetime] = None # Portal to which admin syncs available Microsoft Store for Business apps. This is available in the Intune Admin Console. microsoft_store_for_business_portal_selection: Optional[MicrosoftStoreForBusinessPortalSelectionOptions] = None + # MobileAppCatalogPackage entities. + mobile_app_catalog_packages: Optional[List[MobileAppCatalogPackage]] = None # The mobile app categories. mobile_app_categories: Optional[List[MobileAppCategory]] = None # The Managed Device Mobile Application Configurations. @@ -135,6 +138,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy from .microsoft_store_for_business_portal_selection_options import MicrosoftStoreForBusinessPortalSelectionOptions from .mobile_app import MobileApp + from .mobile_app_catalog_package import MobileAppCatalogPackage from .mobile_app_category import MobileAppCategory from .policy_set import PolicySet from .symantec_code_signing_certificate import SymantecCodeSigningCertificate @@ -163,6 +167,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy from .microsoft_store_for_business_portal_selection_options import MicrosoftStoreForBusinessPortalSelectionOptions from .mobile_app import MobileApp + from .mobile_app_catalog_package import MobileAppCatalogPackage from .mobile_app_category import MobileAppCategory from .policy_set import PolicySet from .symantec_code_signing_certificate import SymantecCodeSigningCertificate @@ -193,6 +198,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "microsoftStoreForBusinessLastCompletedApplicationSyncTime": lambda n : setattr(self, 'microsoft_store_for_business_last_completed_application_sync_time', n.get_datetime_value()), "microsoftStoreForBusinessLastSuccessfulSyncDateTime": lambda n : setattr(self, 'microsoft_store_for_business_last_successful_sync_date_time', n.get_datetime_value()), "microsoftStoreForBusinessPortalSelection": lambda n : setattr(self, 'microsoft_store_for_business_portal_selection', n.get_collection_of_enum_values(MicrosoftStoreForBusinessPortalSelectionOptions)), + "mobileAppCatalogPackages": lambda n : setattr(self, 'mobile_app_catalog_packages', n.get_collection_of_object_values(MobileAppCatalogPackage)), "mobileAppCategories": lambda n : setattr(self, 'mobile_app_categories', n.get_collection_of_object_values(MobileAppCategory)), "mobileAppConfigurations": lambda n : setattr(self, 'mobile_app_configurations', n.get_collection_of_object_values(ManagedDeviceMobileAppConfiguration)), "mobileApps": lambda n : setattr(self, 'mobile_apps', n.get_collection_of_object_values(MobileApp)), @@ -237,6 +243,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("microsoftStoreForBusinessLastCompletedApplicationSyncTime", self.microsoft_store_for_business_last_completed_application_sync_time) writer.write_datetime_value("microsoftStoreForBusinessLastSuccessfulSyncDateTime", self.microsoft_store_for_business_last_successful_sync_date_time) writer.write_enum_value("microsoftStoreForBusinessPortalSelection", self.microsoft_store_for_business_portal_selection) + writer.write_collection_of_object_values("mobileAppCatalogPackages", self.mobile_app_catalog_packages) writer.write_collection_of_object_values("mobileAppCategories", self.mobile_app_categories) writer.write_collection_of_object_values("mobileAppConfigurations", self.mobile_app_configurations) writer.write_collection_of_object_values("mobileApps", self.mobile_apps) diff --git a/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py b/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py index 6f0ddbba436..e7f666b15e8 100644 --- a/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py @@ -19,7 +19,7 @@ class DeviceEnrollmentWindowsHelloForBusinessConfiguration(DeviceEnrollmentConfi odata_type: Optional[str] = "#microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration" # Possible values of a property enhanced_biometrics_state: Optional[Enablement] = None - # Setting to configure Enahcned sign-in security. Default is enabled on one secure modality (face or fingerprint) + # Setting to configure Enhanced sign-in security. Default is Not Configured enhanced_sign_in_security: Optional[int] = None # Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire pin_expiration_in_days: Optional[int] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py index ca0720da8f6..1427f0c1b46 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py @@ -10,9 +10,9 @@ @dataclass class DeviceManagementConfigurationChoiceSettingCollectionDefinition(DeviceManagementConfigurationChoiceSettingDefinition): - # Maximum number of choices in the collection + # Maximum number of choices in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of choices in the collection + # Minimum number of choices in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_just_in_time_assignment_policy.py b/msgraph_beta/generated/models/device_management_configuration_just_in_time_assignment_policy.py new file mode 100644 index 00000000000..9b79fe4233b --- /dev/null +++ b/msgraph_beta/generated/models/device_management_configuration_just_in_time_assignment_policy.py @@ -0,0 +1,52 @@ +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 DeviceManagementConfigurationJustInTimeAssignmentPolicy(AdditionalDataHolder, BackedModel, Parsable): + """ + The DeviceManagementConfigurationJustInTimeAssignmentPolicy entity is used to create a just-in-time assignment of specific DeviceManagementConfigurationPolicy to an AAD group. + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeviceManagementConfigurationJustInTimeAssignmentPolicy: + """ + 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: DeviceManagementConfigurationJustInTimeAssignmentPolicy + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return DeviceManagementConfigurationJustInTimeAssignmentPolicy() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py index 23e2d360690..f609ce42d24 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py @@ -10,9 +10,9 @@ @dataclass class DeviceManagementConfigurationSettingGroupCollectionDefinition(DeviceManagementConfigurationSettingGroupDefinition): - # Maximum number of setting group count in the collection. Valid values 1 to 100 + # Maximum number of setting group count in the collection maximum_count: Optional[int] = None - # Minimum number of setting group count in the collection. Valid values 1 to 100 + # Minimum number of setting group count 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_simple_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py index 3dedbe654dd..dd104159bc2 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): - # Maximum number of simple settings in the collection + # Maximum number of simple settings in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of simple settings in the collection + # Minimum number of simple settings in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_settings.py b/msgraph_beta/generated/models/device_management_settings.py index e02ba2bbe78..4ecd65942dc 100644 --- a/msgraph_beta/generated/models/device_management_settings.py +++ b/msgraph_beta/generated/models/device_management_settings.py @@ -38,6 +38,8 @@ class DeviceManagementSettings(AdditionalDataHolder, BackedModel, Parsable): ignore_devices_for_unsupported_settings_enabled: Optional[bool] = None # Is feature enabled or not for scheduled action for rule. is_scheduled_action_enabled: Optional[bool] = None + # The property to determine if M365 App log collection is enabled for account. When TRUE it indicates that M365 app log collection is enabled for account. When FALSE it indicates that M365 app log collection is disabled for account. Default value is FALSE + m365_app_diagnostics_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None # Device should be noncompliant when there is no compliance policy targeted when this is true @@ -76,6 +78,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "enhancedJailBreak": lambda n : setattr(self, 'enhanced_jail_break', n.get_bool_value()), "ignoreDevicesForUnsupportedSettingsEnabled": lambda n : setattr(self, 'ignore_devices_for_unsupported_settings_enabled', n.get_bool_value()), "isScheduledActionEnabled": lambda n : setattr(self, 'is_scheduled_action_enabled', n.get_bool_value()), + "m365AppDiagnosticsEnabled": lambda n : setattr(self, 'm365_app_diagnostics_enabled', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "secureByDefault": lambda n : setattr(self, 'secure_by_default', n.get_bool_value()), } @@ -101,6 +104,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("enhancedJailBreak", self.enhanced_jail_break) writer.write_bool_value("ignoreDevicesForUnsupportedSettingsEnabled", self.ignore_devices_for_unsupported_settings_enabled) writer.write_bool_value("isScheduledActionEnabled", self.is_scheduled_action_enabled) + writer.write_bool_value("m365AppDiagnosticsEnabled", self.m365_app_diagnostics_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("secureByDefault", self.secure_by_default) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/drive_item.py b/msgraph_beta/generated/models/drive_item.py index 5c6dfdc5424..462311bf125 100644 --- a/msgraph_beta/generated/models/drive_item.py +++ b/msgraph_beta/generated/models/drive_item.py @@ -55,7 +55,7 @@ class DriveItem(BaseItem): c_tag: Optional[str] = None # Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. children: Optional[List[DriveItem]] = None - # The content stream, if the item represents a file. + # The content property content: Optional[bytes] = None # Information about the deleted state of the item. Read-only. deleted: Optional[Deleted] = None diff --git a/msgraph_beta/generated/models/education_assignment_defaults.py b/msgraph_beta/generated/models/education_assignment_defaults.py index 14803ad35e7..42d3bafdcd9 100644 --- a/msgraph_beta/generated/models/education_assignment_defaults.py +++ b/msgraph_beta/generated/models/education_assignment_defaults.py @@ -19,7 +19,7 @@ class EducationAssignmentDefaults(Entity): added_student_action: Optional[EducationAddedStudentAction] = None # Class-level default value for due time field. Default value is 23:59:00. due_time: Optional[datetime.time] = None - # Default Teams channel to which notifications will be sent. Default value is null. + # Default Teams channel to which notifications are sent. Default value is null. notification_channel_url: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/education_grading_scheme.py b/msgraph_beta/generated/models/education_grading_scheme.py index 87b3851e30e..2eec98e6780 100644 --- a/msgraph_beta/generated/models/education_grading_scheme.py +++ b/msgraph_beta/generated/models/education_grading_scheme.py @@ -11,11 +11,11 @@ @dataclass class EducationGradingScheme(Entity): - # The displayName property + # The name of the grading scheme. display_name: Optional[str] = None - # The grades property + # The grades that make up the scheme. grades: Optional[List[EducationGradingSchemeGrade]] = None - # The hidePointsDuringGrading property + # The display setting for the UI. Indicates whether teachers can grade with points in addition to letter grades. hide_points_during_grading: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/education_grading_scheme_grade.py b/msgraph_beta/generated/models/education_grading_scheme_grade.py index 3e85631d9e5..aa960e712c1 100644 --- a/msgraph_beta/generated/models/education_grading_scheme_grade.py +++ b/msgraph_beta/generated/models/education_grading_scheme_grade.py @@ -11,11 +11,11 @@ class EducationGradingSchemeGrade(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 defaultPercentage property + # The midpoint of the grade range. default_percentage: Optional[float] = None - # The displayName property + # The name of the grading scheme. display_name: Optional[str] = None - # The minPercentage property + # The minimum percentage of the total points needed to achieve this grade. min_percentage: Optional[float] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index db57feac3a1..229c771ddeb 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -998,6 +998,7 @@ from .microsoft_tunnel_site import MicrosoftTunnelSite from .mobile_app import MobileApp from .mobile_app_assignment import MobileAppAssignment + from .mobile_app_catalog_package import MobileAppCatalogPackage from .mobile_app_category import MobileAppCategory from .mobile_app_content import MobileAppContent from .mobile_app_content_file import MobileAppContentFile @@ -1522,6 +1523,8 @@ from .teams_async_operation import TeamsAsyncOperation from .teams_tab import TeamsTab from .teams_template import TeamsTemplate + from .teams_user_configuration.teams_admin_root import TeamsAdminRoot + from .teams_user_configuration.user_configuration import UserConfiguration from .teamwork import Teamwork from .teamwork_bot import TeamworkBot from .teamwork_device import TeamworkDevice @@ -1571,6 +1574,7 @@ from .too_many_global_admins_assigned_to_tenant_alert_configuration import TooManyGlobalAdminsAssignedToTenantAlertConfiguration from .too_many_global_admins_assigned_to_tenant_alert_incident import TooManyGlobalAdminsAssignedToTenantAlertIncident from .training import Training + from .training_campaign import TrainingCampaign from .training_language_detail import TrainingLanguageDetail from .trending import Trending from .trusted_certificate_authority_as_entity_base import TrustedCertificateAuthorityAsEntityBase @@ -1617,7 +1621,6 @@ from .user_activity import UserActivity from .user_analytics import UserAnalytics from .user_app_install_status import UserAppInstallStatus - from .user_configuration import UserConfiguration from .user_consent_request import UserConsentRequest from .user_count_metric import UserCountMetric from .user_credential_usage_details import UserCredentialUsageDetails @@ -1706,6 +1709,7 @@ from .web_part import WebPart from .win32_catalog_app import Win32CatalogApp from .win32_lob_app import Win32LobApp + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage from .windows10_certificate_profile_base import Windows10CertificateProfileBase from .windows10_compliance_policy import Windows10CompliancePolicy from .windows10_custom_configuration import Windows10CustomConfiguration @@ -5911,6 +5915,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .mobile_app_assignment import MobileAppAssignment return MobileAppAssignment() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.mobileAppCatalogPackage".casefold(): + from .mobile_app_catalog_package import MobileAppCatalogPackage + + return MobileAppCatalogPackage() if mapping_value and mapping_value.casefold() == "#microsoft.graph.mobileAppCategory".casefold(): from .mobile_app_category import MobileAppCategory @@ -8039,6 +8047,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .teams_template import TeamsTemplate return TeamsTemplate() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsUserConfiguration.teamsAdminRoot".casefold(): + from .teams_user_configuration.teams_admin_root import TeamsAdminRoot + + return TeamsAdminRoot() if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamTemplate".casefold(): from .team_template import TeamTemplate @@ -8232,6 +8244,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .training import Training return Training() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.trainingCampaign".casefold(): + from .training_campaign import TrainingCampaign + + return TrainingCampaign() if mapping_value and mapping_value.casefold() == "#microsoft.graph.trainingLanguageDetail".casefold(): from .training_language_detail import TrainingLanguageDetail @@ -8417,7 +8433,7 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E return UserAppInstallStatus() if mapping_value and mapping_value.casefold() == "#microsoft.graph.userConfiguration".casefold(): - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration return UserConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.userConsentRequest".casefold(): @@ -8772,6 +8788,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .win32_lob_app import Win32LobApp return Win32LobApp() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32MobileAppCatalogPackage".casefold(): + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + + return Win32MobileAppCatalogPackage() if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10CertificateProfileBase".casefold(): from .windows10_certificate_profile_base import Windows10CertificateProfileBase @@ -10486,6 +10506,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .microsoft_tunnel_site import MicrosoftTunnelSite from .mobile_app import MobileApp from .mobile_app_assignment import MobileAppAssignment + from .mobile_app_catalog_package import MobileAppCatalogPackage from .mobile_app_category import MobileAppCategory from .mobile_app_content import MobileAppContent from .mobile_app_content_file import MobileAppContentFile @@ -11010,6 +11031,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .teams_async_operation import TeamsAsyncOperation from .teams_tab import TeamsTab from .teams_template import TeamsTemplate + from .teams_user_configuration.teams_admin_root import TeamsAdminRoot + from .teams_user_configuration.user_configuration import UserConfiguration from .teamwork import Teamwork from .teamwork_bot import TeamworkBot from .teamwork_device import TeamworkDevice @@ -11059,6 +11082,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .too_many_global_admins_assigned_to_tenant_alert_configuration import TooManyGlobalAdminsAssignedToTenantAlertConfiguration from .too_many_global_admins_assigned_to_tenant_alert_incident import TooManyGlobalAdminsAssignedToTenantAlertIncident from .training import Training + from .training_campaign import TrainingCampaign from .training_language_detail import TrainingLanguageDetail from .trending import Trending from .trusted_certificate_authority_as_entity_base import TrustedCertificateAuthorityAsEntityBase @@ -11105,7 +11129,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .user_activity import UserActivity from .user_analytics import UserAnalytics from .user_app_install_status import UserAppInstallStatus - from .user_configuration import UserConfiguration from .user_consent_request import UserConsentRequest from .user_count_metric import UserCountMetric from .user_credential_usage_details import UserCredentialUsageDetails @@ -11194,6 +11217,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .web_part import WebPart from .win32_catalog_app import Win32CatalogApp from .win32_lob_app import Win32LobApp + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage from .windows10_certificate_profile_base import Windows10CertificateProfileBase from .windows10_compliance_policy import Windows10CompliancePolicy from .windows10_custom_configuration import Windows10CustomConfiguration @@ -12366,6 +12390,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .microsoft_tunnel_site import MicrosoftTunnelSite from .mobile_app import MobileApp from .mobile_app_assignment import MobileAppAssignment + from .mobile_app_catalog_package import MobileAppCatalogPackage from .mobile_app_category import MobileAppCategory from .mobile_app_content import MobileAppContent from .mobile_app_content_file import MobileAppContentFile @@ -12890,6 +12915,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .teams_async_operation import TeamsAsyncOperation from .teams_tab import TeamsTab from .teams_template import TeamsTemplate + from .teams_user_configuration.teams_admin_root import TeamsAdminRoot + from .teams_user_configuration.user_configuration import UserConfiguration from .teamwork import Teamwork from .teamwork_bot import TeamworkBot from .teamwork_device import TeamworkDevice @@ -12939,6 +12966,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .too_many_global_admins_assigned_to_tenant_alert_configuration import TooManyGlobalAdminsAssignedToTenantAlertConfiguration from .too_many_global_admins_assigned_to_tenant_alert_incident import TooManyGlobalAdminsAssignedToTenantAlertIncident from .training import Training + from .training_campaign import TrainingCampaign from .training_language_detail import TrainingLanguageDetail from .trending import Trending from .trusted_certificate_authority_as_entity_base import TrustedCertificateAuthorityAsEntityBase @@ -12985,7 +13013,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .user_activity import UserActivity from .user_analytics import UserAnalytics from .user_app_install_status import UserAppInstallStatus - from .user_configuration import UserConfiguration from .user_consent_request import UserConsentRequest from .user_count_metric import UserCountMetric from .user_credential_usage_details import UserCredentialUsageDetails @@ -13074,6 +13101,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .web_part import WebPart from .win32_catalog_app import Win32CatalogApp from .win32_lob_app import Win32LobApp + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage from .windows10_certificate_profile_base import Windows10CertificateProfileBase from .windows10_compliance_policy import Windows10CompliancePolicy from .windows10_custom_configuration import Windows10CustomConfiguration diff --git a/msgraph_beta/generated/models/enumerated_domains.py b/msgraph_beta/generated/models/enumerated_domains.py index cba9171e737..e0ac524a2fc 100644 --- a/msgraph_beta/generated/models/enumerated_domains.py +++ b/msgraph_beta/generated/models/enumerated_domains.py @@ -12,7 +12,7 @@ class EnumeratedDomains(ValidatingDomains): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.enumeratedDomains" - # The domainNames property + # List of federated or managed root domains that Microsoft Entra ID validates. domain_names: Optional[List[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/event.py b/msgraph_beta/generated/models/event.py index 6c8218dce35..90a4848d61a 100644 --- a/msgraph_beta/generated/models/event.py +++ b/msgraph_beta/generated/models/event.py @@ -55,71 +55,71 @@ class Event(OutlookItem): has_attachments: Optional[bool] = None # When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false. hide_attendees: Optional[bool] = None - # The importance property + # The importance of the event. Possible values are: low, normal, high. importance: Optional[Importance] = None # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. instances: Optional[List[Event]] = None - # The isAllDay property + # Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start and end time must be set to midnight and be in the same time zone. is_all_day: Optional[bool] = None - # The isCancelled property + # Set to true if the event has been canceled. is_cancelled: Optional[bool] = None - # The isDraft property + # Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees. is_draft: Optional[bool] = None - # The isOnlineMeeting property + # True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online. is_online_meeting: Optional[bool] = None - # The isOrganizer property + # Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. is_organizer: Optional[bool] = None - # The isReminderOn property + # Set to true if an alert is set to remind the user of the event. is_reminder_on: Optional[bool] = None - # The location property + # The location of the event. location: Optional[Location] = None - # The locations property + # The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. locations: Optional[List[Location]] = None # The collection of multi-value extended properties defined for the event. Read-only. Nullable. multi_value_extended_properties: Optional[List[MultiValueLegacyExtendedProperty]] = None - # The occurrenceId property + # An identifier for an occurrence in a recurring event series. Null if the event isn't part of a recurring series.The format of the property value is OID.{seriesMasterId-value}.{occurrence-start-date}. The time zone for {occurrence-start-date} is the recurrenceTimeZone property defined for the corresponding recurrenceRange.This property can identify any occurrence in a recurring series, including an occurrence that has been modified or canceled. You can use this property to perform all operations supported by occurrences in the recurring series. occurrence_id: Optional[str] = None - # The onlineMeeting property + # Details for an attendee to join the meeting online. Default is null. Read-only. After you set the isOnlineMeeting and onlineMeetingProvider properties to enable a meeting online, Microsoft Graph initializes onlineMeeting. When set, the meeting remains available online, and you cannot change the isOnlineMeeting, onlineMeetingProvider, and onlneMeeting properties again. online_meeting: Optional[OnlineMeetingInfo] = None - # The onlineMeetingProvider property + # Represents the online meeting service provider. By default, onlineMeetingProvider is unknown. The possible values are unknown, teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. After you set onlineMeetingProvider, Microsoft Graph initializes onlineMeeting. Subsequently you cannot change onlineMeetingProvider again, and the meeting remains available online. online_meeting_provider: Optional[OnlineMeetingProviderType] = None - # The onlineMeetingUrl property + # A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future. online_meeting_url: Optional[str] = None - # The organizer property + # The organizer of the event. organizer: Optional[Recipient] = None - # The originalEndTimeZone property + # The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. original_end_time_zone: Optional[str] = None - # The originalStart property + # Represents the start time of an event when it is initially created as an occurrence or exception in a recurring series. This property isn't returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z original_start: Optional[datetime.datetime] = None - # The originalStartTimeZone property + # The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. original_start_time_zone: Optional[str] = None - # The recurrence property + # The recurrence pattern for the event. recurrence: Optional[PatternedRecurrence] = None - # The reminderMinutesBeforeStart property + # The number of minutes before the event start time that the reminder alert occurs. reminder_minutes_before_start: Optional[int] = None - # The responseRequested property + # Default is true, which represents the organizer would like an invitee to send a response to the event. response_requested: Optional[bool] = None - # The responseStatus property + # Indicates the type of response sent in response to an event message. response_status: Optional[ResponseStatus] = None - # The sensitivity property + # Possible values are: normal, personal, private, confidential. sensitivity: Optional[Sensitivity] = None - # The seriesMasterId property + # The ID for the recurring series master item, if this event is part of a recurring series. series_master_id: Optional[str] = None - # The showAs property + # The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. show_as: Optional[FreeBusyStatus] = None # The collection of single-value extended properties defined for the event. Read-only. Nullable. single_value_extended_properties: Optional[List[SingleValueLegacyExtendedProperty]] = None - # The start property + # The start date, time, and time zone of the event. By default, the start time is in UTC. start: Optional[DateTimeTimeZone] = None - # The subject property + # The text of the event's subject line. subject: Optional[str] = None - # The transactionId property + # A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional. transaction_id: Optional[str] = None - # The type property + # The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only type: Optional[EventType] = None - # The uid property + # A unique identifier for calendar events. For recurring events, the value is the same for the series master and all of its occurrences including exceptions. uid: Optional[str] = None - # The webLink property + # The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame. web_link: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/event_message.py b/msgraph_beta/generated/models/event_message.py index 590e3b13866..fe6edb69f89 100644 --- a/msgraph_beta/generated/models/event_message.py +++ b/msgraph_beta/generated/models/event_message.py @@ -24,21 +24,21 @@ class EventMessage(Message): end_date_time: Optional[DateTimeTimeZone] = None # The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. event: Optional[Event] = None - # The isAllDay property + # Indicates whether the event lasts the entire day. Adjusting this property requires adjusting the startDateTime and endDateTime properties of the event as well. is_all_day: Optional[bool] = None - # The isDelegated property + # True if this meeting request is accessible to a delegate, false otherwise. Default is false. is_delegated: Optional[bool] = None - # The isOutOfDate property + # Indicates whether this meeting request has been made out-of-date by a more recent request. is_out_of_date: Optional[bool] = None - # The location property + # The location of the requested meeting. location: Optional[Location] = None - # The meetingMessageType property + # The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTentativelyAccepted, meetingDeclined. meeting_message_type: Optional[MeetingMessageType] = None - # The recurrence property + # The recurrence pattern of the requested meeting. recurrence: Optional[PatternedRecurrence] = None - # The startDateTime property + # The start time of the requested meeting. start_date_time: Optional[DateTimeTimeZone] = None - # The type property + # The type of requested meeting: singleInstance, occurence, exception, seriesMaster. type: Optional[EventType] = None @staticmethod diff --git a/msgraph_beta/generated/models/event_message_response.py b/msgraph_beta/generated/models/event_message_response.py index 232b53cb924..048923e2bd4 100644 --- a/msgraph_beta/generated/models/event_message_response.py +++ b/msgraph_beta/generated/models/event_message_response.py @@ -14,9 +14,9 @@ class EventMessageResponse(EventMessage): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.eventMessageResponse" - # The proposedNewTime property + # An alternate date/time proposed by an invitee for a meeting request to start and end. Read-only. Not filterable. proposed_new_time: Optional[TimeSlot] = None - # The responseType property + # Specifies the type of response to a meeting request. Possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable. response_type: Optional[ResponseType] = None @staticmethod diff --git a/msgraph_beta/generated/models/external_connection.py b/msgraph_beta/generated/models/external_connection.py index c872c45be3c..3c4598d644c 100644 --- a/msgraph_beta/generated/models/external_connection.py +++ b/msgraph_beta/generated/models/external_connection.py @@ -4,13 +4,13 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .configuration import Configuration from .connection_operation import ConnectionOperation from .connection_state import ConnectionState from .entity import Entity from .external_group import ExternalGroup from .external_item import ExternalItem from .schema import Schema + from .teams_user_configuration.configuration import Configuration from .entity import Entity @@ -51,21 +51,21 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ - from .configuration import Configuration from .connection_operation import ConnectionOperation from .connection_state import ConnectionState from .entity import Entity from .external_group import ExternalGroup from .external_item import ExternalItem from .schema import Schema + from .teams_user_configuration.configuration import Configuration - from .configuration import Configuration from .connection_operation import ConnectionOperation from .connection_state import ConnectionState from .entity import Entity from .external_group import ExternalGroup from .external_item import ExternalItem from .schema import Schema + from .teams_user_configuration.configuration import Configuration fields: Dict[str, Callable[[Any], None]] = { "configuration": lambda n : setattr(self, 'configuration', n.get_object_value(Configuration)), diff --git a/msgraph_beta/generated/models/federated_identity_credential.py b/msgraph_beta/generated/models/federated_identity_credential.py index 4c807d054a7..2dc2c535ea8 100644 --- a/msgraph_beta/generated/models/federated_identity_credential.py +++ b/msgraph_beta/generated/models/federated_identity_credential.py @@ -16,7 +16,7 @@ class FederatedIdentityCredential(Entity): description: Optional[str] = None # The URL of the external identity provider and must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app. It has a limit of 600 characters. Required. issuer: Optional[str] = None - # is the unique identifier for the federated identity credential, which has a limit of 120 characters and must be URL friendly. It is immutable once created. Required. Not nullable. Supports $filter (eq). + # The unique identifier for the federated identity credential, which has a limit of 120 characters and must be URL friendly. It is immutable once created. Alternate key. Required. Not nullable. Supports $filter (eq). name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/group.py b/msgraph_beta/generated/models/group.py index 13f8419a9d0..8782940c6f9 100644 --- a/msgraph_beta/generated/models/group.py +++ b/msgraph_beta/generated/models/group.py @@ -161,9 +161,9 @@ class Group(DirectoryObject): rejected_senders: Optional[List[DirectoryObject]] = None # Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. renewed_date_time: Optional[datetime.datetime] = None - # Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This can be set only as part of creation (POST). Possible values are AllowOnlyMembersToPost, HideGroupInOutlook, SubscribeNewGroupMembers, WelcomeEmailDisabled. For more information, see Set Microsoft 365 group behaviors and provisioning options. + # Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This property can be set only as part of creation (POST). For the list of possible values, see Microsoft 365 group behaviors and provisioning options. resource_behavior_options: Optional[List[str]] = None - # Specifies the group resources that are provisioned as part of Microsoft 365 group creation that isn't normally part of default group creation. The possible value is Team. For more information, see Set Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith. + # Specifies the group resources that are associated with the Microsoft 365 group. The possible value is Team. For more information, see Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith. resource_provisioning_options: Optional[List[str]] = None # Specifies whether the group is a security group. Required.Returned by default. Supports $filter (eq, ne, not, in). security_enabled: Optional[bool] = None @@ -185,7 +185,7 @@ class Group(DirectoryObject): transitive_member_of: Optional[List[DirectoryObject]] = None # The direct and transitive members of a group. Nullable. transitive_members: Optional[List[DirectoryObject]] = None - # The uniqueName property + # The unique identifier that can be assigned to a group and used as an alternate key. Immutable. Read-only. unique_name: Optional[str] = None # Count of conversations delivered one or more new posts since the signed-in user's last visit to the group. This property is the same as unseenCount. Returned only on $select. unseen_conversations_count: Optional[int] = None diff --git a/msgraph_beta/generated/models/identity_governance/task.py b/msgraph_beta/generated/models/identity_governance/task.py index 763d15cdc32..bc6ae90b3b1 100644 --- a/msgraph_beta/generated/models/identity_governance/task.py +++ b/msgraph_beta/generated/models/identity_governance/task.py @@ -17,19 +17,19 @@ class Task(Entity): arguments: Optional[List[KeyValuePair]] = None # The category property category: Optional[LifecycleTaskCategory] = None - # A boolean value that specifies whether, if this task fails, the workflow will stop, and subsequent tasks will not run. Optional. + # A boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional. continue_on_error: Optional[bool] = None # A string that describes the purpose of the task for administrative use. Optional. description: Optional[str] = None # A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy. display_name: Optional[str] = None - # An integer that states in what order the task will run in a workflow.Supports $orderby. + # An integer that states in what order the task runs in a workflow.Supports $orderby. execution_sequence: Optional[int] = None # A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy. is_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks. Required.Supports $filter(eq, ne). + # A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.Supports $filter(eq, ne). task_definition_id: Optional[str] = None # The result of processing the task. task_processing_results: Optional[List[TaskProcessingResult]] = None diff --git a/msgraph_beta/generated/models/identity_set.py b/msgraph_beta/generated/models/identity_set.py index 3038e675a72..b58887ec313 100644 --- a/msgraph_beta/generated/models/identity_set.py +++ b/msgraph_beta/generated/models/identity_set.py @@ -19,13 +19,13 @@ class IdentitySet(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # The Identity of the Application. This property is read-only. + # Optional. The application associated with this action. application: Optional[Identity] = None - # The Identity of the Device. This property is read-only. + # Optional. The device associated with this action. device: Optional[Identity] = None # The OdataType property odata_type: Optional[str] = None - # The Identity of the User. This property is read-only. + # Optional. The user associated with this action. user: Optional[Identity] = None @staticmethod diff --git a/msgraph_beta/generated/models/imported_device_identity_type.py b/msgraph_beta/generated/models/imported_device_identity_type.py index 0af06a5f937..b44b2b5dbc1 100644 --- a/msgraph_beta/generated/models/imported_device_identity_type.py +++ b/msgraph_beta/generated/models/imported_device_identity_type.py @@ -7,4 +7,6 @@ class ImportedDeviceIdentityType(str, Enum): Imei = "imei", # Device Identity is of type serial number. SerialNumber = "serialNumber", + # Device Identity is of type manufacturer + model + serial number semi-colon delimited tuple with enforced order. + ManufacturerModelSerial = "manufacturerModelSerial", diff --git a/msgraph_beta/generated/models/insights_settings.py b/msgraph_beta/generated/models/insights_settings.py index 70fe18ca13d..dc84e31eb61 100644 --- a/msgraph_beta/generated/models/insights_settings.py +++ b/msgraph_beta/generated/models/insights_settings.py @@ -12,7 +12,7 @@ class InsightsSettings(Entity): # The ID of a Microsoft Entra group, of which the specified type of insights are disabled for its members. Default is empty. Optional. disabled_for_group: Optional[str] = None - # true if the specified type of insights are enabled for the organization; false if the specified type of insights are disabled for all users without exceptions. Default is true. Optional. + # true if the specified type of insights is enabled for the organization; false if the specified type of insights is disabled for all users without exceptions. Default is true. Optional. is_enabled_in_organization: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py b/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py index e20b968e809..6f863499324 100644 --- a/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py @@ -19,9 +19,9 @@ class IosLobAppAssignmentSettings(MobileAppAssignmentSettings): is_removable: Optional[bool] = None # When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE. prevent_managed_app_backup: Optional[bool] = None - # Whether or not to uninstall the app when device is removed from Intune. + # 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. By default, property is set to null which internally is treated as TRUE. uninstall_on_device_removal: Optional[bool] = None - # The VPN Configuration Id to apply for this app. + # This is the unique identifier (Id) of the VPN Configuration to apply to the app. vpn_configuration_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/ios_store_app_assignment_settings.py b/msgraph_beta/generated/models/ios_store_app_assignment_settings.py index a004ecbd0ae..17cf9266a85 100644 --- a/msgraph_beta/generated/models/ios_store_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_store_app_assignment_settings.py @@ -19,9 +19,9 @@ class IosStoreAppAssignmentSettings(MobileAppAssignmentSettings): is_removable: Optional[bool] = None # When TRUE, indicates that the app should not be backed up to iCloud. When FALSE, indicates that the app may be backed up to iCloud. By default, this property is set to null which internally is treated as FALSE. prevent_managed_app_backup: Optional[bool] = None - # Whether or not to uninstall the app when device is removed from Intune. + # 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. By default, property is set to null which internally is treated as TRUE. uninstall_on_device_removal: Optional[bool] = None - # The VPN Configuration Id to apply for this app. + # This is the unique identifier (Id) of the VPN Configuration to apply to the app. vpn_configuration_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/license_details.py b/msgraph_beta/generated/models/license_details.py index def51b7b317..d3aa03cebf3 100644 --- a/msgraph_beta/generated/models/license_details.py +++ b/msgraph_beta/generated/models/license_details.py @@ -14,11 +14,11 @@ class LicenseDetails(Entity): # The OdataType property odata_type: Optional[str] = None - # Information about the service plans assigned with the license. Read-only, Not nullable + # Information about the service plans assigned with the license. Read-only. Not nullable. service_plans: Optional[List[ServicePlanInfo]] = None - # Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only + # Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related subscribedSku object. Read-only. sku_id: Optional[UUID] = None - # Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only + # Unique SKU display name. Equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. sku_part_number: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mac_o_s_dmg_app.py b/msgraph_beta/generated/models/mac_o_s_dmg_app.py index 511d7122d20..027e0cf99fd 100644 --- a/msgraph_beta/generated/models/mac_o_s_dmg_app.py +++ b/msgraph_beta/generated/models/mac_o_s_dmg_app.py @@ -19,7 +19,7 @@ class MacOSDmgApp(MobileLobApp): odata_type: Optional[str] = "#microsoft.graph.macOSDmgApp" # When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. ignore_version_detection: Optional[bool] = None - # The list of .apps expected to be installed by the DMG (Apple Disk Image) + # The list of .apps expected to be installed by the DMG (Apple Disk Image). This collection can contain a maximum of 500 elements. included_apps: Optional[List[MacOSIncludedApp]] = None # ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. minimum_supported_operating_system: Optional[MacOSMinimumOperatingSystem] = None diff --git a/msgraph_beta/generated/models/mac_o_s_pkg_app.py b/msgraph_beta/generated/models/mac_o_s_pkg_app.py index df6f04dd6a4..8f5184f4280 100644 --- a/msgraph_beta/generated/models/mac_o_s_pkg_app.py +++ b/msgraph_beta/generated/models/mac_o_s_pkg_app.py @@ -20,7 +20,7 @@ class MacOSPkgApp(MobileLobApp): odata_type: Optional[str] = "#microsoft.graph.macOSPkgApp" # When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. ignore_version_detection: Optional[bool] = None - # The list of apps expected to be installed by the PKG. + # The list of apps expected to be installed by the PKG. This collection can contain a maximum of 500 elements. included_apps: Optional[List[MacOSIncludedApp]] = None # ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. minimum_supported_operating_system: Optional[MacOSMinimumOperatingSystem] = None diff --git a/msgraph_beta/generated/models/mail_folder.py b/msgraph_beta/generated/models/mail_folder.py index 30f1499da4b..f7bd74672b1 100644 --- a/msgraph_beta/generated/models/mail_folder.py +++ b/msgraph_beta/generated/models/mail_folder.py @@ -10,7 +10,7 @@ from .message_rule import MessageRule from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration from .entity import Entity @@ -75,7 +75,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .message_rule import MessageRule from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration from .entity import Entity from .mail_search_folder import MailSearchFolder @@ -83,7 +83,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .message_rule import MessageRule from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration fields: Dict[str, Callable[[Any], None]] = { "childFolderCount": lambda n : setattr(self, 'child_folder_count', n.get_int_value()), diff --git a/msgraph_beta/generated/models/managed_mobile_lob_app.py b/msgraph_beta/generated/models/managed_mobile_lob_app.py index 645ddf690ba..80e498f99bc 100644 --- a/msgraph_beta/generated/models/managed_mobile_lob_app.py +++ b/msgraph_beta/generated/models/managed_mobile_lob_app.py @@ -20,11 +20,11 @@ class ManagedMobileLobApp(ManagedApp): odata_type: Optional[str] = "#microsoft.graph.managedMobileLobApp" # The internal committed content version. committed_content_version: Optional[str] = None - # The list of content versions for this app. + # The list of content versions for this app. This property is read-only. content_versions: Optional[List[MobileAppContent]] = None # The name of the main Lob application file. file_name: Optional[str] = None - # The total size, including all uploaded files. + # The total size, including all uploaded files. This property is read-only. size: Optional[int] = None @staticmethod @@ -87,6 +87,5 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("committedContentVersion", self.committed_content_version) writer.write_collection_of_object_values("contentVersions", self.content_versions) writer.write_str_value("fileName", self.file_name) - writer.write_int_value("size", self.size) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_onboarding_status.py b/msgraph_beta/generated/models/managed_tenants/tenant_onboarding_status.py index ff6bf65edb0..08814093f2e 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_onboarding_status.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_onboarding_status.py @@ -6,4 +6,5 @@ class TenantOnboardingStatus(str, Enum): Active = "active", Inactive = "inactive", UnknownFutureValue = "unknownFutureValue", + Disabled = "disabled", diff --git a/msgraph_beta/generated/models/message.py b/msgraph_beta/generated/models/message.py index 29d42deff0a..624c9847e4e 100644 --- a/msgraph_beta/generated/models/message.py +++ b/msgraph_beta/generated/models/message.py @@ -51,51 +51,51 @@ class Message(OutlookItem): from_: Optional[Recipient] = None # Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as . has_attachments: Optional[bool] = None - # The importance property + # The importance of the message. The possible values are: low, normal, and high. importance: Optional[Importance] = None - # The inferenceClassification property + # The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. Possible values are: focused, other. inference_classification: Optional[InferenceClassificationType] = None - # The internetMessageHeaders property + # A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. internet_message_headers: Optional[List[InternetMessageHeader]] = None - # The internetMessageId property + # The message ID in the format specified by RFC5322. Updatable only if isDraft is true. internet_message_id: Optional[str] = None - # The isDeliveryReceiptRequested property + # Indicates whether a read receipt is requested for the message. is_delivery_receipt_requested: Optional[bool] = None - # The isDraft property + # Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. is_draft: Optional[bool] = None - # The isRead property + # Indicates whether the message has been read. is_read: Optional[bool] = None - # The isReadReceiptRequested property + # Indicates whether a read receipt is requested for the message. is_read_receipt_requested: Optional[bool] = None # A collection of mentions in the message, ordered by the createdDateTime from the newest to the oldest. By default, a GET /messages does not return this property unless you apply $expand on the property. mentions: Optional[List[Mention]] = None - # The mentionsPreview property + # Information about mentions in the message. When processing a GET /messages request, the server sets this property and includes it in the response by default. The server returns null if there are no mentions in the message. Optional. mentions_preview: Optional[MentionsPreview] = None # The collection of multi-value extended properties defined for the message. Nullable. multi_value_extended_properties: Optional[List[MultiValueLegacyExtendedProperty]] = None - # The parentFolderId property + # The unique identifier for the message's parent mailFolder. parent_folder_id: Optional[str] = None - # The receivedDateTime property + # The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. received_date_time: Optional[datetime.datetime] = None - # The replyTo property + # The email addresses to use when replying. reply_to: Optional[List[Recipient]] = None - # The sender property + # The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. sender: Optional[Recipient] = None - # The sentDateTime property + # The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. sent_date_time: Optional[datetime.datetime] = None # The collection of single-value extended properties defined for the message. Nullable. single_value_extended_properties: Optional[List[SingleValueLegacyExtendedProperty]] = None - # The subject property + # The subject of the message. subject: Optional[str] = None - # The toRecipients property + # The To: recipients for the message. to_recipients: Optional[List[Recipient]] = None - # The uniqueBody property + # The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. unique_body: Optional[ItemBody] = None - # The unsubscribeData property + # The valid entries parsed from the List-Unsubscribe header. This is the data for the mail command in the List-Unsubscribe header if UnsubscribeEnabled property is true. unsubscribe_data: Optional[List[str]] = None - # The unsubscribeEnabled property + # Indicates whether the message is enabled for unsubscribe. Its valueTrue if the list-Unsubscribe header conforms to rfc-2369. unsubscribe_enabled: Optional[bool] = None - # The webLink property + # The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame. web_link: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mobile_app.py b/msgraph_beta/generated/models/mobile_app.py index 4b1b89da1e4..421934546a5 100644 --- a/msgraph_beta/generated/models/mobile_app.py +++ b/msgraph_beta/generated/models/mobile_app.py @@ -63,9 +63,9 @@ class MobileApp(Entity): 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. + # The date and time the app was created. This property is read-only. created_date_time: Optional[datetime.datetime] = None - # The total number of dependencies the child app has. + # The total number of dependencies the child app has. This property is read-only. dependent_app_count: Optional[int] = None # The description of the app. description: Optional[str] = None @@ -75,13 +75,13 @@ class MobileApp(Entity): 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. + # The value indicating whether the app is assigned to at least one group. This property is read-only. 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. + # The date and time the app was last modified. This property is read-only. last_modified_date_time: Optional[datetime.datetime] = None # Notes for the app. notes: Optional[str] = None @@ -95,15 +95,15 @@ class MobileApp(Entity): publisher: Optional[str] = None # Indicates the publishing state of an app. publishing_state: Optional[MobileAppPublishingState] = None - # List of relationships for this mobile app. + # The set of direct relationships for this app. relationships: Optional[List[MobileAppRelationship]] = None # List of scope tag ids for this mobile app. role_scope_tag_ids: Optional[List[str]] = None - # The total number of apps this app is directly or indirectly superseded by. + # The total number of apps this app is directly or indirectly superseded by. This property is read-only. superseded_app_count: Optional[int] = None - # The total number of apps this app directly or indirectly supersedes. + # 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. + # The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. upload_state: Optional[int] = None @staticmethod @@ -419,16 +419,12 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("categories", self.categories) - writer.write_datetime_value("createdDateTime", self.created_date_time) - writer.write_int_value("dependentAppCount", self.dependent_app_count) writer.write_str_value("description", self.description) writer.write_str_value("developer", self.developer) writer.write_str_value("displayName", self.display_name) writer.write_str_value("informationUrl", self.information_url) - writer.write_bool_value("isAssigned", self.is_assigned) writer.write_bool_value("isFeatured", self.is_featured) writer.write_object_value("largeIcon", self.large_icon) - writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("notes", self.notes) writer.write_str_value("owner", self.owner) writer.write_str_value("privacyInformationUrl", self.privacy_information_url) @@ -436,8 +432,5 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("publishingState", self.publishing_state) writer.write_collection_of_object_values("relationships", self.relationships) writer.write_collection_of_primitive_values("roleScopeTagIds", self.role_scope_tag_ids) - writer.write_int_value("supersededAppCount", self.superseded_app_count) - writer.write_int_value("supersedingAppCount", self.superseding_app_count) - writer.write_int_value("uploadState", self.upload_state) diff --git a/msgraph_beta/generated/models/mobile_app_assignment.py b/msgraph_beta/generated/models/mobile_app_assignment.py index 5804de5ab40..051700e96e3 100644 --- a/msgraph_beta/generated/models/mobile_app_assignment.py +++ b/msgraph_beta/generated/models/mobile_app_assignment.py @@ -25,7 +25,7 @@ class MobileAppAssignment(Entity): settings: Optional[MobileAppAssignmentSettings] = None # Represents source of assignment. source: Optional[DeviceAndAppManagementAssignmentSource] = None - # The identifier of the source of the assignment. + # The identifier of the source of the assignment. This property is read-only. source_id: Optional[str] = None # The target group assignment defined by the admin. target: Optional[DeviceAndAppManagementAssignmentTarget] = None @@ -81,7 +81,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("intent", self.intent) writer.write_object_value("settings", self.settings) writer.write_enum_value("source", self.source) - writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/mobile_app_catalog_package.py b/msgraph_beta/generated/models/mobile_app_catalog_package.py new file mode 100644 index 00000000000..259ff2842b1 --- /dev/null +++ b/msgraph_beta/generated/models/mobile_app_catalog_package.py @@ -0,0 +1,78 @@ +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 .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + +from .entity import Entity + +@dataclass +class MobileAppCatalogPackage(Entity): + """ + mobileAppCatalogPackage is an abstract type that application catalog package entities derive from. A mobileAppCatalogPackage entity contains information about an application catalog package that can be deployed to Intune-managed devices. + """ + # The OdataType property + odata_type: Optional[str] = None + # The name of the product (example: "Fabrikam for Business"). Returned by default. Read-only. Supports: $filter, $search, $select. This property is read-only. + product_display_name: Optional[str] = None + # The identifier of a specific product irrespective of version, or other attributes. Read-only. Returned by default. Supports: $filter, $select. This property is read-only. + product_id: Optional[str] = None + # The name of the application catalog package publisher (example: "Fabrikam"). Returned by default. Read-only. Supports $filter, $search, $select. This property is read-only. + publisher_display_name: Optional[str] = None + # The name of the product version (example: "1.2203.156"). Returned by default. Read-only. Supports: $filter, $search, $select. This property is read-only. + version_display_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> MobileAppCatalogPackage: + """ + 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: MobileAppCatalogPackage + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32MobileAppCatalogPackage".casefold(): + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + + return Win32MobileAppCatalogPackage() + return MobileAppCatalogPackage() + + 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 .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + + from .entity import Entity + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + + fields: Dict[str, Callable[[Any], None]] = { + "productDisplayName": lambda n : setattr(self, 'product_display_name', n.get_str_value()), + "productId": lambda n : setattr(self, 'product_id', n.get_str_value()), + "publisherDisplayName": lambda n : setattr(self, 'publisher_display_name', n.get_str_value()), + "versionDisplayName": lambda n : setattr(self, 'version_display_name', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py b/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py new file mode 100644 index 00000000000..889be68acdf --- /dev/null +++ b/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_catalog_package import MobileAppCatalogPackage + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class MobileAppCatalogPackageCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[MobileAppCatalogPackage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> MobileAppCatalogPackageCollectionResponse: + """ + 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: MobileAppCatalogPackageCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return MobileAppCatalogPackageCollectionResponse() + + 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 .mobile_app_catalog_package import MobileAppCatalogPackage + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_catalog_package import MobileAppCatalogPackage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(MobileAppCatalogPackage)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/mobile_app_category.py b/msgraph_beta/generated/models/mobile_app_category.py index 00445f5b8d3..fe450da2127 100644 --- a/msgraph_beta/generated/models/mobile_app_category.py +++ b/msgraph_beta/generated/models/mobile_app_category.py @@ -16,7 +16,7 @@ class MobileAppCategory(Entity): """ # The name of the app category. display_name: Optional[str] = None - # The date and time the mobileAppCategory was last modified. + # The date and time the mobileAppCategory was last modified. This property is read-only. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None @@ -59,6 +59,5 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("displayName", self.display_name) - writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/mobile_app_content_file.py b/msgraph_beta/generated/models/mobile_app_content_file.py index 0262a4d0a61..bd245cabd0b 100644 --- a/msgraph_beta/generated/models/mobile_app_content_file.py +++ b/msgraph_beta/generated/models/mobile_app_content_file.py @@ -15,13 +15,13 @@ class MobileAppContentFile(Entity): """ Contains properties for a single installer file that is associated with a given mobileAppContent version. """ - # Indicates the Azure Storage URI that the file is uploaded to. Created by the service upon receiving a valid mobileAppContentFile. Read-only. + # Indicates the Azure Storage URI that the file is uploaded to. Created by the service upon receiving a valid mobileAppContentFile. Read-only. This property is read-only. azure_storage_uri: Optional[str] = None - # Indicates the date and time when the Azure storage URI expires, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + # Indicates the date and time when the Azure storage URI expires, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only. azure_storage_uri_expiration_date_time: Optional[datetime.datetime] = None - # Indicates created date and time associated with app content file, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + # Indicates created date and time associated with app content file, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only. created_date_time: Optional[datetime.datetime] = None - # A value indicating whether the file is committed. A committed app content file has been fully uploaded and validated by the Intune service. TRUE means that app content file is committed, FALSE means that app content file is not committed. Defaults to FALSE. Read-only. + # A value indicating whether the file is committed. A committed app content file has been fully uploaded and validated by the Intune service. TRUE means that app content file is committed, FALSE means that app content file is not committed. Defaults to FALSE. Read-only. This property is read-only. is_committed: Optional[bool] = None # Indicates whether this content file is a dependency for the main content file. TRUE means that the content file is a dependency, FALSE means that the content file is not a dependency and is the main content file. Defaults to FALSE. is_dependency: Optional[bool] = None @@ -37,9 +37,9 @@ class MobileAppContentFile(Entity): size: Optional[int] = None # The size of the file after encryption. To be deprecated, please use sizeEncryptedInBytes property instead. size_encrypted: Optional[int] = None - # Indicates the size of the file after encryption, in bytes. + # Indicates the size of the file after encryption, in bytes. Valid values 0 to 9.22337203685478E+18 size_encrypted_in_bytes: Optional[int] = None - # Indicates the original size of the file, in bytes. + # Indicates the original size of the file, in bytes. Valid values 0 to 9.22337203685478E+18 size_in_bytes: Optional[int] = None # Contains properties for upload request states. upload_state: Optional[MobileAppContentFileUploadState] = None @@ -94,10 +94,6 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_str_value("azureStorageUri", self.azure_storage_uri) - writer.write_datetime_value("azureStorageUriExpirationDateTime", self.azure_storage_uri_expiration_date_time) - writer.write_datetime_value("createdDateTime", self.created_date_time) - writer.write_bool_value("isCommitted", self.is_committed) writer.write_bool_value("isDependency", self.is_dependency) writer.write_bool_value("isFrameworkFile", self.is_framework_file) writer.write_bytes_value("manifest", self.manifest) diff --git a/msgraph_beta/generated/models/mobile_app_dependency.py b/msgraph_beta/generated/models/mobile_app_dependency.py index 74cb8ec5f3b..d6c7ae17b98 100644 --- a/msgraph_beta/generated/models/mobile_app_dependency.py +++ b/msgraph_beta/generated/models/mobile_app_dependency.py @@ -18,9 +18,9 @@ class MobileAppDependency(MobileAppRelationship): odata_type: Optional[str] = "#microsoft.graph.mobileAppDependency" # Indicates the dependency type associated with a relationship between two mobile apps. dependency_type: Optional[MobileAppDependencyType] = None - # The total number of apps that directly or indirectly depend on the parent app. + # The total number of apps that directly or indirectly depend on the parent app. This property is read-only. dependent_app_count: Optional[int] = None - # The total number of apps the child app directly or indirectly depends on. + # The total number of apps the child app directly or indirectly depends on. This property is read-only. depends_on_app_count: Optional[int] = None @staticmethod @@ -64,7 +64,5 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_enum_value("dependencyType", self.dependency_type) - writer.write_int_value("dependentAppCount", self.dependent_app_count) - writer.write_int_value("dependsOnAppCount", self.depends_on_app_count) diff --git a/msgraph_beta/generated/models/mobile_app_install_summary.py b/msgraph_beta/generated/models/mobile_app_install_summary.py index 3e1e5fbf34c..5c1653b45c5 100644 --- a/msgraph_beta/generated/models/mobile_app_install_summary.py +++ b/msgraph_beta/generated/models/mobile_app_install_summary.py @@ -81,15 +81,5 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_int_value("failedDeviceCount", self.failed_device_count) - writer.write_int_value("failedUserCount", self.failed_user_count) - writer.write_int_value("installedDeviceCount", self.installed_device_count) - writer.write_int_value("installedUserCount", self.installed_user_count) - writer.write_int_value("notApplicableDeviceCount", self.not_applicable_device_count) - writer.write_int_value("notApplicableUserCount", self.not_applicable_user_count) - writer.write_int_value("notInstalledDeviceCount", self.not_installed_device_count) - writer.write_int_value("notInstalledUserCount", self.not_installed_user_count) - writer.write_int_value("pendingInstallDeviceCount", self.pending_install_device_count) - writer.write_int_value("pendingInstallUserCount", self.pending_install_user_count) diff --git a/msgraph_beta/generated/models/mobile_app_relationship.py b/msgraph_beta/generated/models/mobile_app_relationship.py index 3fcbeeb8670..3fa7adad72e 100644 --- a/msgraph_beta/generated/models/mobile_app_relationship.py +++ b/msgraph_beta/generated/models/mobile_app_relationship.py @@ -18,13 +18,13 @@ class MobileAppRelationship(Entity): """ # The OdataType property odata_type: Optional[str] = None - # The target mobile app's display name. + # The target mobile app's display name. This property is read-only. target_display_name: Optional[str] = None - # The target mobile app's display version. + # The target mobile app's display version. This property is read-only. target_display_version: Optional[str] = None # The target mobile app's app id. target_id: Optional[str] = None - # The target mobile app's publisher. + # The target mobile app's publisher. This property is read-only. target_publisher: Optional[str] = None # Indicates whether the target of a relationship is the parent or the child in the relationship. target_type: Optional[MobileAppRelationshipType] = None @@ -87,10 +87,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_str_value("targetDisplayName", self.target_display_name) - writer.write_str_value("targetDisplayVersion", self.target_display_version) writer.write_str_value("targetId", self.target_id) - writer.write_str_value("targetPublisher", self.target_publisher) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/mobile_app_supersedence.py b/msgraph_beta/generated/models/mobile_app_supersedence.py index bc1eefba762..68f745a756a 100644 --- a/msgraph_beta/generated/models/mobile_app_supersedence.py +++ b/msgraph_beta/generated/models/mobile_app_supersedence.py @@ -16,11 +16,11 @@ class MobileAppSupersedence(MobileAppRelationship): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mobileAppSupersedence" - # The total number of apps directly or indirectly superseded by the child app. + # The total number of apps directly or indirectly superseded by the child app. This property is read-only. superseded_app_count: Optional[int] = None # Indicates the supersedence type associated with a relationship between two mobile apps. supersedence_type: Optional[MobileAppSupersedenceType] = None - # The total number of apps directly or indirectly superseding the parent app. + # The total number of apps directly or indirectly superseding the parent app. This property is read-only. superseding_app_count: Optional[int] = None @staticmethod @@ -63,8 +63,6 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_int_value("supersededAppCount", self.superseded_app_count) writer.write_enum_value("supersedenceType", self.supersedence_type) - writer.write_int_value("supersedingAppCount", self.superseding_app_count) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py index b9e89d4ca22..9175b69c2cc 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): """ Event representing a users device application install status. """ - # The collection property of AppLogUploadRequest. + # Indicates collection of App Log Upload Request. app_log_collection_requests: Optional[List[AppLogCollectionRequest]] = None # Intune application identifier. application_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/mobile_lob_app.py b/msgraph_beta/generated/models/mobile_lob_app.py index 97c92bfabe3..b29e11ad0e5 100644 --- a/msgraph_beta/generated/models/mobile_lob_app.py +++ b/msgraph_beta/generated/models/mobile_lob_app.py @@ -31,11 +31,11 @@ class MobileLobApp(MobileApp): odata_type: Optional[str] = "#microsoft.graph.mobileLobApp" # The internal committed content version. committed_content_version: Optional[str] = None - # The list of content versions for this app. + # The list of content versions for this app. This property is read-only. content_versions: Optional[List[MobileAppContent]] = None # The name of the main Lob application file. file_name: Optional[str] = None - # The total size, including all uploaded files. + # The total size, including all uploaded files. This property is read-only. size: Optional[int] = None @staticmethod @@ -164,6 +164,5 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("committedContentVersion", self.committed_content_version) writer.write_collection_of_object_values("contentVersions", self.content_versions) writer.write_str_value("fileName", self.file_name) - writer.write_int_value("size", self.size) diff --git a/msgraph_beta/generated/models/networkaccess/alert.py b/msgraph_beta/generated/models/networkaccess/alert.py index c8af9dc2dd7..4348821ac85 100644 --- a/msgraph_beta/generated/models/networkaccess/alert.py +++ b/msgraph_beta/generated/models/networkaccess/alert.py @@ -22,8 +22,6 @@ class Alert(Entity): creation_date_time: Optional[datetime.datetime] = None # The description property description: Optional[str] = None - # The firstImpactedDateTime property - first_impacted_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None # The relatedResources property @@ -60,7 +58,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "alertType": lambda n : setattr(self, 'alert_type', n.get_enum_value(AlertType)), "creationDateTime": lambda n : setattr(self, 'creation_date_time', n.get_datetime_value()), "description": lambda n : setattr(self, 'description', n.get_str_value()), - "firstImpactedDateTime": lambda n : setattr(self, 'first_impacted_date_time', n.get_datetime_value()), "relatedResources": lambda n : setattr(self, 'related_resources', n.get_collection_of_object_values(RelatedResource)), } super_fields = super().get_field_deserializers() @@ -80,7 +77,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("alertType", self.alert_type) writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_str_value("description", self.description) - writer.write_datetime_value("firstImpactedDateTime", self.first_impacted_date_time) writer.write_collection_of_object_values("relatedResources", self.related_resources) diff --git a/msgraph_beta/generated/models/networkaccess/region.py b/msgraph_beta/generated/models/networkaccess/region.py index f9c9e1ecd7b..c3b521f9e4f 100644 --- a/msgraph_beta/generated/models/networkaccess/region.py +++ b/msgraph_beta/generated/models/networkaccess/region.py @@ -33,4 +33,5 @@ class Region(str, Enum): JapanEast = "japanEast", JapanWest = "japanWest", UnknownFutureValue = "unknownFutureValue", + KoreaSouth = "koreaSouth", diff --git a/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py b/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py index 2eacd5cff9f..c1ed797e869 100644 --- a/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py @@ -19,6 +19,8 @@ class TunnelConfiguration(AdditionalDataHolder, BackedModel, Parsable): odata_type: Optional[str] = None # A key to establish secure connection between the link and VPN tunnel on the edge. pre_shared_key: Optional[str] = None + # The zoneRedundancyPreSharedKey property + zone_redundancy_pre_shared_key: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TunnelConfiguration: @@ -57,6 +59,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "preSharedKey": lambda n : setattr(self, 'pre_shared_key', n.get_str_value()), + "zoneRedundancyPreSharedKey": lambda n : setattr(self, 'zone_redundancy_pre_shared_key', n.get_str_value()), } return fields @@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("preSharedKey", self.pre_shared_key) + writer.write_str_value("zoneRedundancyPreSharedKey", self.zone_redundancy_pre_shared_key) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/object_identity.py b/msgraph_beta/generated/models/object_identity.py index bae61d7b283..6896575e636 100644 --- a/msgraph_beta/generated/models/object_identity.py +++ b/msgraph_beta/generated/models/object_identity.py @@ -11,7 +11,7 @@ class ObjectIdentity(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) - # Specifies the issuer of the identity, for example facebook.com. 512 character limit. For local accounts (where signInType isn't federated), this property is the local default domain name for the tenant, for example contoso.com.
For guests from other Microsoft Entra organization, this is the domain of the federated organization, for examplecontoso.com`. For more information about filtering behavior for this property, see Filtering on the identities property of a user. + # Specifies the issuer of the identity, for example facebook.com. 512 character limit. For local accounts (where signInType isn't federated), this property is the local default domain name for the tenant, for example contoso.com. For guests from other Microsoft Entra organizations, this is the domain of the federated organization, for example contoso.com. For more information about filtering behavior for this property, see Filtering on the identities property of a user. issuer: Optional[str] = None # Specifies the unique identifier assigned to the user by the issuer. 64 character limit. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress (or a custom string that starts with emailAddress like emailAddress1), issuerAssignedId must be a valid email addressuserName, issuerAssignedId must begin with an alphabetical character or number, and can only contain alphanumeric characters and the following symbols: - or _ For more information about filtering behavior for this property, see Filtering on the identities property of a user. issuer_assigned_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/online_meeting.py b/msgraph_beta/generated/models/online_meeting.py index 9fdb0105b29..8bd9bd5370a 100644 --- a/msgraph_beta/generated/models/online_meeting.py +++ b/msgraph_beta/generated/models/online_meeting.py @@ -32,7 +32,7 @@ class OnlineMeeting(OnlineMeetingBase): capabilities: Optional[List[MeetingCapabilities]] = None # The meeting creation time in UTC. Read-only. creation_date_time: Optional[datetime.datetime] = None - # The meeting end time in UTC. + # The meeting end time in UTC. Required when you create an online meeting. end_date_time: Optional[datetime.datetime] = None # The external ID. A custom ID. Optional. external_id: Optional[str] = None @@ -52,7 +52,7 @@ class OnlineMeeting(OnlineMeetingBase): recordings: Optional[List[CallRecording]] = None # The registration that is enabled for an online meeting. One online meeting can only have one registration enabled. registration: Optional[MeetingRegistration] = None - # The meeting start time in UTC. + # The meeting start time in UTC. Required when you create an online meeting. start_date_time: Optional[datetime.datetime] = None # The transcripts of an online meeting. Read-only. transcripts: Optional[List[CallTranscript]] = None diff --git a/msgraph_beta/generated/models/operation_approval_policy.py b/msgraph_beta/generated/models/operation_approval_policy.py index c6a0109f63c..980b0833fd8 100644 --- a/msgraph_beta/generated/models/operation_approval_policy.py +++ b/msgraph_beta/generated/models/operation_approval_policy.py @@ -23,7 +23,7 @@ class OperationApprovalPolicy(Entity): description: Optional[str] = None # Indicates the display name of the policy. Maximum length of the display name is 128 characters. This property is required when the policy is created, and is defined by the user to identify the policy. display_name: Optional[str] = None - # Indicates the last DateTime that the policy was modified. The value cannot be modified and is automatically populated whenever values in the request are updated. For example, when the 'policyType' property changes from `apps` to `scripts`. 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. Read-only. This property is read-only. + # Indicates the last DateTime that the policy was modified. The value cannot be modified and is automatically populated whenever values in the request are updated. For example, when the 'policyType' property changes from apps to scripts. 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. Read-only. This property is read-only. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/operation_approval_request.py b/msgraph_beta/generated/models/operation_approval_request.py index 128244103b7..6f8dcc3cb8a 100644 --- a/msgraph_beta/generated/models/operation_approval_request.py +++ b/msgraph_beta/generated/models/operation_approval_request.py @@ -23,7 +23,7 @@ class OperationApprovalRequest(Entity): approver: Optional[IdentitySet] = None # Indicates the DateTime when any action on the approval request is no longer permitted. The value cannot be modified and is automatically populated when the request is created using expiration offset values defined in the service controllers. 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. Read-only. This property is read-only. expiration_date_time: Optional[datetime.datetime] = None - # Indicates the last DateTime that the request was modified. The value cannot be modified and is automatically populated whenever values in the request are updated. For example, when the 'status' property changes from `needsApproval` to `approved`. 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. Read-only. This property is read-only. + # Indicates the last DateTime that the request was modified. The value cannot be modified and is automatically populated whenever values in the request are updated. For example, when the 'status' property changes from needsApproval to approved. 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. Read-only. This property is read-only. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/operation_approval_request_entity_status.py b/msgraph_beta/generated/models/operation_approval_request_entity_status.py index d4deeacf04e..f921680e05f 100644 --- a/msgraph_beta/generated/models/operation_approval_request_entity_status.py +++ b/msgraph_beta/generated/models/operation_approval_request_entity_status.py @@ -18,7 +18,7 @@ class OperationApprovalRequestEntityStatus(AdditionalDataHolder, BackedModel, Pa # 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 status of the Entity connected to the OperationApprovalRequest in regard to changes, whether further requests are allowed or if the Entity is locked. When `true`, a lock is present on the Entity and no approval requests can be currently made for it. When `false`, the Entity is not locked and approval requests are allowed. Default value is `false`. Read-only. This property is read-only. + # The status of the Entity connected to the OperationApprovalRequest in regard to changes, whether further requests are allowed or if the Entity is locked. When true, a lock is present on the Entity and no approval requests can be currently made for it. When false, the Entity is not locked and approval requests are allowed. Default value is false. Read-only. This property is read-only. entity_locked: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/organization.py b/msgraph_beta/generated/models/organization.py index f5c002cdaf2..b7aa5451b17 100644 --- a/msgraph_beta/generated/models/organization.py +++ b/msgraph_beta/generated/models/organization.py @@ -30,7 +30,7 @@ class Organization(DirectoryObject): assigned_plans: Optional[List[AssignedPlan]] = None # Resource to manage the default branding for the organization. Nullable. branding: Optional[OrganizationalBranding] = None - # Telephone number for the organization. Although this is a string collection, only one number can be set for this property. + # Telephone number for the organization. Although this property is a string collection, only one number can be set. business_phones: Optional[List[str]] = None # Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. certificate_based_auth_configuration: Optional[List[CertificateBasedAuthConfiguration]] = None @@ -42,7 +42,7 @@ class Organization(DirectoryObject): country: Optional[str] = None # Country or region abbreviation for the organization in ISO 3166-2 format. country_letter_code: Optional[str] = None - # Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + # Timestamp of when the organization was created. The value can't be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. created_date_time: Optional[datetime.datetime] = None # Two-letter ISO 3166 country code indicating the default service usage location of an organization. default_usage_location: Optional[str] = None @@ -52,7 +52,7 @@ class Organization(DirectoryObject): display_name: Optional[str] = None # The collection of open extensions defined for the organization resource. Nullable. extensions: Optional[List[Extension]] = None - # true if organization is Multi-Geo enabled; false if organization is not Multi-Geo enabled; null (default). Read-only. For more information, see OneDrive Online Multi-Geo. + # true if organization is Multi-Geo enabled; false if organization isn't Multi-Geo enabled; null (default). Read-only. For more information, see OneDrive Online Multi-Geo. is_multiple_data_locations_for_services_enabled: Optional[bool] = None # Not nullable. marketing_notification_emails: Optional[List[str]] = None @@ -62,7 +62,7 @@ class Organization(DirectoryObject): on_premises_last_password_sync_date_time: Optional[datetime.datetime] = None # The time and date at which the tenant was last synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. on_premises_last_sync_date_time: Optional[datetime.datetime] = None - # true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; Nullable. null if this object has never been synced from an on-premises directory (default). + # true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; Nullable. null, if this object isn't synced from on-premises active directory (default). on_premises_sync_enabled: Optional[bool] = None # The partnerInformation property partner_information: Optional[PartnerInformation] = None @@ -70,7 +70,7 @@ class Organization(DirectoryObject): partner_tenant_type: Optional[PartnerTenantType] = None # Postal code of the address for the organization. postal_code: Optional[str] = None - # The preferred language for the organization. Should follow ISO 639-1 Code; for example en. + # The preferred language for the organization. Should follow ISO 639-1 code; for example, en. preferred_language: Optional[str] = None # The privacy profile of an organization. privacy_profile: Optional[PrivacyProfile] = None @@ -88,6 +88,8 @@ class Organization(DirectoryObject): street: Optional[str] = None # Not nullable. technical_notification_mails: Optional[List[str]] = None + # Not nullable. Can be one of the following types: AAD - An enterprise identity access management (IAM) service that serves business-to-employee and business-to-business (B2B) scenarios. AAD B2C An identity access management (IAM) service that serves business-to-consumer (B2C) scenarios. CIAM - A customer identity & access management (CIAM) solution that provides an integrated platform to serve consumers, partners, and citizen scenarios. + tenant_type: Optional[str] = None # The collection of domains associated with this tenant. Not nullable. verified_domains: Optional[List[VerifiedDomain]] = None @@ -169,6 +171,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "state": lambda n : setattr(self, 'state', n.get_str_value()), "street": lambda n : setattr(self, 'street', n.get_str_value()), "technicalNotificationMails": lambda n : setattr(self, 'technical_notification_mails', n.get_collection_of_primitive_values(str)), + "tenantType": lambda n : setattr(self, 'tenant_type', n.get_str_value()), "verifiedDomains": lambda n : setattr(self, 'verified_domains', n.get_collection_of_object_values(VerifiedDomain)), } super_fields = super().get_field_deserializers() @@ -215,6 +218,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("state", self.state) writer.write_str_value("street", self.street) writer.write_collection_of_primitive_values("technicalNotificationMails", self.technical_notification_mails) + writer.write_str_value("tenantType", self.tenant_type) writer.write_collection_of_object_values("verifiedDomains", self.verified_domains) diff --git a/msgraph_beta/generated/models/outlook_task.py b/msgraph_beta/generated/models/outlook_task.py index 8992e9278ad..8fdb2f8e395 100644 --- a/msgraph_beta/generated/models/outlook_task.py +++ b/msgraph_beta/generated/models/outlook_task.py @@ -33,29 +33,29 @@ class OutlookTask(OutlookItem): due_date_time: Optional[DateTimeTimeZone] = None # Set to true if the task has attachments. has_attachments: Optional[bool] = None - # The importance property + # The importance of the event. Possible values are: low, normal, high. importance: Optional[Importance] = None - # The isReminderOn property + # Set to true if an alert is set to remind the user of the task. is_reminder_on: Optional[bool] = None # The collection of multi-value extended properties defined for the task. Read-only. Nullable. multi_value_extended_properties: Optional[List[MultiValueLegacyExtendedProperty]] = None - # The owner property + # The name of the person who created the task. owner: Optional[str] = None - # The parentFolderId property + # The unique identifier for the task's parent folder. parent_folder_id: Optional[str] = None - # The recurrence property + # The recurrence pattern for the task. recurrence: Optional[PatternedRecurrence] = None - # The reminderDateTime property + # The date and time for a reminder alert of the task to occur. reminder_date_time: Optional[DateTimeTimeZone] = None - # The sensitivity property + # Indicates the level of privacy for the task. Possible values are: normal, personal, private, confidential. sensitivity: Optional[Sensitivity] = None # The collection of single-value extended properties defined for the task. Read-only. Nullable. single_value_extended_properties: Optional[List[SingleValueLegacyExtendedProperty]] = None - # The startDateTime property + # The date in the specified time zone when the task is to begin. start_date_time: Optional[DateTimeTimeZone] = None - # The status property + # Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred. status: Optional[TaskStatus] = None - # The subject property + # A brief description or title of the task. subject: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/password_profile.py b/msgraph_beta/generated/models/password_profile.py index 93bdafc9a22..8c5c07cddcb 100644 --- a/msgraph_beta/generated/models/password_profile.py +++ b/msgraph_beta/generated/models/password_profile.py @@ -11,13 +11,13 @@ class PasswordProfile(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) - # true if the user must change her password on the next login; otherwise false. If not set, default is false. + # true if the user must change their password on the next sign-in; otherwise false. If not set, default is false. force_change_password_next_sign_in: Optional[bool] = None - # If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. + # If true, at next sign-in, the user must perform a multifactor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multifactor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. force_change_password_next_sign_in_with_mfa: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. + # The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next sign-in. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. password: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/policy_root.py b/msgraph_beta/generated/models/policy_root.py index bd59e1798dd..cc7013666fb 100644 --- a/msgraph_beta/generated/models/policy_root.py +++ b/msgraph_beta/generated/models/policy_root.py @@ -71,7 +71,7 @@ class PolicyRoot(Entity): external_identities_policy: Optional[ExternalIdentitiesPolicy] = None # The feature rollout policy associated with a directory object. feature_rollout_policies: Optional[List[FeatureRolloutPolicy]] = None - # The federatedTokenValidationPolicy property + # Represents a policy to control enabling or disabling validation of federation authentication tokens. federated_token_validation_policy: Optional[FederatedTokenValidationPolicy] = None # The policy to control Microsoft Entra authentication behavior for federated users. home_realm_discovery_policies: Optional[List[HomeRealmDiscoveryPolicy]] = None diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py index a1005dc6ef9..a650999b726 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py @@ -24,13 +24,13 @@ class PrivilegedAccessGroupAssignmentSchedule(PrivilegedAccessSchedule): activated_using: Optional[PrivilegedAccessGroupEligibilitySchedule] = None # Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). assignment_type: Optional[PrivilegedAccessGroupAssignmentType] = None - # References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + # References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. group: Optional[Group] = None # The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq). group_id: Optional[str] = None # Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). member_type: Optional[PrivilegedAccessGroupMemberType] = None - # References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand. + # References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. principal: Optional[DirectoryObject] = None # The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq). principal_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py index ba8e0c5c284..de78b46300e 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py @@ -20,11 +20,11 @@ class PrivilegedAccessGroupAssignmentScheduleRequest(PrivilegedAccessScheduleReq access_id: Optional[PrivilegedAccessGroupRelationships] = None # When the request activates a membership or ownership assignment in PIM for groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand. activated_using: Optional[PrivilegedAccessGroupEligibilitySchedule] = None - # References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand. + # References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. group: Optional[Group] = None # The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. group_id: Optional[str] = None - # References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand. + # References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. principal: Optional[DirectoryObject] = None # The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Supports $filter (eq, ne). principal_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py index a725a62d4fa..54493cc8fa8 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py @@ -18,11 +18,11 @@ class PrivilegedAccessGroupEligibilityScheduleRequest(PrivilegedAccessScheduleRe odata_type: Optional[str] = "#microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest" # The identifier of membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. access_id: Optional[PrivilegedAccessGroupRelationships] = None - # References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand. + # References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. group: Optional[Group] = None # The identifier of the group representing the scope of the membership and ownership eligibility through PIM for groups. Required. group_id: Optional[str] = None - # References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. + # References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. principal: Optional[DirectoryObject] = None # The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. principal_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/recommendation_type.py b/msgraph_beta/generated/models/recommendation_type.py index a20b9937b26..e0fe8e3de7f 100644 --- a/msgraph_beta/generated/models/recommendation_type.py +++ b/msgraph_beta/generated/models/recommendation_type.py @@ -38,4 +38,7 @@ class RecommendationType(str, Enum): AdalToMsalMigration = "adalToMsalMigration", OwnerlessApps = "ownerlessApps", InactiveGuests = "inactiveGuests", + AadGraphDeprecationApplication = "aadGraphDeprecationApplication", + AadGraphDeprecationServicePrincipal = "aadGraphDeprecationServicePrincipal", + MfaServerDeprecation = "mfaServerDeprecation", diff --git a/msgraph_beta/generated/models/report.py b/msgraph_beta/generated/models/report.py index 215ad2a519e..0bd58118e8d 100644 --- a/msgraph_beta/generated/models/report.py +++ b/msgraph_beta/generated/models/report.py @@ -14,7 +14,7 @@ class Report(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # Report content; details vary by report type. + # The http content that has the data content: Optional[bytes] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/risk_detail.py b/msgraph_beta/generated/models/risk_detail.py index fcbe9e38e55..6500e95e301 100644 --- a/msgraph_beta/generated/models/risk_detail.py +++ b/msgraph_beta/generated/models/risk_detail.py @@ -16,4 +16,7 @@ class RiskDetail(str, Enum): AdminConfirmedServicePrincipalCompromised = "adminConfirmedServicePrincipalCompromised", AdminDismissedAllRiskForServicePrincipal = "adminDismissedAllRiskForServicePrincipal", M365DAdminDismissedDetection = "m365DAdminDismissedDetection", + UserChangedPasswordOnPremises = "userChangedPasswordOnPremises", + AdminDismissedRiskForSignIn = "adminDismissedRiskForSignIn", + AdminConfirmedAccountSafe = "adminConfirmedAccountSafe", diff --git a/msgraph_beta/generated/models/risky_user.py b/msgraph_beta/generated/models/risky_user.py index 16fecb9004c..0c1c0f94044 100644 --- a/msgraph_beta/generated/models/risky_user.py +++ b/msgraph_beta/generated/models/risky_user.py @@ -19,17 +19,17 @@ class RiskyUser(Entity): history: Optional[List[RiskyUserHistoryItem]] = None # Indicates whether the user is deleted. Possible values are: true, false. is_deleted: Optional[bool] = None - # Indicates whether a user's risky state is being processed by the backend. Supports $filter (eq). + # Indicates whether a user's risky state is being processed by the backend. is_processing: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. risk_detail: Optional[RiskDetail] = None - # The date and time that the risky user was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, gt, lt). + # The date and time that the risky user was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. risk_last_updated_date_time: Optional[datetime.datetime] = None - # Level of the detected risky user. The possible values are low, medium, high, hidden, none, unknownFutureValue. Supports $filter (eq). + # Level of the detected risky user. The possible values are low, medium, high, hidden, none, unknownFutureValue. risk_level: Optional[RiskLevel] = None - # State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq). + # State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. risk_state: Optional[RiskState] = None # Risky user display name. user_display_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/schedule.py b/msgraph_beta/generated/models/schedule.py index 328e2af892a..c683eaf7369 100644 --- a/msgraph_beta/generated/models/schedule.py +++ b/msgraph_beta/generated/models/schedule.py @@ -55,7 +55,7 @@ class Schedule(Entity): scheduling_groups: Optional[List[SchedulingGroup]] = None # The shifts in the schedule. shifts: Optional[List[Shift]] = None - # The shiftsRoleDefinitions property + # The definitions of the roles in the schedule. shifts_role_definitions: Optional[List[ShiftsRoleDefinition]] = None # Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. start_day_of_week: Optional[DayOfWeek] = None diff --git a/msgraph_beta/generated/models/search/answer_keyword.py b/msgraph_beta/generated/models/search/answer_keyword.py index b4dee4cbc0f..77e05be428c 100644 --- a/msgraph_beta/generated/models/search/answer_keyword.py +++ b/msgraph_beta/generated/models/search/answer_keyword.py @@ -17,7 +17,7 @@ class AnswerKeyword(AdditionalDataHolder, BackedModel, Parsable): match_similar_keywords: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # Unique keywords that will guarantee the search answer is triggered. + # Unique keywords that guarantee the search answer is triggered. reserved_keywords: Optional[List[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/search/answer_variant.py b/msgraph_beta/generated/models/search/answer_variant.py index a5ed918791e..aeea100927d 100644 --- a/msgraph_beta/generated/models/search/answer_variant.py +++ b/msgraph_beta/generated/models/search/answer_variant.py @@ -14,17 +14,17 @@ class AnswerVariant(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) - # Answer variation description shown on search results page. + # The answer variation description that is shown on the search results page. description: Optional[str] = None - # Answer variation name displayed in search results. + # The answer variation name that is displayed in search results. display_name: Optional[str] = None - # The languageTag property + # The country or region that can view this answer variation. language_tag: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The platform property + # The device or operating system that can view this answer variation. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue. platform: Optional[DevicePlatformType] = None - # Answer variation URL link. When users click this answer variation in search results, they will go to this URL. + # The URL link for the answer variation. When users select this answer variation from the search results, they're directed to the specified URL. web_url: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/search/bookmark.py b/msgraph_beta/generated/models/search/bookmark.py index 3c2d39519ae..372c28db879 100644 --- a/msgraph_beta/generated/models/search/bookmark.py +++ b/msgraph_beta/generated/models/search/bookmark.py @@ -15,29 +15,29 @@ @dataclass class Bookmark(SearchAnswer): - # Timestamp of when the bookmark will stop to appear as a search result. Set as null for always available. + # Date and time when the bookmark stops appearing as a search result. Set as null for always available. 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. availability_end_date_time: Optional[datetime.datetime] = None - # Timestamp of when the bookmark will start to appear as a search result. Set as null for always available. + # Date and time when the bookmark starts to appear as a search result. Set as null for always available. 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. availability_start_date_time: Optional[datetime.datetime] = None # Categories commonly used to describe this bookmark. For example, IT and HR. categories: Optional[List[str]] = None - # List of security groups able to view this bookmark. + # The list of security groups that are able to view this bookmark. group_ids: Optional[List[str]] = None - # True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. + # True if this bookmark was suggested to the admin, by a user, or was mined and suggested by Microsoft. Read-only. is_suggested: Optional[bool] = None # Keywords that trigger this bookmark to appear in search results. keywords: Optional[AnswerKeyword] = None - # A list of language names that are geographically specific and that this bookmark can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. + # A list of geographically specific language names in which this bookmark can be viewed. Each language tag value follows the pattern {language}-{region}. For example, en-us is English as used in the United States. For the list of possible values, see Supported language tags. language_tags: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None - # List of devices and operating systems able to view this bookmark. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. + # List of devices and operating systems that are able to view this bookmark. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue. platforms: Optional[List[DevicePlatformType]] = None - # List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. + # List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks directly on the search results page, such as entering vacation time or reporting expenses. power_app_ids: Optional[List[str]] = None # The state property state: Optional[AnswerState] = None - # Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. + # Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. targeted_variations: Optional[List[AnswerVariant]] = None @staticmethod diff --git a/msgraph_beta/generated/models/search/qna.py b/msgraph_beta/generated/models/search/qna.py index df60ab78885..2942e0dd011 100644 --- a/msgraph_beta/generated/models/search/qna.py +++ b/msgraph_beta/generated/models/search/qna.py @@ -15,25 +15,25 @@ @dataclass class Qna(SearchAnswer): - # Timestamp of when the qna stops to appear as a search result. Set as null for always available. + # Date and time when the QnA stops appearing as a search result. Set as null for always available. 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. availability_end_date_time: Optional[datetime.datetime] = None - # Timestamp of when the qna starts to appear as a search result. Set as null for always available. + # Date and time when the QnA starts to appear as a search result. Set as null for always available. 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. availability_start_date_time: Optional[datetime.datetime] = None - # List of security groups able to view this qna. + # The list of security groups that are able to view this QnA. group_ids: Optional[List[str]] = None - # True if a user or Microsoft suggested this qna to the admin. Read-only. + # True if a user or Microsoft suggested this QnA to the admin. Read-only. is_suggested: Optional[bool] = None - # Keywords that trigger this qna to appear in search results. + # Keywords that trigger this QnA to appear in search results. keywords: Optional[AnswerKeyword] = None - # A list of language names that are geographically specific and that this QnA can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. For the list of possible values, see supported language tags. + # A list of geographically specific language names in which this QnA can be viewed. Each language tag value follows the pattern {language}-{region}. For example, en-us is English as used in the United States. For the list of possible values, see Supported language tags. language_tags: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None - # List of devices and operating systems able to view this qna. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. + # List of devices and operating systems that are able to view this QnA. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue. platforms: Optional[List[DevicePlatformType]] = None # The state property state: Optional[AnswerState] = None - # Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. + # Variations of a QnA for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. targeted_variations: Optional[List[AnswerVariant]] = None @staticmethod diff --git a/msgraph_beta/generated/models/search/search_answer.py b/msgraph_beta/generated/models/search/search_answer.py index e9ed04b0fb7..8e63d074259 100644 --- a/msgraph_beta/generated/models/search/search_answer.py +++ b/msgraph_beta/generated/models/search/search_answer.py @@ -15,17 +15,17 @@ @dataclass class SearchAnswer(Entity): - # Search answer description shown on search results page. + # The search answer description that is shown on the search results page. description: Optional[str] = None - # Search answer name displayed in search results. + # The search answer name that is displayed in search results. display_name: Optional[str] = None - # Details of the user that created or last modified the search answer. Read-only. + # Details of the user who created or last modified the search answer. Read-only. last_modified_by: Optional[IdentitySet] = None - # Timestamp of when the search answer is created or edited. Read-only. + # Date and time when the search answer was created or last edited. 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. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # Search answer URL link. When users click this search answer in search results, they'll go to this URL. + # The URL link for the search answer. When users select this search answer from the search results, they're directed to the specified URL. web_url: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/search_entity.py b/msgraph_beta/generated/models/search_entity.py index 92524fafbad..936ccf69298 100644 --- a/msgraph_beta/generated/models/search_entity.py +++ b/msgraph_beta/generated/models/search_entity.py @@ -13,13 +13,13 @@ @dataclass class SearchEntity(Entity): - # Administrative answer in Microsoft Search results to define common acronyms in a organization. + # Administrative answer in Microsoft Search results to define common acronyms in an organization. acronyms: Optional[List[Acronym]] = None # Administrative answer in Microsoft Search results for common search queries in an organization. bookmarks: Optional[List[Bookmark]] = None # The OdataType property odata_type: Optional[str] = None - # Administrative answer in Microsoft Search results which provide answers for specific search keywords in an organization. + # Administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. qnas: Optional[List[Qna]] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/alert_evidence.py b/msgraph_beta/generated/models/security/alert_evidence.py index 264adf4b4fe..7e7b3fa3d05 100644 --- a/msgraph_beta/generated/models/security/alert_evidence.py +++ b/msgraph_beta/generated/models/security/alert_evidence.py @@ -36,6 +36,7 @@ from .kubernetes_secret_evidence import KubernetesSecretEvidence from .kubernetes_service_account_evidence import KubernetesServiceAccountEvidence from .kubernetes_service_evidence import KubernetesServiceEvidence + from .mailbox_configuration_evidence import MailboxConfigurationEvidence from .mailbox_evidence import MailboxEvidence from .mail_cluster_evidence import MailClusterEvidence from .malware_evidence import MalwareEvidence @@ -197,6 +198,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> A from .kubernetes_service_evidence import KubernetesServiceEvidence return KubernetesServiceEvidence() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.mailboxConfigurationEvidence".casefold(): + from .mailbox_configuration_evidence import MailboxConfigurationEvidence + + return MailboxConfigurationEvidence() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.mailboxEvidence".casefold(): from .mailbox_evidence import MailboxEvidence @@ -294,6 +299,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .kubernetes_secret_evidence import KubernetesSecretEvidence from .kubernetes_service_account_evidence import KubernetesServiceAccountEvidence from .kubernetes_service_evidence import KubernetesServiceEvidence + from .mailbox_configuration_evidence import MailboxConfigurationEvidence from .mailbox_evidence import MailboxEvidence from .mail_cluster_evidence import MailClusterEvidence from .malware_evidence import MalwareEvidence @@ -340,6 +346,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .kubernetes_secret_evidence import KubernetesSecretEvidence from .kubernetes_service_account_evidence import KubernetesServiceAccountEvidence from .kubernetes_service_evidence import KubernetesServiceEvidence + from .mailbox_configuration_evidence import MailboxConfigurationEvidence from .mailbox_evidence import MailboxEvidence from .mail_cluster_evidence import MailClusterEvidence from .malware_evidence import MalwareEvidence diff --git a/msgraph_beta/generated/models/security/analyzed_email.py b/msgraph_beta/generated/models/security/analyzed_email.py index b9c3924388b..6e7d09603c7 100644 --- a/msgraph_beta/generated/models/security/analyzed_email.py +++ b/msgraph_beta/generated/models/security/analyzed_email.py @@ -19,67 +19,67 @@ @dataclass class AnalyzedEmail(Entity): - # The alertIds property + # A collection of values that contain the IDs of any alerts associated with the email. alert_ids: Optional[List[str]] = None - # The attachments property + # A collection of the attachments in the email. attachments: Optional[List[AnalyzedEmailAttachment]] = None - # The attachmentsCount property + # The number of attachments in the email. attachments_count: Optional[int] = None - # The authenticationDetails property + # The authentication details associated with the email. authentication_details: Optional[AnalyzedEmailAuthenticationDetail] = None - # The bulkComplaintLevel property + # The bulk complaint level of the email. A higher level is more likely to be spam. bulk_complaint_level: Optional[str] = None - # The contexts property + # Provides context of the email. contexts: Optional[List[str]] = None - # The detectionMethods property + # The methods of detection used. detection_methods: Optional[List[str]] = None - # The directionality property + # The direction of the emails. The possible values are: unknown, inbound, outbound, intraOrg, unknownFutureValue. directionality: Optional[AntispamDirectionality] = None - # The distributionList property + # The distribution list details to which the email was sent. distribution_list: Optional[str] = None - # The emailClusterId property + # The identifier for the group of similar emails clustered based on heuristic analysis of their content. email_cluster_id: Optional[str] = None - # The exchangeTransportRules property + # The name of the Exchange transport rules (ETRs) associated with the email. exchange_transport_rules: Optional[List[AnalyzedEmailExchangeTransportRuleInfo]] = None - # The internetMessageId property + # A public-facing identifier for the email that is sent. The message ID is in the format specified by RFC2822. internet_message_id: Optional[str] = None - # The language property + # The detected language of the email content. language: Optional[str] = None - # The latestDelivery property + # The latest delivery details of the email. latest_delivery: Optional[AnalyzedEmailDeliveryDetail] = None - # The loggedDateTime property + # Date-time when the email record was logged. logged_date_time: Optional[datetime.datetime] = None - # The networkMessageId property + # An internal identifier for the email generated by Microsoft 365. network_message_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The originalDelivery property + # The original delivery details of the email. original_delivery: Optional[AnalyzedEmailDeliveryDetail] = None - # The overrideSources property + # An aggregated list of all overrides with source on email. override_sources: Optional[List[str]] = None - # The phishConfidenceLevel property + # The phish confidence level associated with the email phish_confidence_level: Optional[str] = None - # The policy property + # The action policy that took effect. policy: Optional[str] = None - # The policyAction property + # The action taken on the email based on the configured policy. policy_action: Optional[str] = None - # The recipientEmailAddresses property + # Contains the email addresses of the recipients. recipient_email_addresses: Optional[List[str]] = None - # The returnPath property + # A field that indicates where and how bounced emails are processed. return_path: Optional[str] = None - # The senderDetail property + # Sender details of the email. sender_detail: Optional[AnalyzedEmailSenderDetail] = None - # The sizeInBytes property + # Size of the email in bytes. size_in_bytes: Optional[int] = None - # The spamConfidenceLevel property + # Spam confidence of the email. spam_confidence_level: Optional[str] = None - # The subject property + # Subject of the email. subject: Optional[str] = None - # The threatType property + # Indicates the threat types. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. threat_type: Optional[ThreatType] = None - # The urls property + # A collection of the URLs in the email. urls: Optional[List[AnalyzedEmailUrl]] = None - # The urlsCount property + # The number of URLs in the email. urls_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/analyzed_email_attachment.py b/msgraph_beta/generated/models/security/analyzed_email_attachment.py index b10f8729d6e..621df98cf09 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_attachment.py +++ b/msgraph_beta/generated/models/security/analyzed_email_attachment.py @@ -15,19 +15,19 @@ class AnalyzedEmailAttachment(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 detonationDetails property + # The detonation details of the attachment. detonation_details: Optional[DetonationDetails] = None - # The fileName property + # The name of the attachment in the email. file_name: Optional[str] = None - # The fileType property + # The type of the attachment in the email. file_type: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The sha256 property + # The SHA256 file hash of the attachment. sha256: Optional[str] = None - # The threatName property + # The threat name associated with the threat type. threat_name: Optional[str] = None - # The threatType property + # The threat type associated with the attachment. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. threat_type: Optional[ThreatType] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/analyzed_email_authentication_detail.py b/msgraph_beta/generated/models/security/analyzed_email_authentication_detail.py index 85ef130a723..0be76471b0e 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_authentication_detail.py +++ b/msgraph_beta/generated/models/security/analyzed_email_authentication_detail.py @@ -11,15 +11,15 @@ class AnalyzedEmailAuthenticationDetail(AdditionalDataHolder, BackedModel, Parsa # 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 compositeAuthentication property + # A value used by Microsoft 365 to combine email authentication such as SPF, DKIM, and DMARC, to determine whether the message is authentic. composite_authentication: Optional[str] = None - # The dkim property + # DomainKeys identified mail (DKIM). Indicates whether it was pass/fail/soft fail. dkim: Optional[str] = None - # The dmarc property + # Domain-based Message Authentication. Indicates whether it was pass/fail/soft fail. dmarc: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The senderPolicyFramework property + # Sender Policy Framework (SPF). Indicates whether it was pass/fail/soft fail. sender_policy_framework: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py b/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py index 3701e94ef96..23da5490405 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py +++ b/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py @@ -15,9 +15,9 @@ class AnalyzedEmailDeliveryDetail(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 action property + # The delivery action of the email. The possible values are: unknown, deliveredToJunk, delivered, blocked, replaced, unknownFutureValue. action: Optional[DeliveryAction] = None - # The location property + # The delivery location of the email. The possible values are: unknown, inboxfolder, junkFolder, deletedFolder, quarantine, onpremexternal, failed, dropped, others, unknownFutureValue. location: Optional[DeliveryLocation] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/analyzed_email_exchange_transport_rule_info.py b/msgraph_beta/generated/models/security/analyzed_email_exchange_transport_rule_info.py index a71ad83254f..13e8bf4c18b 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_exchange_transport_rule_info.py +++ b/msgraph_beta/generated/models/security/analyzed_email_exchange_transport_rule_info.py @@ -11,11 +11,11 @@ class AnalyzedEmailExchangeTransportRuleInfo(AdditionalDataHolder, BackedModel, # 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 name property + # Name of the Exchange transport rules (ETRs) that are part of the email. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The ruleId property + # The ETR rule ID. rule_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/analyzed_email_sender_detail.py b/msgraph_beta/generated/models/security/analyzed_email_sender_detail.py index 1b00738a328..94d37f105c2 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_sender_detail.py +++ b/msgraph_beta/generated/models/security/analyzed_email_sender_detail.py @@ -11,11 +11,11 @@ class AnalyzedEmailSenderDetail(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 fromAddress property + # The sender email address in the mail From header, also known as the envelope sender or the P1 sender. from_address: Optional[str] = None - # The ipv4 property + # The IPv4 address of the last detected mail server that relayed the message. ipv4: Optional[str] = None - # The mailFromAddress property + # The sender email address in the From header, which is visible to email recipients on their email clients. Also known as P2 sender. mail_from_address: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/analyzed_email_url.py b/msgraph_beta/generated/models/security/analyzed_email_url.py index 99946559da0..80e9b6fec4f 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_url.py +++ b/msgraph_beta/generated/models/security/analyzed_email_url.py @@ -15,15 +15,15 @@ class AnalyzedEmailUrl(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 detectionMethod property + # The method used to detect threats in the URL. detection_method: Optional[str] = None - # The detonationDetails property + # Detonation data associated with the URL. detonation_details: Optional[DetonationDetails] = None # The OdataType property odata_type: Optional[str] = None - # The threatType property + # The type of threat associated with the URL. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. threat_type: Optional[ThreatType] = None - # The url property + # The URL that is found in the email. This is full URL string, including query parameters. url: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/audit_log_query.py b/msgraph_beta/generated/models/security/audit_log_query.py index 92dbf0a3cdc..eda314da9e1 100644 --- a/msgraph_beta/generated/models/security/audit_log_query.py +++ b/msgraph_beta/generated/models/security/audit_log_query.py @@ -32,7 +32,7 @@ class AuditLogQuery(Entity): odata_type: Optional[str] = None # The name of the user or admin activity. For a description of the most common operations/activities, see Search the audit log in the Office 365 Protection Center. operation_filters: Optional[List[str]] = None - # The recordTypeFilters property + # The type of operation indicated by the record. The possible values are: exchangeAdmin, exchangeItem, exchangeItemGroup, sharePoint, syntheticProbe, sharePointFileOperation, oneDrive, azureActiveDirectory, azureActiveDirectoryAccountLogon, dataCenterSecurityCmdlet, complianceDLPSharePoint, sway, complianceDLPExchange, sharePointSharingOperation, azureActiveDirectoryStsLogon, skypeForBusinessPSTNUsage, skypeForBusinessUsersBlocked, securityComplianceCenterEOPCmdlet, exchangeAggregatedOperation, powerBIAudit, crm, yammer, skypeForBusinessCmdlets, discovery, microsoftTeams, threatIntelligence, mailSubmission, microsoftFlow, aeD, microsoftStream, complianceDLPSharePointClassification, threatFinder, project, sharePointListOperation, sharePointCommentOperation, dataGovernance, kaizala, securityComplianceAlerts, threatIntelligenceUrl, securityComplianceInsights, mipLabel, workplaceAnalytics, powerAppsApp, powerAppsPlan, threatIntelligenceAtpContent, labelContentExplorer, teamsHealthcare, exchangeItemAggregated, hygieneEvent, dataInsightsRestApiAudit, informationBarrierPolicyApplication, sharePointListItemOperation, sharePointContentTypeOperation, sharePointFieldOperation, microsoftTeamsAdmin, hrSignal, microsoftTeamsDevice, microsoftTeamsAnalytics, informationWorkerProtection, campaign, dlpEndpoint, airInvestigation, quarantine, microsoftForms, applicationAudit, complianceSupervisionExchange, customerKeyServiceEncryption, officeNative, mipAutoLabelSharePointItem, mipAutoLabelSharePointPolicyLocation, microsoftTeamsShifts, secureScore, mipAutoLabelExchangeItem, cortanaBriefing, search, wdatpAlerts, powerPlatformAdminDlp, powerPlatformAdminEnvironment, mdatpAudit, sensitivityLabelPolicyMatch, sensitivityLabelAction, sensitivityLabeledFileAction, attackSim, airManualInvestigation, securityComplianceRBAC, userTraining, airAdminActionInvestigation, mstic, physicalBadgingSignal, teamsEasyApprovals, aipDiscover, aipSensitivityLabelAction, aipProtectionAction, aipFileDeleted, aipHeartBeat, mcasAlerts, onPremisesFileShareScannerDlp, onPremisesSharePointScannerDlp, exchangeSearch, sharePointSearch, privacyDataMinimization, labelAnalyticsAggregate, myAnalyticsSettings, securityComplianceUserChange, complianceDLPExchangeClassification, complianceDLPEndpoint, mipExactDataMatch, msdeResponseActions, msdeGeneralSettings, msdeIndicatorsSettings, ms365DCustomDetection, msdeRolesSettings, mapgAlerts, mapgPolicy, mapgRemediation, privacyRemediationAction, privacyDigestEmail, mipAutoLabelSimulationProgress, mipAutoLabelSimulationCompletion, mipAutoLabelProgressFeedback, dlpSensitiveInformationType, mipAutoLabelSimulationStatistics, largeContentMetadata, microsoft365Group, cdpMlInferencingResult, filteringMailMetadata, cdpClassificationMailItem, cdpClassificationDocument, officeScriptsRunAction, filteringPostMailDeliveryAction, cdpUnifiedFeedback, tenantAllowBlockList, consumptionResource, healthcareSignal, dlpImportResult, cdpCompliancePolicyExecution, multiStageDisposition, privacyDataMatch, filteringDocMetadata, filteringEmailFeatures, powerBIDlp, filteringUrlInfo, filteringAttachmentInfo, coreReportingSettings, complianceConnector, powerPlatformLockboxResourceAccessRequest, powerPlatformLockboxResourceCommand, cdpPredictiveCodingLabel, cdpCompliancePolicyUserFeedback, webpageActivityEndpoint, omePortal, cmImprovementActionChange, filteringUrlClick, mipLabelAnalyticsAuditRecord, filteringEntityEvent, filteringRuleHits, filteringMailSubmission, labelExplorer, microsoftManagedServicePlatform, powerPlatformServiceActivity, scorePlatformGenericAuditRecord, filteringTimeTravelDocMetadata, alert, alertStatus, alertIncident, incidentStatus, case, caseInvestigation, recordsManagement, privacyRemediation, dataShareOperation, cdpDlpSensitive, ehrConnector, filteringMailGradingResult, publicFolder, privacyTenantAuditHistoryRecord, aipScannerDiscoverEvent, eduDataLakeDownloadOperation, m365ComplianceConnector, microsoftGraphDataConnectOperation, microsoftPurview, filteringEmailContentFeatures, powerPagesSite, powerAppsResource, plannerPlan, plannerCopyPlan, plannerTask, plannerRoster, plannerPlanList, plannerTaskList, plannerTenantSettings, projectForTheWebProject, projectForTheWebTask, projectForTheWebRoadmap, projectForTheWebRoadmapItem, projectForTheWebProjectSettings, projectForTheWebRoadmapSettings, quarantineMetadata, microsoftTodoAudit, timeTravelFilteringDocMetadata, teamsQuarantineMetadata, sharePointAppPermissionOperation, microsoftTeamsSensitivityLabelAction, filteringTeamsMetadata, filteringTeamsUrlInfo, filteringTeamsPostDeliveryAction, mdcAssessments, mdcRegulatoryComplianceStandards, mdcRegulatoryComplianceControls, mdcRegulatoryComplianceAssessments, mdcSecurityConnectors, mdaDataSecuritySignal, vivaGoals, filteringRuntimeInfo, attackSimAdmin, microsoftGraphDataConnectConsent, filteringAtpDetonationInfo, privacyPortal, managedTenants, unifiedSimulationMatchedItem, unifiedSimulationSummary, updateQuarantineMetadata, ms365DSuppressionRule, purviewDataMapOperation, filteringUrlPostClickAction, irmUserDefinedDetectionSignal, teamsUpdates, plannerRosterSensitivityLabel, ms365DIncident, filteringDelistingMetadata, complianceDLPSharePointClassificationExtended, microsoftDefenderForIdentityAudit, supervisoryReviewDayXInsight, defenderExpertsforXDRAdmin, cdpEdgeBlockedMessage, hostedRpa, cdpContentExplorerAggregateRecord, cdpHygieneAttachmentInfo, cdpHygieneSummary, cdpPostMailDeliveryAction, cdpEmailFeatures, cdpHygieneUrlInfo, cdpUrlClick, cdpPackageManagerHygieneEvent, filteringDocScan, timeTravelFilteringDocScan, mapgOnboard, unknownFutureValue. record_type_filters: Optional[List[AuditLogRecordType]] = None # An individual audit log record. records: Optional[List[AuditLogRecord]] = None diff --git a/msgraph_beta/generated/models/security/cloud_application_evidence.py b/msgraph_beta/generated/models/security/cloud_application_evidence.py index fb53c80f5ba..4ecd3059f22 100644 --- a/msgraph_beta/generated/models/security/cloud_application_evidence.py +++ b/msgraph_beta/generated/models/security/cloud_application_evidence.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .alert_evidence import AlertEvidence + from .stream import Stream from .alert_evidence import AlertEvidence @@ -22,6 +23,8 @@ class CloudApplicationEvidence(AlertEvidence): instance_name: Optional[str] = None # The identifier of the SaaS application. saas_app_id: Optional[int] = None + # The stream property + stream: Optional[Stream] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudApplicationEvidence: @@ -40,8 +43,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .alert_evidence import AlertEvidence + from .stream import Stream from .alert_evidence import AlertEvidence + from .stream import Stream fields: Dict[str, Callable[[Any], None]] = { "appId": lambda n : setattr(self, 'app_id', n.get_int_value()), @@ -49,6 +54,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "instanceId": lambda n : setattr(self, 'instance_id', n.get_int_value()), "instanceName": lambda n : setattr(self, 'instance_name', n.get_str_value()), "saasAppId": lambda n : setattr(self, 'saas_app_id', n.get_int_value()), + "stream": lambda n : setattr(self, 'stream', n.get_object_value(Stream)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -68,5 +74,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("instanceId", self.instance_id) writer.write_str_value("instanceName", self.instance_name) writer.write_int_value("saasAppId", self.saas_app_id) + writer.write_object_value("stream", self.stream) diff --git a/msgraph_beta/generated/models/security/collaboration_root.py b/msgraph_beta/generated/models/security/collaboration_root.py index 70fab22e547..0e4dd66af7d 100644 --- a/msgraph_beta/generated/models/security/collaboration_root.py +++ b/msgraph_beta/generated/models/security/collaboration_root.py @@ -11,7 +11,7 @@ @dataclass class CollaborationRoot(Entity): - # The analyzedEmails property + # Contains metadata for analyzed emails. analyzed_emails: Optional[List[AnalyzedEmail]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/detonation_chain.py b/msgraph_beta/generated/models/security/detonation_chain.py index 7f54ce91c07..ea7387f43e5 100644 --- a/msgraph_beta/generated/models/security/detonation_chain.py +++ b/msgraph_beta/generated/models/security/detonation_chain.py @@ -11,11 +11,11 @@ class DetonationChain(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 childNodes property + # A list of all child nodes in the chain. child_nodes: Optional[List[DetonationChain]] = None # The OdataType property odata_type: Optional[str] = None - # The value property + # The value of the chain. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/detonation_details.py b/msgraph_beta/generated/models/security/detonation_details.py index 50620ed06a0..255f8d20d3d 100644 --- a/msgraph_beta/generated/models/security/detonation_details.py +++ b/msgraph_beta/generated/models/security/detonation_details.py @@ -16,15 +16,15 @@ class DetonationDetails(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 analysisDateTime property + # The time of detonation. analysis_date_time: Optional[datetime.datetime] = None - # The detonationChain property + # The chain of detonation. detonation_chain: Optional[DetonationChain] = None - # The detonationObservables property + # All observables in the detonation tree. detonation_observables: Optional[DetonationObservables] = None - # The detonationVerdict property + # The verdict of the detonation. detonation_verdict: Optional[str] = None - # The detonationVerdictReason property + # The reason for the verdict of the detonation. detonation_verdict_reason: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/detonation_observables.py b/msgraph_beta/generated/models/security/detonation_observables.py index 9f62bbef338..5b702e061e3 100644 --- a/msgraph_beta/generated/models/security/detonation_observables.py +++ b/msgraph_beta/generated/models/security/detonation_observables.py @@ -11,11 +11,11 @@ class DetonationObservables(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 contactedIps property + # The list of all contacted IPs in the detonation. contacted_ips: Optional[List[str]] = None - # The contactedUrls property + # The list of all URLs found in the detonation. contacted_urls: Optional[List[str]] = None - # The droppedfiles property + # The list of all dropped files in the detonation. droppedfiles: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py b/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py index 3a341ec9d28..e17665f0cbf 100644 --- a/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py +++ b/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py @@ -13,6 +13,8 @@ class GoogleCloudResourceEvidence(AlertEvidence): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.googleCloudResourceEvidence" + # The fullResourceName property + full_resource_name: Optional[str] = None # The zone or region where the resource is located. location: Optional[str] = None # The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue. @@ -49,6 +51,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .google_cloud_location_type import GoogleCloudLocationType fields: Dict[str, Callable[[Any], None]] = { + "fullResourceName": lambda n : setattr(self, 'full_resource_name', n.get_str_value()), "location": lambda n : setattr(self, 'location', n.get_str_value()), "locationType": lambda n : setattr(self, 'location_type', n.get_enum_value(GoogleCloudLocationType)), "projectId": lambda n : setattr(self, 'project_id', n.get_str_value()), @@ -69,6 +72,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_str_value("fullResourceName", self.full_resource_name) writer.write_str_value("location", self.location) writer.write_enum_value("locationType", self.location_type) writer.write_str_value("projectId", self.project_id) diff --git a/msgraph_beta/generated/models/security/ip_evidence.py b/msgraph_beta/generated/models/security/ip_evidence.py index 91debb4bd89..68be11e4414 100644 --- a/msgraph_beta/generated/models/security/ip_evidence.py +++ b/msgraph_beta/generated/models/security/ip_evidence.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .alert_evidence import AlertEvidence + from .stream import Stream from .alert_evidence import AlertEvidence @@ -16,6 +17,8 @@ class IpEvidence(AlertEvidence): country_letter_code: Optional[str] = None # The value of the IP Address can be either in V4 address or V6 address format. ip_address: Optional[str] = None + # The stream property + stream: Optional[Stream] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> IpEvidence: @@ -34,12 +37,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .alert_evidence import AlertEvidence + from .stream import Stream from .alert_evidence import AlertEvidence + from .stream import Stream fields: Dict[str, Callable[[Any], None]] = { "countryLetterCode": lambda n : setattr(self, 'country_letter_code', n.get_str_value()), "ipAddress": lambda n : setattr(self, 'ip_address', n.get_str_value()), + "stream": lambda n : setattr(self, 'stream', n.get_object_value(Stream)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -56,5 +62,6 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_str_value("countryLetterCode", self.country_letter_code) writer.write_str_value("ipAddress", self.ip_address) + writer.write_object_value("stream", self.stream) diff --git a/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py b/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py new file mode 100644 index 00000000000..45828bd29c9 --- /dev/null +++ b/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py @@ -0,0 +1,80 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from uuid import UUID + +if TYPE_CHECKING: + from .alert_evidence import AlertEvidence + from .mailbox_configuration_type import MailboxConfigurationType + +from .alert_evidence import AlertEvidence + +@dataclass +class MailboxConfigurationEvidence(AlertEvidence): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.security.mailboxConfigurationEvidence" + # The configurationId property + configuration_id: Optional[str] = None + # The configurationType property + configuration_type: Optional[MailboxConfigurationType] = None + # The displayName property + display_name: Optional[str] = None + # The externalDirectoryObjectId property + external_directory_object_id: Optional[UUID] = None + # The mailboxPrimaryAddress property + mailbox_primary_address: Optional[str] = None + # The upn property + upn: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> MailboxConfigurationEvidence: + """ + 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: MailboxConfigurationEvidence + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return MailboxConfigurationEvidence() + + 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_evidence import AlertEvidence + from .mailbox_configuration_type import MailboxConfigurationType + + from .alert_evidence import AlertEvidence + from .mailbox_configuration_type import MailboxConfigurationType + + fields: Dict[str, Callable[[Any], None]] = { + "configurationId": lambda n : setattr(self, 'configuration_id', n.get_str_value()), + "configurationType": lambda n : setattr(self, 'configuration_type', n.get_enum_value(MailboxConfigurationType)), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "externalDirectoryObjectId": lambda n : setattr(self, 'external_directory_object_id', n.get_uuid_value()), + "mailboxPrimaryAddress": lambda n : setattr(self, 'mailbox_primary_address', n.get_str_value()), + "upn": lambda n : setattr(self, 'upn', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("configurationId", self.configuration_id) + writer.write_enum_value("configurationType", self.configuration_type) + writer.write_str_value("displayName", self.display_name) + writer.write_uuid_value("externalDirectoryObjectId", self.external_directory_object_id) + writer.write_str_value("mailboxPrimaryAddress", self.mailbox_primary_address) + writer.write_str_value("upn", self.upn) + + diff --git a/msgraph_beta/generated/models/security/mailbox_configuration_type.py b/msgraph_beta/generated/models/security/mailbox_configuration_type.py new file mode 100644 index 00000000000..7dfdd9866f8 --- /dev/null +++ b/msgraph_beta/generated/models/security/mailbox_configuration_type.py @@ -0,0 +1,10 @@ +from enum import Enum + +class MailboxConfigurationType(str, Enum): + MailForwardingRule = "mailForwardingRule", + OwaSettings = "owaSettings", + EwsSettings = "ewsSettings", + MailDelegation = "mailDelegation", + UserInboxRule = "userInboxRule", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/security/stream.py b/msgraph_beta/generated/models/security/stream.py new file mode 100644 index 00000000000..7ca34e7b220 --- /dev/null +++ b/msgraph_beta/generated/models/security/stream.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 Stream(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 name property + name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Stream: + """ + 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: Stream + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Stream() + + 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]] = { + "name": lambda n : setattr(self, 'name', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("name", self.name) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/security/user_evidence.py b/msgraph_beta/generated/models/security/user_evidence.py index 4ceb8ff173f..be96f23eda3 100644 --- a/msgraph_beta/generated/models/security/user_evidence.py +++ b/msgraph_beta/generated/models/security/user_evidence.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .alert_evidence import AlertEvidence + from .stream import Stream from .user_account import UserAccount from .alert_evidence import AlertEvidence @@ -13,6 +14,8 @@ class UserEvidence(AlertEvidence): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.userEvidence" + # The stream property + stream: Optional[Stream] = None # The user account details. user_account: Optional[UserAccount] = None @@ -33,12 +36,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .alert_evidence import AlertEvidence + from .stream import Stream from .user_account import UserAccount from .alert_evidence import AlertEvidence + from .stream import Stream from .user_account import UserAccount fields: Dict[str, Callable[[Any], None]] = { + "stream": lambda n : setattr(self, 'stream', n.get_object_value(Stream)), "userAccount": lambda n : setattr(self, 'user_account', n.get_object_value(UserAccount)), } super_fields = super().get_field_deserializers() @@ -54,6 +60,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("stream", self.stream) writer.write_object_value("userAccount", self.user_account) diff --git a/msgraph_beta/generated/models/service_principal.py b/msgraph_beta/generated/models/service_principal.py index 165d2853b7c..d77a38e4f9b 100644 --- a/msgraph_beta/generated/models/service_principal.py +++ b/msgraph_beta/generated/models/service_principal.py @@ -37,11 +37,11 @@ class ServicePrincipal(DirectoryObject): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.servicePrincipal" - # true if the service principal account is enabled; otherwise, false. If set to false, then no users will be able to sign in to this app, even if they are assigned to it. Supports $filter (eq, ne, not, in). + # true if the service principal account is enabled; otherwise, false. If set to false, then no users are able to sign in to this app, even if they're assigned to it. Supports $filter (eq, ne, not, in). account_enabled: Optional[bool] = None - # Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on. + # Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This lets services like Microsoft 365 call the application in the context of a document the user is working on. add_ins: Optional[List[AddIn]] = None - # Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, not, ge, le, startsWith). + # Used to retrieve service principals by subscription, identify resource group and full resource IDs for managed identities. Supports $filter (eq, not, ge, le, startsWith). alternative_names: Optional[List[str]] = None # The description exposed by the associated application. app_description: Optional[str] = None @@ -51,7 +51,7 @@ class ServicePrincipal(DirectoryObject): app_id: Optional[str] = None # The appManagementPolicy applied to this service principal. app_management_policies: Optional[List[AppManagementPolicy]] = None - # Contains the tenant id where the application is registered. This is applicable only to service principals backed by applications. Supports $filter (eq, ne, NOT, ge, le). + # Contains the tenant ID where the application is registered. This is applicable only to service principals backed by applications. Supports $filter (eq, ne, NOT, ge, le). app_owner_organization_id: Optional[UUID] = None # App role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. app_role_assigned_to: Optional[List[AppRoleAssignment]] = None @@ -59,9 +59,9 @@ class ServicePrincipal(DirectoryObject): app_role_assignment_required: Optional[bool] = None # App role assignment for another app or service, granted to this service principal. Supports $expand. app_role_assignments: Optional[List[AppRoleAssignment]] = None - # The roles exposed by the application, which this service principal represents. For more information see the appRoles property definition on the application entity. Not nullable. + # The roles exposed by the application, which this service principal represents. For more information, see the appRoles property definition on the application entity. Not nullable. app_roles: Optional[List[AppRole]] = None - # Unique identifier of the applicationTemplate that the servicePrincipal was created from. Read-only. Supports $filter (eq, ne, NOT, startsWith). + # Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne). Read-only. null if the app wasn't created from an application template. application_template_id: Optional[str] = None # The claimsMappingPolicies assigned to this service principal. Supports $expand. claims_mapping_policies: Optional[List[ClaimsMappingPolicy]] = None @@ -71,7 +71,7 @@ class ServicePrincipal(DirectoryObject): custom_security_attributes: Optional[CustomSecurityAttributeValue] = None # The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. delegated_permission_classifications: Optional[List[DelegatedPermissionClassification]] = None - # Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + # Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps displays the application description in this field. The maximum allowed size is 1,024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. 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 @@ -95,11 +95,11 @@ class ServicePrincipal(DirectoryObject): license_details: Optional[List[LicenseDetails]] = None # Specifies the URL where the service provider redirects the user to Microsoft Entra ID to authenticate. Microsoft Entra ID uses the URL to launch the application from Microsoft 365 or the Microsoft Entra My Apps. When blank, Microsoft Entra ID performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Microsoft Entra My Apps, or the Microsoft Entra SSO URL. login_url: Optional[str] = None - # Specifies the URL that will be used by Microsoft's authorization service to logout an user using OpenId Connect front-channel, back-channel or SAML logout protocols. + # Specifies the URL that the Microsoft's authorization service uses to sign out a user using OpenId Connect front-channel, back-channel, or SAML sign out protocols. logout_url: Optional[str] = None # Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. member_of: Optional[List[DirectoryObject]] = None - # Free text field to capture information about the service principal, typically used for operational purposes. Maximum allowed size is 1024 characters. + # Free text field to capture information about the service principal, typically used for operational purposes. Maximum allowed size is 1,024 characters. notes: Optional[str] = None # Specifies the list of email addresses where Microsoft Entra ID sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Microsoft Entra Gallery applications. notification_email_addresses: Optional[List[str]] = None @@ -107,7 +107,7 @@ class ServicePrincipal(DirectoryObject): oauth2_permission_grants: Optional[List[OAuth2PermissionGrant]] = None # Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). owned_objects: Optional[List[DirectoryObject]] = None - # Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + # Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). owners: Optional[List[DirectoryObject]] = None # The collection of password credentials associated with the service principal. Not nullable. password_credentials: Optional[List[PasswordCredential]] = None @@ -115,11 +115,11 @@ class ServicePrincipal(DirectoryObject): password_single_sign_on_settings: Optional[PasswordSingleSignOnSettings] = None # Specifies the single sign-on mode configured for this application. Microsoft Entra ID uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Microsoft Entra My Apps. The supported values are password, saml, notSupported, and oidc. preferred_single_sign_on_mode: Optional[str] = None - # Specifies the expiration date of the keyCredential used for token signing, marked by preferredTokenSigningKeyThumbprint. Updating this attribute is not currentlysupported. For details, see ServicePrincipal property differences. + # Specifies the expiration date of the keyCredential used for token signing, marked by preferredTokenSigningKeyThumbprint. Updating this attribute isn't currently supported. For details, see ServicePrincipal property differences. preferred_token_signing_key_end_date_time: Optional[datetime.datetime] = None - # This property can be used on SAML applications (apps that have preferredSingleSignOnMode set to saml) to control which certificate is used to sign the SAML responses. For applications that are not SAML, do not write or otherwise rely on this property. + # This property can be used on SAML applications (apps that have preferredSingleSignOnMode set to saml) to control which certificate is used to sign the SAML responses. For applications that aren't SAML, don't write or otherwise rely on this property. preferred_token_signing_key_thumbprint: Optional[str] = None - # The delegated permissions exposed by the application. For more information see the oauth2PermissionScopes property on the application entity's api property. Not nullable. Note: This property is named oauth2PermissionScopes in v1.0. + # The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. Note: This property is named oauth2PermissionScopes in v1.0. published_permission_scopes: Optional[List[PermissionScope]] = None # The name of the Microsoft Entra tenant that published the application. publisher_name: Optional[str] = None @@ -131,11 +131,11 @@ class ServicePrincipal(DirectoryObject): saml_metadata_url: Optional[str] = None # The collection for settings related to saml single sign-on. saml_single_sign_on_settings: Optional[SamlSingleSignOnSettings] = None - # Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Microsoft Entra ID. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + # Contains the list of identifiersUris, copied over from the associated application. More values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Microsoft Entra ID. For example,Client apps can specify a resource URI that is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith). service_principal_names: Optional[List[str]] = None - # Identifies if the service principal represents an application or a managed identity. This is set by Microsoft Entra ID internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use. + # Identifies if the service principal represents an application or a managed identity. This is set by Microsoft Entra ID internally. For a service principal that represents an application this is set as Application. For a service principal that represents a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use. service_principal_type: Optional[str] = None - # Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization's Microsoft Entra tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization's Microsoft Entra tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization's Microsoft Entra tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. + # Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization's Microsoft Entra tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization's Microsoft Entra tenant (multitenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization's Microsoft Entra tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. sign_in_audience: Optional[str] = None # Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. synchronization: Optional[Synchronization] = None @@ -149,7 +149,7 @@ class ServicePrincipal(DirectoryObject): token_lifetime_policies: Optional[List[TokenLifetimePolicy]] = None # The transitiveMemberOf property transitive_member_of: Optional[List[DirectoryObject]] = None - # Specifies the verified publisher of the application which this service principal represents. + # Specifies the verified publisher of the application that's linked to this service principal. verified_publisher: Optional[VerifiedPublisher] = None @staticmethod diff --git a/msgraph_beta/generated/models/shifts_role_definition.py b/msgraph_beta/generated/models/shifts_role_definition.py index 1a16d1e97e5..daa9fe1c90e 100644 --- a/msgraph_beta/generated/models/shifts_role_definition.py +++ b/msgraph_beta/generated/models/shifts_role_definition.py @@ -11,13 +11,13 @@ @dataclass class ShiftsRoleDefinition(Entity): - # The description property + # The description of the role. description: Optional[str] = None - # The displayName property + # The display name of the role. display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The shiftsRolePermissions property + # The collection of role permissions within the role. shifts_role_permissions: Optional[List[ShiftsRolePermission]] = None @staticmethod diff --git a/msgraph_beta/generated/models/shifts_role_permission.py b/msgraph_beta/generated/models/shifts_role_permission.py index 09848185954..c2b60b92435 100644 --- a/msgraph_beta/generated/models/shifts_role_permission.py +++ b/msgraph_beta/generated/models/shifts_role_permission.py @@ -11,7 +11,7 @@ class ShiftsRolePermission(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 allowedResourceActions property + # The permissions that are allowed for a role. Permissions that aren't in this collection are disabled. allowed_resource_actions: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/sign_in.py b/msgraph_beta/generated/models/sign_in.py index ba3066bedf6..95dc11e458c 100644 --- a/msgraph_beta/generated/models/sign_in.py +++ b/msgraph_beta/generated/models/sign_in.py @@ -46,9 +46,9 @@ class SignIn(Entity): app_id: Optional[str] = None # The appTokenProtectionStatus property app_token_protection_status: Optional[TokenProtectionStatus] = None - # A list of conditional access policies that are triggered by the corresponding sign-in activity. Apps need additional Conditional Access-related privileges to read the details of this property. For more information, see Viewing applied conditional access (CA) policies in sign-ins. + # A list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Viewing applied conditional access (CA) policies in sign-ins. applied_conditional_access_policies: Optional[List[AppliedConditionalAccessPolicy]] = None - # Detailed information about the listeners, such as Azure Logic Apps and Azure Functions, which were triggered by the corresponding events in the sign-in event. + # Detailed information about the listeners, such as Azure Logic Apps and Azure Functions, which the corresponding events in the sign-in event triggered. applied_event_listeners: Optional[List[AppliedAuthenticationEventListener]] = None # Provides details about the app and device used during a Microsoft Entra authentication step. authentication_app_device_details: Optional[AuthenticationAppDeviceDetails] = None @@ -78,11 +78,11 @@ class SignIn(Entity): client_credential_type: Optional[ClientCredentialType] = None # The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). conditional_access_status: Optional[ConditionalAccessStatus] = None - # The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). + # The identifier the client sends when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). correlation_id: Optional[str] = None # The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). created_date_time: Optional[datetime.datetime] = None - # Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue, passthrough. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: passthrough. If the sign in didn't cross tenant boundaries, the value is none. + # Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue, passthrough. Also, note that you must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: passthrough. If the sign in didn't cross tenant boundaries, the value is none. cross_tenant_access_type: Optional[SignInAccessType] = None # The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. device_detail: Optional[DeviceDetail] = None @@ -94,7 +94,7 @@ class SignIn(Entity): home_tenant_id: Optional[str] = None # For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Microsoft Entra ID to show the tenant content. home_tenant_name: Optional[str] = None - # Indicates the token types that were presented to Microsoft Entra ID to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Microsoft Entra ID might have also used token types not listed in this enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. + # Indicates the token types that were presented to Microsoft Entra ID to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Microsoft Entra ID might have also used token types not listed in this enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, note that you must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: remoteDesktopToken. incoming_token_type: Optional[IncomingTokenType] = None # The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). ip_address: Optional[str] = None @@ -130,7 +130,7 @@ class SignIn(Entity): resource_service_principal_id: Optional[str] = None # The tenant identifier of the resource referenced in the sign in. resource_tenant_id: Optional[str] = None - # The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that Microsoft Entra risk detection has not flagged the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. + # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection has not flagged the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. risk_detail: Optional[RiskDetail] = None # The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). risk_event_types_v2: Optional[List[str]] = None diff --git a/msgraph_beta/generated/models/sign_in_activity.py b/msgraph_beta/generated/models/sign_in_activity.py index acebf2339db..2ebb11b515d 100644 --- a/msgraph_beta/generated/models/sign_in_activity.py +++ b/msgraph_beta/generated/models/sign_in_activity.py @@ -12,7 +12,7 @@ class SignInActivity(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 last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted (either successfully or unsuccessfully) to sign in to the directory the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Microsoft Entra ID maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Microsoft Entra ID. + # The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted (either successfully or unsuccessfully) to sign in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Microsoft Entra ID maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Microsoft Entra ID. last_non_interactive_sign_in_date_time: Optional[datetime.datetime] = None # Request identifier of the last non-interactive sign-in performed by this user. last_non_interactive_sign_in_request_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/simulation_attack_technique.py b/msgraph_beta/generated/models/simulation_attack_technique.py index 01d9f7519ed..ab0e06487e7 100644 --- a/msgraph_beta/generated/models/simulation_attack_technique.py +++ b/msgraph_beta/generated/models/simulation_attack_technique.py @@ -9,4 +9,5 @@ class SimulationAttackTechnique(str, Enum): LinkToMalwareFile = "linkToMalwareFile", UnknownFutureValue = "unknownFutureValue", OAuthConsentGrant = "oAuthConsentGrant", + PhishTraining = "phishTraining", diff --git a/msgraph_beta/generated/models/subscription.py b/msgraph_beta/generated/models/subscription.py index 07adaaca66f..1024798cc19 100644 --- a/msgraph_beta/generated/models/subscription.py +++ b/msgraph_beta/generated/models/subscription.py @@ -13,7 +13,7 @@ class Subscription(Entity): # Optional. Identifier of the application used to create the subscription. Read-only. application_id: Optional[str] = None - # Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. Use updated to receive notifications when user or group is created, updated or soft deleted. Use deleted to receive notifications when user or group is permanently deleted. + # Required. Indicates the type of change in the subscribed resource that raises a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. Use updated to receive notifications when user or group is created, updated, or soft deleted. Use deleted to receive notifications when user or group is permanently deleted. change_type: Optional[str] = None # Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 255 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. client_state: Optional[str] = None @@ -23,7 +23,7 @@ class Subscription(Entity): encryption_certificate: Optional[str] = None # Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when includeResourceData is true. encryption_certificate_id: Optional[str] = None - # Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. For the maximum supported subscription length of time, see the table below. + # Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. For the maximum supported subscription length of time, see Subscription lifetime. expiration_date_time: Optional[datetime.datetime] = None # Optional. When set to true, change notifications include resource data (such as content of a chat message). include_resource_data: Optional[bool] = None @@ -33,15 +33,15 @@ class Subscription(Entity): lifecycle_notification_url: Optional[str] = None # Optional. Desired content-type for Microsoft Graph change notifications for supported resource types. The default content-type is application/json. notification_content_type: Optional[str] = None - # Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. Supported only for Universal Print Service. For more information, see Subscribe to change notifications from cloud printing APIs using Microsoft Graph. + # Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. Supported only for Universal Print Service. For more information, see Subscribe to change notifications from cloud printing APIs using Microsoft Graph. notification_query_options: Optional[str] = None - # Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Any query string parameter included in the notificationUrl property will be included in the HTTP POST request when Microsoft Graph sends the change notifications. + # Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Any query string parameter included in the notificationUrl property is included in the HTTP POST request when Microsoft Graph sends the change notifications. notification_url: Optional[str] = None - # Optional. The app ID that the subscription service can use to generate the validation token. This allows the client to validate the authenticity of the notification received. + # Optional. The app ID that the subscription service can use to generate the validation token. The value allows the client to validate the authenticity of the notification received. notification_url_app_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. + # Required. Specifies the resource that is monitored for changes. Don't include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. resource: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/configuration.py b/msgraph_beta/generated/models/teams_user_configuration/configuration.py similarity index 100% rename from msgraph_beta/generated/models/configuration.py rename to msgraph_beta/generated/models/teams_user_configuration/configuration.py diff --git a/msgraph_beta/generated/models/teams_user_configuration/teams_admin_root.py b/msgraph_beta/generated/models/teams_user_configuration/teams_admin_root.py new file mode 100644 index 00000000000..fd565e15d03 --- /dev/null +++ b/msgraph_beta/generated/models/teams_user_configuration/teams_admin_root.py @@ -0,0 +1,52 @@ +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 ..entity import Entity + +@dataclass +class TeamsAdminRoot(Entity): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TeamsAdminRoot: + """ + 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: TeamsAdminRoot + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TeamsAdminRoot() + + 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 ..entity import Entity + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/user_configuration.py b/msgraph_beta/generated/models/teams_user_configuration/user_configuration.py similarity index 93% rename from msgraph_beta/generated/models/user_configuration.py rename to msgraph_beta/generated/models/teams_user_configuration/user_configuration.py index 37a6af1e283..ef030ff720b 100644 --- a/msgraph_beta/generated/models/user_configuration.py +++ b/msgraph_beta/generated/models/teams_user_configuration/user_configuration.py @@ -4,9 +4,9 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .entity import Entity + from ..entity import Entity -from .entity import Entity +from ..entity import Entity @dataclass class UserConfiguration(Entity): @@ -31,9 +31,9 @@ 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 ..entity import Entity - from .entity import Entity + from ..entity import Entity fields: Dict[str, Callable[[Any], None]] = { "binaryData": lambda n : setattr(self, 'binary_data', n.get_bytes_value()), diff --git a/msgraph_beta/generated/models/training.py b/msgraph_beta/generated/models/training.py index 6ad17ad422e..78e709888c5 100644 --- a/msgraph_beta/generated/models/training.py +++ b/msgraph_beta/generated/models/training.py @@ -22,6 +22,8 @@ class Training(Entity): created_by: Optional[EmailIdentity] = None # Date and time when the training was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. created_date_time: Optional[datetime.datetime] = None + # The customUrl property + custom_url: Optional[str] = None # The description for the training. description: Optional[str] = None # The display name for the training. @@ -81,6 +83,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "availabilityStatus": lambda n : setattr(self, 'availability_status', n.get_enum_value(TrainingAvailabilityStatus)), "createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(EmailIdentity)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "customUrl": lambda n : setattr(self, 'custom_url', n.get_str_value()), "description": lambda n : setattr(self, 'description', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "durationInMinutes": lambda n : setattr(self, 'duration_in_minutes', n.get_int_value()), @@ -109,6 +112,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("availabilityStatus", self.availability_status) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("customUrl", self.custom_url) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_int_value("durationInMinutes", self.duration_in_minutes) diff --git a/msgraph_beta/generated/models/training_campaign.py b/msgraph_beta/generated/models/training_campaign.py new file mode 100644 index 00000000000..5f69e4d3115 --- /dev/null +++ b/msgraph_beta/generated/models/training_campaign.py @@ -0,0 +1,119 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .account_target_content import AccountTargetContent + from .campaign_schedule import CampaignSchedule + from .email_identity import EmailIdentity + from .end_user_notification_setting import EndUserNotificationSetting + from .entity import Entity + from .training_campaign_report import TrainingCampaignReport + from .training_setting import TrainingSetting + +from .entity import Entity + +@dataclass +class TrainingCampaign(Entity): + # The campaignSchedule property + campaign_schedule: Optional[CampaignSchedule] = None + # The createdBy property + created_by: Optional[EmailIdentity] = 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 endUserNotificationSetting property + end_user_notification_setting: Optional[EndUserNotificationSetting] = None + # The excludedAccountTarget property + excluded_account_target: Optional[AccountTargetContent] = None + # The includedAccountTarget property + included_account_target: Optional[AccountTargetContent] = None + # The lastModifiedBy property + last_modified_by: Optional[EmailIdentity] = None + # The lastModifiedDateTime property + last_modified_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The report property + report: Optional[TrainingCampaignReport] = None + # The trainingSetting property + training_setting: Optional[TrainingSetting] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TrainingCampaign: + """ + 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: TrainingCampaign + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TrainingCampaign() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .account_target_content import AccountTargetContent + from .campaign_schedule import CampaignSchedule + from .email_identity import EmailIdentity + from .end_user_notification_setting import EndUserNotificationSetting + from .entity import Entity + from .training_campaign_report import TrainingCampaignReport + from .training_setting import TrainingSetting + + from .account_target_content import AccountTargetContent + from .campaign_schedule import CampaignSchedule + from .email_identity import EmailIdentity + from .end_user_notification_setting import EndUserNotificationSetting + from .entity import Entity + from .training_campaign_report import TrainingCampaignReport + from .training_setting import TrainingSetting + + fields: Dict[str, Callable[[Any], None]] = { + "campaignSchedule": lambda n : setattr(self, 'campaign_schedule', n.get_object_value(CampaignSchedule)), + "createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(EmailIdentity)), + "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()), + "endUserNotificationSetting": lambda n : setattr(self, 'end_user_notification_setting', n.get_object_value(EndUserNotificationSetting)), + "excludedAccountTarget": lambda n : setattr(self, 'excluded_account_target', n.get_object_value(AccountTargetContent)), + "includedAccountTarget": lambda n : setattr(self, 'included_account_target', n.get_object_value(AccountTargetContent)), + "lastModifiedBy": lambda n : setattr(self, 'last_modified_by', n.get_object_value(EmailIdentity)), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), + "report": lambda n : setattr(self, 'report', n.get_object_value(TrainingCampaignReport)), + "trainingSetting": lambda n : setattr(self, 'training_setting', n.get_object_value(TrainingSetting)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("campaignSchedule", self.campaign_schedule) + 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) + writer.write_object_value("endUserNotificationSetting", self.end_user_notification_setting) + writer.write_object_value("excludedAccountTarget", self.excluded_account_target) + writer.write_object_value("includedAccountTarget", self.included_account_target) + writer.write_object_value("lastModifiedBy", self.last_modified_by) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) + writer.write_object_value("report", self.report) + writer.write_object_value("trainingSetting", self.training_setting) + + diff --git a/msgraph_beta/generated/models/training_campaign_collection_response.py b/msgraph_beta/generated/models/training_campaign_collection_response.py new file mode 100644 index 00000000000..c7ffef4bf50 --- /dev/null +++ b/msgraph_beta/generated/models/training_campaign_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .training_campaign import TrainingCampaign + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class TrainingCampaignCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[TrainingCampaign]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TrainingCampaignCollectionResponse: + """ + 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: TrainingCampaignCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TrainingCampaignCollectionResponse() + + 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 .training_campaign import TrainingCampaign + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .training_campaign import TrainingCampaign + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(TrainingCampaign)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/training_campaign_report.py b/msgraph_beta/generated/models/training_campaign_report.py new file mode 100644 index 00000000000..dd71a5dd5d4 --- /dev/null +++ b/msgraph_beta/generated/models/training_campaign_report.py @@ -0,0 +1,67 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .training_campaign_report_overview import TrainingCampaignReportOverview + from .user_simulation_details import UserSimulationDetails + +@dataclass +class TrainingCampaignReport(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 campaignUsers property + campaign_users: Optional[List[UserSimulationDetails]] = None + # The OdataType property + odata_type: Optional[str] = None + # The overview property + overview: Optional[TrainingCampaignReportOverview] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TrainingCampaignReport: + """ + 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: TrainingCampaignReport + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TrainingCampaignReport() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .training_campaign_report_overview import TrainingCampaignReportOverview + from .user_simulation_details import UserSimulationDetails + + from .training_campaign_report_overview import TrainingCampaignReportOverview + from .user_simulation_details import UserSimulationDetails + + fields: Dict[str, Callable[[Any], None]] = { + "campaignUsers": lambda n : setattr(self, 'campaign_users', n.get_collection_of_object_values(UserSimulationDetails)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "overview": lambda n : setattr(self, 'overview', n.get_object_value(TrainingCampaignReportOverview)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("campaignUsers", self.campaign_users) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("overview", self.overview) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/training_campaign_report_overview.py b/msgraph_beta/generated/models/training_campaign_report_overview.py new file mode 100644 index 00000000000..3c0e23eab18 --- /dev/null +++ b/msgraph_beta/generated/models/training_campaign_report_overview.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 .training_events_content import TrainingEventsContent + from .training_notification_delivery import TrainingNotificationDelivery + from .user_training_completion_summary import UserTrainingCompletionSummary + +@dataclass +class TrainingCampaignReportOverview(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The OdataType property + odata_type: Optional[str] = None + # The trainingModuleCompletion property + training_module_completion: Optional[TrainingEventsContent] = None + # The trainingNotificationDeliveryStatus property + training_notification_delivery_status: Optional[TrainingNotificationDelivery] = None + # The userCompletionStatus property + user_completion_status: Optional[UserTrainingCompletionSummary] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TrainingCampaignReportOverview: + """ + 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: TrainingCampaignReportOverview + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TrainingCampaignReportOverview() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .training_events_content import TrainingEventsContent + from .training_notification_delivery import TrainingNotificationDelivery + from .user_training_completion_summary import UserTrainingCompletionSummary + + from .training_events_content import TrainingEventsContent + from .training_notification_delivery import TrainingNotificationDelivery + from .user_training_completion_summary import UserTrainingCompletionSummary + + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "trainingModuleCompletion": lambda n : setattr(self, 'training_module_completion', n.get_object_value(TrainingEventsContent)), + "trainingNotificationDeliveryStatus": lambda n : setattr(self, 'training_notification_delivery_status', n.get_object_value(TrainingNotificationDelivery)), + "userCompletionStatus": lambda n : setattr(self, 'user_completion_status', n.get_object_value(UserTrainingCompletionSummary)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("trainingModuleCompletion", self.training_module_completion) + writer.write_object_value("trainingNotificationDeliveryStatus", self.training_notification_delivery_status) + writer.write_object_value("userCompletionStatus", self.user_completion_status) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/training_notification_delivery.py b/msgraph_beta/generated/models/training_notification_delivery.py new file mode 100644 index 00000000000..7eb9c02fb5f --- /dev/null +++ b/msgraph_beta/generated/models/training_notification_delivery.py @@ -0,0 +1,61 @@ +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 TrainingNotificationDelivery(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 failedMessageDeliveryCount property + failed_message_delivery_count: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # The resolvedTargetsCount property + resolved_targets_count: Optional[int] = None + # The successfulMessageDeliveryCount property + successful_message_delivery_count: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TrainingNotificationDelivery: + """ + 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: TrainingNotificationDelivery + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TrainingNotificationDelivery() + + 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]] = { + "failedMessageDeliveryCount": lambda n : setattr(self, 'failed_message_delivery_count', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "resolvedTargetsCount": lambda n : setattr(self, 'resolved_targets_count', n.get_int_value()), + "successfulMessageDeliveryCount": lambda n : setattr(self, 'successful_message_delivery_count', n.get_int_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_int_value("failedMessageDeliveryCount", self.failed_message_delivery_count) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_int_value("resolvedTargetsCount", self.resolved_targets_count) + writer.write_int_value("successfulMessageDeliveryCount", self.successful_message_delivery_count) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule.py b/msgraph_beta/generated/models/unified_role_assignment_schedule.py index a8a204efaa5..39b8580d098 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule.py @@ -12,11 +12,11 @@ @dataclass class UnifiedRoleAssignmentSchedule(UnifiedRoleScheduleBase): - # If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + # If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. activated_using: Optional[UnifiedRoleEligibilitySchedule] = None - # Type of the assignment which can either be Assigned or Activated. Supports $filter (eq, ne). + # The type of the assignment that can either be Assigned or Activated. Supports $filter (eq, ne). assignment_type: Optional[str] = None - # How the assignments is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne). + # How the assignment is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne). member_type: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py index 8884f6394df..026d8151ac6 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py @@ -12,17 +12,17 @@ @dataclass class UnifiedRoleAssignmentScheduleInstance(UnifiedRoleScheduleInstanceBase): - # If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + # If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. activated_using: Optional[UnifiedRoleEligibilityScheduleInstance] = None - # Type of the assignment which can either be Assigned or Activated. Supports $filter (eq, ne). + # The type of the assignment that can either be Assigned or Activated. Supports $filter (eq, ne). assignment_type: Optional[str] = None # The end date of the schedule instance. end_date_time: Optional[datetime.datetime] = None - # How the assignments is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne). + # How the assignment is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleAssignmentSchedule can be managed by the caller. Supports $filter (eq, ne). member_type: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The identifier of the role assignment in Azure AD. + # The identifier of the role assignment in Microsoft Entra ID. role_assignment_origin_id: Optional[str] = None # The identifier of the unifiedRoleAssignmentSchedule object from which this instance was created. role_assignment_schedule_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py index fd896d381bc..59eb4903798 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py @@ -21,7 +21,7 @@ class UnifiedRoleAssignmentScheduleRequest(Request): odata_type: Optional[str] = "#microsoft.graph.unifiedRoleAssignmentScheduleRequest" # Represents the type of the operation on the role assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew, selfExtend, selfRenew, unknownFutureValue. adminAssign: For administrators to assign roles to principals.adminRemove: For administrators to remove principals from roles. adminUpdate: For administrators to change existing role assignments.adminExtend: For administrators to extend expiring assignments.adminRenew: For administrators to renew expired assignments.selfActivate: For principals to activate their assignments.selfDeactivate: For principals to deactivate their active assignments.selfExtend: For principals to request to extend their expiring assignments.selfRenew: For principals to request to renew their expired assignments. action: Optional[str] = None - # If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + # If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. activated_using: Optional[UnifiedRoleEligibilitySchedule] = None # Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand. app_scope: Optional[AppScope] = None @@ -35,17 +35,17 @@ class UnifiedRoleAssignmentScheduleRequest(Request): is_validation_only: Optional[bool] = None # A message provided by users and administrators when create they create the unifiedRoleAssignmentScheduleRequest object. justification: Optional[str] = None - # The principal that's getting a role assignment through the request. Supports $expand. + # The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. principal: Optional[DirectoryObject] = None # Identifier of the principal that has been granted the assignment. Can be a user, role-assignable group, or a service principal. Supports $filter (eq, ne). principal_id: Optional[str] = None - # Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + # Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. role_definition: Optional[UnifiedRoleDefinition] = None # Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne). role_definition_id: Optional[str] = None # The period of the role assignment. Recurring schedules are currently unsupported. schedule_info: Optional[RequestSchedule] = None - # The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + # The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. target_schedule: Optional[UnifiedRoleAssignmentSchedule] = None # Identifier of the schedule object that's linked to the assignment request. Supports $filter (eq, ne). target_schedule_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/upload_session.py b/msgraph_beta/generated/models/upload_session.py index 7ee9d143730..54622914855 100644 --- a/msgraph_beta/generated/models/upload_session.py +++ b/msgraph_beta/generated/models/upload_session.py @@ -12,9 +12,9 @@ class UploadSession(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 date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + # The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. expiration_date_time: Optional[datetime.datetime] = None - # When uploading files to document libraries, this is a collection of byte ranges that the server is missing for the file. These ranges are zero-indexed and of the format, '{start}-{end}' (for example '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin. + # When uploading files to document libraries, this property is a collection of byte ranges that the server is missing for the file. These ranges are zero-indexed and of the format, '{start}-{end}' (for example '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin. next_expected_ranges: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/user_configuration_collection_response.py b/msgraph_beta/generated/models/user_configuration_collection_response.py index c9b0a1d5840..d93abea676a 100644 --- a/msgraph_beta/generated/models/user_configuration_collection_response.py +++ b/msgraph_beta/generated/models/user_configuration_collection_response.py @@ -5,7 +5,7 @@ if TYPE_CHECKING: from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @@ -31,10 +31,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse - from .user_configuration import UserConfiguration + from .teams_user_configuration.user_configuration import UserConfiguration fields: Dict[str, Callable[[Any], None]] = { "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(UserConfiguration)), diff --git a/msgraph_beta/generated/models/user_settings.py b/msgraph_beta/generated/models/user_settings.py index 377df245335..2043ee14030 100644 --- a/msgraph_beta/generated/models/user_settings.py +++ b/msgraph_beta/generated/models/user_settings.py @@ -29,7 +29,7 @@ class UserSettings(Entity): regional_and_language_settings: Optional[RegionalAndLanguageSettings] = None # The shift preferences for the user. shift_preferences: Optional[ShiftPreferences] = None - # The windows property + # The Windows settings of the user stored in the cloud. windows: Optional[List[WindowsSetting]] = None @staticmethod diff --git a/msgraph_beta/generated/models/user_training_completion_summary.py b/msgraph_beta/generated/models/user_training_completion_summary.py new file mode 100644 index 00000000000..bc8b303b938 --- /dev/null +++ b/msgraph_beta/generated/models/user_training_completion_summary.py @@ -0,0 +1,69 @@ +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 UserTrainingCompletionSummary(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 completedUsersCount property + completed_users_count: Optional[int] = None + # The inProgressUsersCount property + in_progress_users_count: Optional[int] = None + # The notCompletedUsersCount property + not_completed_users_count: Optional[int] = None + # The notStartedUsersCount property + not_started_users_count: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # The previouslyAssignedUsersCount property + previously_assigned_users_count: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UserTrainingCompletionSummary: + """ + 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: UserTrainingCompletionSummary + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return UserTrainingCompletionSummary() + + 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]] = { + "completedUsersCount": lambda n : setattr(self, 'completed_users_count', n.get_int_value()), + "inProgressUsersCount": lambda n : setattr(self, 'in_progress_users_count', n.get_int_value()), + "notCompletedUsersCount": lambda n : setattr(self, 'not_completed_users_count', n.get_int_value()), + "notStartedUsersCount": lambda n : setattr(self, 'not_started_users_count', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "previouslyAssignedUsersCount": lambda n : setattr(self, 'previously_assigned_users_count', n.get_int_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_int_value("completedUsersCount", self.completed_users_count) + writer.write_int_value("inProgressUsersCount", self.in_progress_users_count) + writer.write_int_value("notCompletedUsersCount", self.not_completed_users_count) + writer.write_int_value("notStartedUsersCount", self.not_started_users_count) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_int_value("previouslyAssignedUsersCount", self.previously_assigned_users_count) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/win32_catalog_app.py b/msgraph_beta/generated/models/win32_catalog_app.py index e024fe6bce8..7b0305b3c68 100644 --- a/msgraph_beta/generated/models/win32_catalog_app.py +++ b/msgraph_beta/generated/models/win32_catalog_app.py @@ -4,6 +4,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .mobile_app_catalog_package import MobileAppCatalogPackage from .win32_lob_app import Win32LobApp from .win32_lob_app import Win32LobApp @@ -15,8 +16,12 @@ class Win32CatalogApp(Win32LobApp): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.win32CatalogApp" + # The latest available catalog package the app is upgradeable to. This property is read-only. + latest_upgrade_catalog_package: Optional[MobileAppCatalogPackage] = None # The mobileAppCatalogPackageId property references the mobileAppCatalogPackage entity which contains information about an application catalog package that can be deployed to Intune-managed devices mobile_app_catalog_package_id: Optional[str] = None + # The current catalog package the app is synced from. This property is read-only. + referenced_catalog_package: Optional[MobileAppCatalogPackage] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Win32CatalogApp: @@ -34,12 +39,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .mobile_app_catalog_package import MobileAppCatalogPackage from .win32_lob_app import Win32LobApp + from .mobile_app_catalog_package import MobileAppCatalogPackage from .win32_lob_app import Win32LobApp fields: Dict[str, Callable[[Any], None]] = { + "latestUpgradeCatalogPackage": lambda n : setattr(self, 'latest_upgrade_catalog_package', n.get_object_value(MobileAppCatalogPackage)), "mobileAppCatalogPackageId": lambda n : setattr(self, 'mobile_app_catalog_package_id', n.get_str_value()), + "referencedCatalogPackage": lambda n : setattr(self, 'referenced_catalog_package', n.get_object_value(MobileAppCatalogPackage)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -54,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("latestUpgradeCatalogPackage", self.latest_upgrade_catalog_package) writer.write_str_value("mobileAppCatalogPackageId", self.mobile_app_catalog_package_id) + writer.write_object_value("referencedCatalogPackage", self.referenced_catalog_package) diff --git a/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py b/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py new file mode 100644 index 00000000000..91829dadb5d --- /dev/null +++ b/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .windows_architecture import WindowsArchitecture + +from .mobile_app_catalog_package import MobileAppCatalogPackage + +@dataclass +class Win32MobileAppCatalogPackage(MobileAppCatalogPackage): + """ + win32MobileAppCatalogPackage extends mobileAppCatalogPackage by providing information necessary for the creation of a win32CatalogApp instance. + """ + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.win32MobileAppCatalogPackage" + # Contains properties for Windows architecture. + applicable_architectures: Optional[WindowsArchitecture] = None + # The product branch name, which is a specific subset of product functionality as defined by the publisher (example: "Fabrikam for Business (x64)"). A specific product will have one or more branchDisplayNames. Read-only. Supports $filter, $search, $select. This property is read-only. + branch_display_name: Optional[str] = None + # One or more locale(s) supported by the branch. Value is a two-letter ISO 639 language tags with optional two-letter subtags (example: en-US, ko, de, de-DE), or mul to indicate multi-language. Read-only. This property is read-only. + locales: Optional[List[str]] = None + # Indicates whether the package is capable to auto-update to latest when software/application updates are available. When TRUE, it indicates it is an auto-updating application. When FALSE, it indicates that it is not an auto-updating application. This property is read-only. + package_auto_update_capable: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Win32MobileAppCatalogPackage: + """ + 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: Win32MobileAppCatalogPackage + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Win32MobileAppCatalogPackage() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .windows_architecture import WindowsArchitecture + + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .windows_architecture import WindowsArchitecture + + fields: Dict[str, Callable[[Any], None]] = { + "applicableArchitectures": lambda n : setattr(self, 'applicable_architectures', n.get_collection_of_enum_values(WindowsArchitecture)), + "branchDisplayName": lambda n : setattr(self, 'branch_display_name', n.get_str_value()), + "locales": lambda n : setattr(self, 'locales', n.get_collection_of_primitive_values(str)), + "packageAutoUpdateCapable": lambda n : setattr(self, 'package_auto_update_capable', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("applicableArchitectures", self.applicable_architectures) + + diff --git a/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py b/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py index c98cc6505de..6069210a5e5 100644 --- a/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py +++ b/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py @@ -15,29 +15,29 @@ class Windows10EnrollmentCompletionPageConfiguration(DeviceEnrollmentConfigurati """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windows10EnrollmentCompletionPageConfiguration" - # Allow or block device reset on installation failure + # When TRUE, allows device reset on installation failure. When false, reset is blocked. The default is false. allow_device_reset_on_install_failure: Optional[bool] = None - # Allow the user to continue using the device on installation failure + # When TRUE, allows the user to continue using the device on installation failure. When false, blocks the user on installation failure. The default is false. allow_device_use_on_install_failure: Optional[bool] = None - # Allow or block log collection on installation failure + # When TRUE, allows log collection on installation failure. When false, log collection is not allowed. The default is false. allow_log_collection_on_install_failure: Optional[bool] = None - # Install all required apps as non blocking apps during white glove + # When TRUE, ESP (Enrollment Status Page) installs all required apps targeted during technician phase and ignores any failures for non-blocking apps. When FALSE, ESP fails on any error during app install. The default is false. allow_non_blocking_app_installation: Optional[bool] = None - # Allow the user to retry the setup on installation failure + # When TRUE, blocks user from retrying the setup on installation failure. When false, user is allowed to retry. The default is false. block_device_setup_retry_by_user: Optional[bool] = None - # Set custom error message to show upon installation failure + # The custom error message to show upon installation failure. Max length is 10000. example: 'Setup could not be completed. Please try again or contact your support person for help.' custom_error_message: Optional[str] = None - # Only show installation progress for first user post enrollment + # When TRUE, disables showing installation progress for first user post enrollment. When false, enables showing progress. The default is false. disable_user_status_tracking_after_first_user: Optional[bool] = None - # Set installation progress timeout in minutes + # The installation progress timeout in minutes. Default is 60 minutes. install_progress_timeout_in_minutes: Optional[int] = None # Allows quality updates installation during OOBE install_quality_updates: Optional[bool] = None - # Selected applications to track the installation status + # Selected applications to track the installation status. It is in the form of an array of GUIDs. selected_mobile_app_ids: Optional[List[str]] = None - # Show or hide installation progress to user + # When TRUE, shows installation progress to user. When false, hides installation progress. The default is false. show_installation_progress: Optional[bool] = None - # Only show installation progress for Autopilot enrollment scenarios + # When TRUE, installation progress is tracked for only Autopilot enrollment scenarios. When false, other scenarios are tracked as well. The default is false. track_install_progress_for_autopilot_only: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_domain_join_configuration.py b/msgraph_beta/generated/models/windows_domain_join_configuration.py index e366cacc69e..aeeb33994dc 100644 --- a/msgraph_beta/generated/models/windows_domain_join_configuration.py +++ b/msgraph_beta/generated/models/windows_domain_join_configuration.py @@ -21,7 +21,7 @@ class WindowsDomainJoinConfiguration(DeviceConfiguration): computer_name_static_prefix: Optional[str] = None # Dynamically generated characters used as suffix for computer name. Valid values 3 to 14 computer_name_suffix_random_char_count: Optional[int] = None - # Reference to device configurations required for network connectivity + # Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. network_access_configurations: Optional[List[DeviceConfiguration]] = None # Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain. organizational_unit: Optional[str] = None diff --git a/msgraph_beta/generated/models/windows_setting.py b/msgraph_beta/generated/models/windows_setting.py index bc5541aec69..4fbef337a76 100644 --- a/msgraph_beta/generated/models/windows_setting.py +++ b/msgraph_beta/generated/models/windows_setting.py @@ -12,15 +12,15 @@ @dataclass class WindowsSetting(Entity): - # The instances property + # A collection of setting values for a given windowsSetting. instances: Optional[List[WindowsSettingInstance]] = None # The OdataType property odata_type: Optional[str] = None - # The payloadType property + # The type of setting payloads contained in the instances navigation property. payload_type: Optional[str] = None # The settingType property setting_type: Optional[WindowsSettingType] = None - # The windowsDeviceId property + # A unique identifier for the device the setting might belong to if it is of the settingType backup. windows_device_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_setting_instance.py b/msgraph_beta/generated/models/windows_setting_instance.py index 41a32321dae..30e36447b1f 100644 --- a/msgraph_beta/generated/models/windows_setting_instance.py +++ b/msgraph_beta/generated/models/windows_setting_instance.py @@ -11,15 +11,15 @@ @dataclass class WindowsSettingInstance(Entity): - # The createdDateTime property + # Set by the server. Represents the dateTime in UTC when the object was created on the server. created_date_time: Optional[datetime.datetime] = None - # The expirationDateTime property + # Set by the server. The object expires at the specified dateTime in UTC, making it unavailable after that time. expiration_date_time: Optional[datetime.datetime] = None - # The lastModifiedDateTime property + # Set by the server if not provided in the request from the Windows client device. Refers to the user's Windows device that modified the object at the specified dateTime in UTC. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The payload property + # Base64-encoded JSON setting value. payload: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_universal_app_x.py b/msgraph_beta/generated/models/windows_universal_app_x.py index 7d98984ab42..98b446acf64 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x.py +++ b/msgraph_beta/generated/models/windows_universal_app_x.py @@ -23,7 +23,7 @@ class WindowsUniversalAppX(MobileLobApp): applicable_architectures: Optional[WindowsArchitecture] = None # Contains properties for Windows device type. Multiple values can be selected. Default value is `none`. applicable_device_types: Optional[WindowsDeviceType] = None - # The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + # The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. committed_contained_apps: Optional[List[MobileContainedApp]] = None # The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'Contoso.DemoApp'. identity_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/windows_updates/applicable_content.py b/msgraph_beta/generated/models/windows_updates/applicable_content.py index 7743ed6e7a9..77394296fae 100644 --- a/msgraph_beta/generated/models/windows_updates/applicable_content.py +++ b/msgraph_beta/generated/models/windows_updates/applicable_content.py @@ -15,9 +15,11 @@ class ApplicableContent(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 catalogEntry property + # Catalog entry for the update or content. catalog_entry: Optional[CatalogEntry] = None - # The matchedDevices property + # ID of the catalog entry for the applicable content. + catalog_entry_id: Optional[str] = None + # Collection of devices and recommendations for applicable catalog content. matched_devices: Optional[List[ApplicableContentDeviceMatch]] = None # The OdataType property odata_type: Optional[str] = None @@ -46,6 +48,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "catalogEntry": lambda n : setattr(self, 'catalog_entry', n.get_object_value(CatalogEntry)), + "catalogEntryId": lambda n : setattr(self, 'catalog_entry_id', n.get_str_value()), "matchedDevices": lambda n : setattr(self, 'matched_devices', n.get_collection_of_object_values(ApplicableContentDeviceMatch)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -60,6 +63,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_object_value("catalogEntry", self.catalog_entry) + writer.write_str_value("catalogEntryId", self.catalog_entry_id) writer.write_collection_of_object_values("matchedDevices", self.matched_devices) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py b/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py new file mode 100644 index 00000000000..c830bb6a009 --- /dev/null +++ b/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .applicable_content import ApplicableContent + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ApplicableContentCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ApplicableContent]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ApplicableContentCollectionResponse: + """ + 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: ApplicableContentCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ApplicableContentCollectionResponse() + + 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 .applicable_content import ApplicableContent + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .applicable_content import ApplicableContent + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ApplicableContent)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py b/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py new file mode 100644 index 00000000000..eb5282947cd --- /dev/null +++ b/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .applicable_content_device_match import ApplicableContentDeviceMatch + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ApplicableContentDeviceMatchCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ApplicableContentDeviceMatch]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ApplicableContentDeviceMatchCollectionResponse: + """ + 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: ApplicableContentDeviceMatchCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ApplicableContentDeviceMatchCollectionResponse() + + 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 .applicable_content_device_match import ApplicableContentDeviceMatch + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .applicable_content_device_match import ApplicableContentDeviceMatch + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ApplicableContentDeviceMatch)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/windows_updates/content_filter.py b/msgraph_beta/generated/models/windows_updates/content_filter.py index b18065fe7eb..8cd3699b181 100644 --- a/msgraph_beta/generated/models/windows_updates/content_filter.py +++ b/msgraph_beta/generated/models/windows_updates/content_filter.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .software_update_filter import SoftwareUpdateFilter from .windows_update_filter import WindowsUpdateFilter @@ -36,6 +37,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> C from .driver_update_filter import DriverUpdateFilter return DriverUpdateFilter() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.qualityUpdateFilter".casefold(): + from .quality_update_filter import QualityUpdateFilter + + return QualityUpdateFilter() if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.softwareUpdateFilter".casefold(): from .software_update_filter import SoftwareUpdateFilter @@ -52,10 +57,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .software_update_filter import SoftwareUpdateFilter from .windows_update_filter import WindowsUpdateFilter from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .software_update_filter import SoftwareUpdateFilter from .windows_update_filter import WindowsUpdateFilter diff --git a/msgraph_beta/generated/models/windows_updates/deployment_audience.py b/msgraph_beta/generated/models/windows_updates/deployment_audience.py index d162c3ab937..5d146fc5f7e 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_audience.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_audience.py @@ -12,7 +12,7 @@ @dataclass class DeploymentAudience(Entity): - # The applicableContent property + # Content eligible to deploy to devices in the audience. Not nullable. Read-only. applicable_content: Optional[List[ApplicableContent]] = None # Specifies the assets to exclude from the audience. exclusions: Optional[List[UpdatableAsset]] = None diff --git a/msgraph_beta/generated/models/windows_updates/quality_update_filter.py b/msgraph_beta/generated/models/windows_updates/quality_update_filter.py new file mode 100644 index 00000000000..23556dc9936 --- /dev/null +++ b/msgraph_beta/generated/models/windows_updates/quality_update_filter.py @@ -0,0 +1,66 @@ +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 .quality_update_cadence import QualityUpdateCadence + from .quality_update_classification import QualityUpdateClassification + from .windows_update_filter import WindowsUpdateFilter + +from .windows_update_filter import WindowsUpdateFilter + +@dataclass +class QualityUpdateFilter(WindowsUpdateFilter): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.windowsUpdates.qualityUpdateFilter" + # The cadence property + cadence: Optional[QualityUpdateCadence] = None + # The classification property + classification: Optional[QualityUpdateClassification] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> QualityUpdateFilter: + """ + 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: QualityUpdateFilter + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return QualityUpdateFilter() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .quality_update_cadence import QualityUpdateCadence + from .quality_update_classification import QualityUpdateClassification + from .windows_update_filter import WindowsUpdateFilter + + from .quality_update_cadence import QualityUpdateCadence + from .quality_update_classification import QualityUpdateClassification + from .windows_update_filter import WindowsUpdateFilter + + fields: Dict[str, Callable[[Any], None]] = { + "cadence": lambda n : setattr(self, 'cadence', n.get_enum_value(QualityUpdateCadence)), + "classification": lambda n : setattr(self, 'classification', n.get_enum_value(QualityUpdateClassification)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("cadence", self.cadence) + writer.write_enum_value("classification", self.classification) + + diff --git a/msgraph_beta/generated/models/windows_updates/software_update_filter.py b/msgraph_beta/generated/models/windows_updates/software_update_filter.py index cde0c88028c..a934fea8529 100644 --- a/msgraph_beta/generated/models/windows_updates/software_update_filter.py +++ b/msgraph_beta/generated/models/windows_updates/software_update_filter.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .content_filter import ContentFilter from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .windows_update_filter import WindowsUpdateFilter from .content_filter import ContentFilter @@ -32,6 +33,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> S from .driver_update_filter import DriverUpdateFilter return DriverUpdateFilter() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.qualityUpdateFilter".casefold(): + from .quality_update_filter import QualityUpdateFilter + + return QualityUpdateFilter() if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.windowsUpdateFilter".casefold(): from .windows_update_filter import WindowsUpdateFilter @@ -45,10 +50,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .content_filter import ContentFilter from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .windows_update_filter import WindowsUpdateFilter from .content_filter import ContentFilter from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .windows_update_filter import WindowsUpdateFilter fields: Dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/windows_updates/user_experience_settings.py b/msgraph_beta/generated/models/windows_updates/user_experience_settings.py index 308ae55996f..fa6ef843b17 100644 --- a/msgraph_beta/generated/models/windows_updates/user_experience_settings.py +++ b/msgraph_beta/generated/models/windows_updates/user_experience_settings.py @@ -13,6 +13,8 @@ class UserExperienceSettings(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. days_until_forced_reboot: Optional[int] = None + # The isHotpatchEnabled property + is_hotpatch_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None # Specifies whether the update is offered as Optional rather than Required. @@ -36,6 +38,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ fields: Dict[str, Callable[[Any], None]] = { "daysUntilForcedReboot": lambda n : setattr(self, 'days_until_forced_reboot', n.get_int_value()), + "isHotpatchEnabled": lambda n : setattr(self, 'is_hotpatch_enabled', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "offerAsOptional": lambda n : setattr(self, 'offer_as_optional', n.get_bool_value()), } @@ -50,6 +53,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_int_value("daysUntilForcedReboot", self.days_until_forced_reboot) + writer.write_bool_value("isHotpatchEnabled", self.is_hotpatch_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("offerAsOptional", self.offer_as_optional) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/windows_update_filter.py b/msgraph_beta/generated/models/windows_updates/windows_update_filter.py index 57f85cc5a44..e7543df4687 100644 --- a/msgraph_beta/generated/models/windows_updates/windows_update_filter.py +++ b/msgraph_beta/generated/models/windows_updates/windows_update_filter.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .software_update_filter import SoftwareUpdateFilter from .software_update_filter import SoftwareUpdateFilter @@ -31,6 +32,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> W from .driver_update_filter import DriverUpdateFilter return DriverUpdateFilter() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.qualityUpdateFilter".casefold(): + from .quality_update_filter import QualityUpdateFilter + + return QualityUpdateFilter() return WindowsUpdateFilter() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -39,9 +44,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .software_update_filter import SoftwareUpdateFilter from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter from .software_update_filter import SoftwareUpdateFilter fields: Dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py index bba58b5649c..ccb07661406 100644 --- a/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py @@ -16,6 +16,7 @@ from ...models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.alert_record_item_request_builder import AlertRecordItemRequestBuilder + from .microsoft_graph_device_management_change_alert_records_portal_notification_as_sent.microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder import MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder from .microsoft_graph_device_management_get_portal_notifications.microsoft_graph_device_management_get_portal_notifications_request_builder import MicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder class AlertRecordsRequestBuilder(BaseRequestBuilder): @@ -134,6 +135,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def microsoft_graph_device_management_change_alert_records_portal_notification_as_sent(self) -> MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder: + """ + Provides operations to call the changeAlertRecordsPortalNotificationAsSent method. + """ + from .microsoft_graph_device_management_change_alert_records_portal_notification_as_sent.microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder import MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder + + return MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder(self.request_adapter, self.path_parameters) + @property def microsoft_graph_device_management_get_portal_notifications(self) -> MicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder: """ diff --git a/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/change_alert_records_portal_notification_as_sent_post_request_body.py b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/change_alert_records_portal_notification_as_sent_post_request_body.py new file mode 100644 index 00000000000..b893b7bad33 --- /dev/null +++ b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/change_alert_records_portal_notification_as_sent_post_request_body.py @@ -0,0 +1,49 @@ +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 ChangeAlertRecordsPortalNotificationAsSentPostRequestBody(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 alertRecordIds property + alert_record_ids: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ChangeAlertRecordsPortalNotificationAsSentPostRequestBody: + """ + 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: ChangeAlertRecordsPortalNotificationAsSentPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ChangeAlertRecordsPortalNotificationAsSentPostRequestBody() + + 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]] = { + "alertRecordIds": lambda n : setattr(self, 'alert_record_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_primitive_values("alertRecordIds", self.alert_record_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder.py new file mode 100644 index 00000000000..76c9a56a169 --- /dev/null +++ b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent/microsoft_graph_device_management_change_alert_records_portal_notification_as_sent_request_builder.py @@ -0,0 +1,75 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .change_alert_records_portal_notification_as_sent_post_request_body import ChangeAlertRecordsPortalNotificationAsSentPostRequestBody + +class MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the changeAlertRecordsPortalNotificationAsSent method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder 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}/monitoring/alertRecords/microsoft.graph.deviceManagement.changeAlertRecordsPortalNotificationAsSent", path_parameters) + + async def post(self,body: Optional[ChangeAlertRecordsPortalNotificationAsSentPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Invoke action changeAlertRecordsPortalNotificationAsSent + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: Optional[ChangeAlertRecordsPortalNotificationAsSentPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Invoke action changeAlertRecordsPortalNotificationAsSent + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder: + """ + 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: MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphDeviceManagementChangeAlertRecordsPortalNotificationAsSentRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py index 03c2c676cbc..bc625568fa3 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py @@ -37,7 +37,7 @@ def by_branch_site_id(self,branch_site_id: str) -> BranchSiteItemRequestBuilder: param branch_site_id: The unique identifier of branchSite Returns: BranchSiteItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not branch_site_id: raise TypeError("branch_site_id cannot be null.") from .item.branch_site_item_request_builder import BranchSiteItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Returns: Optional[BranchSiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-connectivity-list-branches?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: Optional[BranchSite] = None, request_configuration: Op Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-connectivity-post-branches?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: Optional[BranchSite] = None, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/networkAccess/connectivity/branches', self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BranchesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BranchesRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return BranchesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py index 3c6e6816a0b..0f7bd11a3c2 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -52,7 +52,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,7 +64,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py index 8d026304e92..28a4c2b7c2c 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No Returns: None Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-delete?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-get?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: Optional[BranchSite] = None, request_configuration: O Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-update?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: Optional[BranchSite] = None, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}', self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BranchSiteItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: BranchSiteItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return BranchSiteItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py index 247cf6a72d6..987ed759ff9 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Returns: Optional[BranchConnectivityConfiguration] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchconnectivityconfiguration-get?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: Optional[BranchConnectivityConfiguration] = None, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchConnectivityConfiguration] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/connectivityConfiguration', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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 +125,7 @@ def to_patch_request_information(self,body: Optional[BranchConnectivityConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/connectivityConfiguration', self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ConnectivityConfigurationReq param raw_url: The raw URL to use for the request builder. Returns: ConnectivityConfigurationRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return ConnectivityConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py index b64ddc6ab3e..aad71182d51 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -52,7 +52,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,7 +64,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py index b3b5f8517f9..e55506e6f29 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py @@ -34,7 +34,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ async def patch(self,body: Optional[ConnectivityConfigurationLink] = None, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,7 +98,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/connectivityConfiguration/links/{connectivityConfigurationLink%2Did}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,7 +110,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -123,7 +123,7 @@ def to_patch_request_information(self,body: Optional[ConnectivityConfigurationLi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/connectivityConfiguration/links/{connectivityConfigurationLink%2Did}', self.path_parameters) @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ConnectivityConfigurationLin param raw_url: The raw URL to use for the request builder. Returns: ConnectivityConfigurationLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return ConnectivityConfigurationLinkItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py index 03e6a5ff805..be4bfc682c1 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py @@ -37,7 +37,7 @@ def by_connectivity_configuration_link_id(self,connectivity_configuration_link_i param connectivity_configuration_link_id: The unique identifier of connectivityConfigurationLink Returns: ConnectivityConfigurationLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not connectivity_configuration_link_id: raise TypeError("connectivity_configuration_link_id cannot be null.") from .item.connectivity_configuration_link_item_request_builder import ConnectivityConfigurationLinkItemRequestBuilder @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLinkCollectionResponse] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ async def post(self,body: Optional[ConnectivityConfigurationLink] = None, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -110,7 +110,7 @@ def to_post_request_information(self,body: Optional[ConnectivityConfigurationLin param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/connectivityConfiguration/links', self.path_parameters) @@ -125,7 +125,7 @@ def with_url(self,raw_url: Optional[str] = None) -> LinksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LinksRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return LinksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py index eecea9af63b..6443cde1cf5 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -52,7 +52,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,7 +64,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py index 9778ae32ed3..bb4ea9bea7b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py @@ -37,7 +37,7 @@ def by_device_link_id(self,device_link_id: str) -> DeviceLinkItemRequestBuilder: param device_link_id: The unique identifier of deviceLink Returns: DeviceLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not device_link_id: raise TypeError("device_link_id cannot be null.") from .item.device_link_item_request_builder import DeviceLinkItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Returns: Optional[DeviceLinkCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-devicelinks?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: Optional[DeviceLink] = None, request_configuration: Op Returns: Optional[DeviceLink] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-post-devicelinks?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: Optional[DeviceLink] = None, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/deviceLinks', self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeviceLinksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeviceLinksRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return DeviceLinksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py index a2bfe34c398..b5d9d1d4feb 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No Returns: None Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-delete-devicelinks?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Returns: Optional[DeviceLink] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-devicelink-get?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: Optional[DeviceLink] = None, request_configuration: O Returns: Optional[DeviceLink] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-devicelink-update?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/deviceLinks/{deviceLink%2Did}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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 +126,7 @@ def to_patch_request_information(self,body: Optional[DeviceLink] = None, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/deviceLinks/{deviceLink%2Did}', self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeviceLinkItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: DeviceLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return DeviceLinkItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py index 81f7c1320fa..67c6ad0fcb4 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -52,7 +52,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,7 +64,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py index 14630da5d2b..0164dd251e4 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py @@ -37,7 +37,7 @@ def by_forwarding_profile_id(self,forwarding_profile_id: str) -> ForwardingProfi param forwarding_profile_id: The unique identifier of forwardingProfile Returns: ForwardingProfileItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not forwarding_profile_id: raise TypeError("forwarding_profile_id cannot be null.") from .item.forwarding_profile_item_request_builder import ForwardingProfileItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Returns: Optional[ForwardingProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-forwardingprofiles?view=graph-rest-1.0 """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ async def post(self,body: Optional[ForwardingProfile] = None, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -111,7 +111,7 @@ def to_post_request_information(self,body: Optional[ForwardingProfile] = None, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/forwardingProfiles', self.path_parameters) @@ -126,7 +126,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ForwardingProfilesRequestBui param raw_url: The raw URL to use for the request builder. Returns: ForwardingProfilesRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return ForwardingProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py index a7069ab29df..fb5e1a8a16b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: Optional[ForwardingProfile] = None, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/forwardingProfiles/{forwardingProfile%2Did}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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 +125,7 @@ def to_patch_request_information(self,body: Optional[ForwardingProfile] = None, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/forwardingProfiles/{forwardingProfile%2Did}', self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ForwardingProfileItemRequest param raw_url: The raw URL to use for the request builder. Returns: ForwardingProfileItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return ForwardingProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py index eda17805e69..1227b534793 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py @@ -33,7 +33,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -52,7 +52,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,7 +64,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py index 8e576133451..4b4392b4ae4 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py @@ -34,7 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Policy] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -55,7 +55,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py index 4ea58a066d6..7122db47fa0 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLink] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def patch(self,body: Optional[PolicyLink] = None, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLink] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,7 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/forwardingProfiles/{forwardingProfile%2Did}/policies/{policyLink%2Did}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,7 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -124,7 +124,7 @@ def to_patch_request_information(self,body: Optional[PolicyLink] = None, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/forwardingProfiles/{forwardingProfile%2Did}/policies/{policyLink%2Did}', self.path_parameters) @@ -139,7 +139,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PolicyLinkItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: PolicyLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return PolicyLinkItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py index 2a1ccd073ec..b441de2b9ee 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py @@ -37,7 +37,7 @@ def by_policy_link_id(self,policy_link_id: str) -> PolicyLinkItemRequestBuilder: param policy_link_id: The unique identifier of policyLink Returns: PolicyLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not policy_link_id: raise TypeError("policy_link_id cannot be null.") from .item.policy_link_item_request_builder import PolicyLinkItemRequestBuilder @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLinkCollectionResponse] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ async def post(self,body: Optional[PolicyLink] = None, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLink] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -110,7 +110,7 @@ def to_post_request_information(self,body: Optional[PolicyLink] = None, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not body: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/networkAccess/connectivity/branches/{branchSite%2Did}/forwardingProfiles/{forwardingProfile%2Did}/policies', self.path_parameters) @@ -125,7 +125,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PoliciesRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return PoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py index 09360d3d4c3..bd30676765b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py @@ -34,7 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -55,7 +55,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServicePrincipalRequestBuild param raw_url: The raw URL to use for the request builder. Returns: ServicePrincipalRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on January 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) if not raw_url: raise TypeError("raw_url cannot be null.") return ServicePrincipalRequestBuilder(self.request_adapter, raw_url) 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 7c81f4f7e01..b07b069b02c 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 @@ -47,9 +47,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[FederatedTokenValidationPolicy]: """ - Get federatedTokenValidationPolicy from policies + 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/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -67,10 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[FederatedTokenValidationPolicy] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[FederatedTokenValidationPolicy]: """ - Update the navigation property federatedTokenValidationPolicy in policies + Update the properties of a federatedTokenValidationPolicy object. param body: The request body 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-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -101,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get federatedTokenValidationPolicy from policies + 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 """ @@ -112,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[FederatedTokenValidationPolicy] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property federatedTokenValidationPolicy in policies + Update the properties of a federatedTokenValidationPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -138,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> FederatedTokenValidationPoli @dataclass class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters(): """ - Get federatedTokenValidationPolicy from policies + Get a list of the federatedTokenValidationPolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py b/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py index 4f7e76768d6..7e2441fe0e5 100644 --- a/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py +++ b/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Operation]: """ - Export the unbilled Azure usage data for a specific billing period and a given currency. + Export unbilled Azure usage data for a specific billing period and currency. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Operation] @@ -53,7 +53,7 @@ async def post(self,body: Optional[ExportPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Export the unbilled Azure usage data for a specific billing period and a given currency. + Export unbilled Azure usage data for a specific billing period and currency. 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/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py index f6eb96bd690..761ea4e5c47 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index 237417db5c9..650d0f0c4c2 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index e17f1519974..5ef5f05b5c5 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstance]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index 64b62486a24..37c181083b8 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py index ba8d4f19078..9b232b8fcc6 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: @dataclass class PrincipalRequestBuilderGetQueryParameters(): """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 53e78c21f75..c8724dc4eba 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder @dataclass class RoleDefinitionRequestBuilderGetQueryParameters(): """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 056bacb291b..1a4f3dd03ff 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentSchedule]: """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder @dataclass class TargetScheduleRequestBuilderGetQueryParameters(): """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index 32a1b85429b..2e4a37dab06 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index 208721f6ea5..f01013dc2fa 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstance]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index ddd5ad26f03..9f7e22fc9db 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 7fd26b63388..02d3052e49e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: @dataclass class PrincipalRequestBuilderGetQueryParameters(): """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 8e3fd748e89..8bd0f7d96a9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder @dataclass class RoleDefinitionRequestBuilderGetQueryParameters(): """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 602544f6e2d..c8e5f9e721e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentSchedule]: """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder @dataclass class TargetScheduleRequestBuilderGetQueryParameters(): """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index 006609ea4b9..ddcf9da91f9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index adb1c906abe..de1a733485c 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstance]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index e1028e6952e..648e73ff14b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 23be1baf30c..95797e98b84 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: @dataclass class PrincipalRequestBuilderGetQueryParameters(): """ - The principal that's getting a role assignment through the request. Supports $expand. + The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 33d41101015..062d9ba0dc2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder @dataclass class RoleDefinitionRequestBuilderGetQueryParameters(): """ - Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. + Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index d1d51e47508..83328f76fef 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentSchedule]: """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder @dataclass class TargetScheduleRequestBuilderGetQueryParameters(): """ - The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. + The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index dba974c6da0..2cea7a46011 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -71,7 +71,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder @dataclass class ActivatedUsingRequestBuilderGetQueryParameters(): """ - If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. + If the request is from an eligible administrator to activate a role, this parameter shows the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py b/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py index 5c6c2bb272b..87e05b00de3 100644 --- a/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py +++ b/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Deletes an acronym object. + Delete an acronym 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/search-acronym-delete?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[Acronym] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Deletes an acronym object. + Delete an acronym object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py b/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py index b68c775a871..fb95f6de238 100644 --- a/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py @@ -21,6 +21,7 @@ from .simulations.simulations_request_builder import SimulationsRequestBuilder from .simulation_automations.simulation_automations_request_builder import SimulationAutomationsRequestBuilder from .trainings.trainings_request_builder import TrainingsRequestBuilder + from .training_campaigns.training_campaigns_request_builder import TrainingCampaignsRequestBuilder class AttackSimulationRequestBuilder(BaseRequestBuilder): """ @@ -206,6 +207,15 @@ def simulations(self) -> SimulationsRequestBuilder: return SimulationsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def training_campaigns(self) -> TrainingCampaignsRequestBuilder: + """ + Provides operations to manage the trainingCampaigns property of the microsoft.graph.attackSimulationRoot entity. + """ + from .training_campaigns.training_campaigns_request_builder import TrainingCampaignsRequestBuilder + + return TrainingCampaignsRequestBuilder(self.request_adapter, self.path_parameters) + @property def trainings(self) -> TrainingsRequestBuilder: """ diff --git a/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py new file mode 100644 index 00000000000..bb413b8aef2 --- /dev/null +++ b/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py @@ -0,0 +1,94 @@ +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.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 + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/security/attackSimulation/trainingCampaigns/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = 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: Optional[str] = None) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + diff --git a/msgraph_beta/generated/security/attack_simulation/training_campaigns/item/training_campaign_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/training_campaigns/item/training_campaign_item_request_builder.py new file mode 100644 index 00000000000..fd1659949da --- /dev/null +++ b/msgraph_beta/generated/security/attack_simulation/training_campaigns/item/training_campaign_item_request_builder.py @@ -0,0 +1,164 @@ +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.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 + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.training_campaign import TrainingCampaign + +class TrainingCampaignItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the trainingCampaigns property of the microsoft.graph.attackSimulationRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new TrainingCampaignItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/security/attackSimulation/trainingCampaigns/{trainingCampaign%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property trainingCampaigns for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TrainingCampaign]: + """ + Get trainingCampaigns from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[TrainingCampaign] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.training_campaign import TrainingCampaign + + return await self.request_adapter.send_async(request_info, TrainingCampaign, error_mapping) + + async def patch(self,body: Optional[TrainingCampaign] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[TrainingCampaign]: + """ + Update the navigation property trainingCampaigns in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[TrainingCampaign] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.training_campaign import TrainingCampaign + + return await self.request_adapter.send_async(request_info, TrainingCampaign, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property trainingCampaigns for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/security/attackSimulation/trainingCampaigns/{trainingCampaign%2Did}', 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] = None) -> RequestInformation: + """ + Get trainingCampaigns from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[TrainingCampaign] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property trainingCampaigns in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/security/attackSimulation/trainingCampaigns/{trainingCampaign%2Did}', 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: Optional[str] = None) -> TrainingCampaignItemRequestBuilder: + """ + 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: TrainingCampaignItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return TrainingCampaignItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class TrainingCampaignItemRequestBuilderGetQueryParameters(): + """ + Get trainingCampaigns from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/security/attack_simulation/training_campaigns/training_campaigns_request_builder.py b/msgraph_beta/generated/security/attack_simulation/training_campaigns/training_campaigns_request_builder.py new file mode 100644 index 00000000000..5bc1231465d --- /dev/null +++ b/msgraph_beta/generated/security/attack_simulation/training_campaigns/training_campaigns_request_builder.py @@ -0,0 +1,191 @@ +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.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 + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.training_campaign import TrainingCampaign + from ....models.training_campaign_collection_response import TrainingCampaignCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.training_campaign_item_request_builder import TrainingCampaignItemRequestBuilder + +class TrainingCampaignsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the trainingCampaigns property of the microsoft.graph.attackSimulationRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new TrainingCampaignsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/security/attackSimulation/trainingCampaigns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_training_campaign_id(self,training_campaign_id: str) -> TrainingCampaignItemRequestBuilder: + """ + Provides operations to manage the trainingCampaigns property of the microsoft.graph.attackSimulationRoot entity. + param training_campaign_id: The unique identifier of trainingCampaign + Returns: TrainingCampaignItemRequestBuilder + """ + if not training_campaign_id: + raise TypeError("training_campaign_id cannot be null.") + from .item.training_campaign_item_request_builder import TrainingCampaignItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["trainingCampaign%2Did"] = training_campaign_id + return TrainingCampaignItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TrainingCampaignCollectionResponse]: + """ + Get trainingCampaigns from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[TrainingCampaignCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.training_campaign_collection_response import TrainingCampaignCollectionResponse + + return await self.request_adapter.send_async(request_info, TrainingCampaignCollectionResponse, error_mapping) + + async def post(self,body: Optional[TrainingCampaign] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[TrainingCampaign]: + """ + Create new navigation property to trainingCampaigns for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[TrainingCampaign] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.training_campaign import TrainingCampaign + + return await self.request_adapter.send_async(request_info, TrainingCampaign, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get trainingCampaigns from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[TrainingCampaign] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to trainingCampaigns for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, '{+baseurl}/security/attackSimulation/trainingCampaigns', 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: Optional[str] = None) -> TrainingCampaignsRequestBuilder: + """ + 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: TrainingCampaignsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return TrainingCampaignsRequestBuilder(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 TrainingCampaignsRequestBuilderGetQueryParameters(): + """ + Get trainingCampaigns from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py index 32b86a347fb..e6873c4aaae 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + Invoke action removeHold param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-removehold?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + Invoke action removeHold param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/security/collaboration/analyzed_emails/analyzed_emails_request_builder.py b/msgraph_beta/generated/security/collaboration/analyzed_emails/analyzed_emails_request_builder.py index 7da2ad54186..5b8be991f16 100644 --- a/msgraph_beta/generated/security/collaboration/analyzed_emails/analyzed_emails_request_builder.py +++ b/msgraph_beta/generated/security/collaboration/analyzed_emails/analyzed_emails_request_builder.py @@ -47,7 +47,7 @@ def by_analyzed_email_id(self,analyzed_email_id: str) -> AnalyzedEmailItemReques async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AnalyzedEmailCollectionResponse]: """ - Get analyzedEmails from security + Read the properties and relationships of an analyzedEmail object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AnalyzedEmailCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[AnalyzedEmail] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get analyzedEmails from security + Read the properties and relationships of an analyzedEmail object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -145,7 +145,7 @@ def microsoft_graph_security_remediate(self) -> MicrosoftGraphSecurityRemediateR @dataclass class AnalyzedEmailsRequestBuilderGetQueryParameters(): """ - Get analyzedEmails from security + Read the properties and relationships of an analyzedEmail object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/collaboration/analyzed_emails/item/analyzed_email_item_request_builder.py b/msgraph_beta/generated/security/collaboration/analyzed_emails/item/analyzed_email_item_request_builder.py index cd8018a2aea..8cd9634fbb1 100644 --- a/msgraph_beta/generated/security/collaboration/analyzed_emails/item/analyzed_email_item_request_builder.py +++ b/msgraph_beta/generated/security/collaboration/analyzed_emails/item/analyzed_email_item_request_builder.py @@ -47,9 +47,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AnalyzedEmail]: """ - Get analyzedEmails from security + Read the properties and relationships of an analyzedEmail object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AnalyzedEmail] + Find more info here: https://learn.microsoft.com/graph/api/security-analyzedemail-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -101,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get analyzedEmails from security + Read the properties and relationships of an analyzedEmail object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AnalyzedEmailItemRequestBuil @dataclass class AnalyzedEmailItemRequestBuilderGetQueryParameters(): """ - Get analyzedEmails from security + Read the properties and relationships of an analyzedEmail object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/microsoft_graph_security_remediate_request_builder.py b/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/microsoft_graph_security_remediate_request_builder.py index 020a22c8dfd..0c251440c2e 100644 --- a/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/microsoft_graph_security_remediate_request_builder.py +++ b/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/microsoft_graph_security_remediate_request_builder.py @@ -28,10 +28,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[RemediatePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Invoke action remediate + Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/security-analyzedemail-remediate?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -49,7 +50,7 @@ async def post(self,body: Optional[RemediatePostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[RemediatePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Invoke action remediate + Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/security/collaboration/collaboration_request_builder.py b/msgraph_beta/generated/security/collaboration/collaboration_request_builder.py index 257ce01d30b..de6130f85e6 100644 --- a/msgraph_beta/generated/security/collaboration/collaboration_request_builder.py +++ b/msgraph_beta/generated/security/collaboration/collaboration_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CollaborationRoot]: """ - Get collaboration from security + Enables read and other actions on collaborative entities in Microsoft Defender. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CollaborationRoot] """ @@ -102,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get collaboration from security + Enables read and other actions on collaborative entities in Microsoft Defender. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ def analyzed_emails(self) -> AnalyzedEmailsRequestBuilder: @dataclass class CollaborationRequestBuilderGetQueryParameters(): """ - Get collaboration from security + Enables read and other actions on collaborative entities in Microsoft Defender. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py index 4e495f82cad..86dbfc23c47 100644 --- a/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/owners_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] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). 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/serviceprincipal-list-owners?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class OwnersRequestBuilderGetQueryParameters(): """ - Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py index b0557f865f0..2e3ab8adf43 100644 --- a/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-owners?view=graph-rest-1.0 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -161,7 +161,7 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py b/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py index e329d8fb726..e2573ba2de1 100644 --- a/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py @@ -111,11 +111,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Update the properties of servicePrincipal object. + Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] - Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -157,7 +157,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of servicePrincipal object. + Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal 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/service_principals_with_app_id/service_principals_with_app_id_request_builder.py b/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py index fc622a3d9fe..e69af6bf71e 100644 --- a/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py +++ b/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Update the properties of servicePrincipal object. + Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] - Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of servicePrincipal object. + Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal 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/shares/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py index 77835fb4d0c..ab5249f7f02 100644 --- a/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares 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/shares-get?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py index f781d9b9945..127ffe2c7d0 100644 --- a/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property items from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property items in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property items from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property items in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property items from shares """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py b/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py index 4e46377b0ea..5da38b3b0f9 100644 --- a/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py index aec993ea347..5d3c86f6cfb 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy 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/shares/item/list_/content_types/content_types_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py index 8770a583bd4..86a7719c067 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py @@ -49,7 +49,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -166,7 +166,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 6be27e306f0..6c4db4b3b73 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites 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/shares/item/list_/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py index 3a4e88940d5..a6922894e51 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py index 541e3a26873..7a49c1c7ffb 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_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] = None) -> None: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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] = None) -> RequestInformation: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def source_column(self) -> SourceColumnRequestBuilder: @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 3b461383030..e9e436768bd 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation 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/shares/item/list_/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py index 8e231e347e5..9ac91dc8240 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/contenttype-publish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py index be7bbd700f6..e59564208a1 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/contenttype-unpublish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py index 061bd7e8ce3..8b508ddde95 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py index c5b1ceabf80..73fdeb6c351 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -53,7 +53,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. 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/shares/item/list_/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py index b6595c3c77a..8ca900e050e 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from shares """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/root/content/content_request_builder.py b/msgraph_beta/generated/shares/item/root/content/content_request_builder.py index 04218bc42fc..813ba4f74b1 100644 --- a/msgraph_beta/generated/shares/item/root/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/root/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property root from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property root in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property root from shares param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property root in shares param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property root from shares """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py index 87a33bf7085..edf94a01cce 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in sites param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in sites param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/columns/columns_request_builder.py index b5a18d32a2d..81021d6c310 100644 --- a/msgraph_beta/generated/sites/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py index 01f14ae9be5..657201809f4 100644 --- a/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy 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/content_types/content_types_request_builder.py b/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py index 99f2f889152..51bf77f33cb 100644 --- a/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py @@ -49,7 +49,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -167,7 +167,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index e8a1711a78b..4b10cd17cc5 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites 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/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py index 5af0934d1e2..f4aa790a124 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py index 6095ec43588..c00e5a66aa5 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_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] = None) -> None: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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] = None) -> RequestInformation: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def source_column(self) -> SourceColumnRequestBuilder: @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py index 7a17b75a747..442c14912c9 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py @@ -79,7 +79,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ContentType] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Update a [content type][contentType]. + Update contentType param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [content type][contentType]. + Update contentType 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/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 9c00e83454e..40c82233563 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation 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/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py index 17ea4b5d742..d0dfb29e478 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/contenttype-publish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py index f23cbda3de5..072617d1458 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/contenttype-unpublish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/get_by_path_with_path/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/columns/columns_request_builder.py index a501237f8e6..82629f8d405 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/columns/columns_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -75,7 +75,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ColumnsRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py index 201e451e56a..fd8f29c1050 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/content_types/content_types_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentTypesRequestBuilder: @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py index 43fc2860f37..02ee254f96e 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/columns/columns_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -75,7 +75,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a site param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ColumnsRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. + The collection of column definitions reusable across lists under this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py index 544acc35e9c..795304eb064 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path1/content_types/content_types_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentTypesRequestBuilder: @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [site][]. + The collection of content types defined for this site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py index e0668132393..4b9f5bea938 100644 --- a/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + Create columnDefinition param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. + The collection of field definitions for this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py index ca53eb8a427..54766fb4a81 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -53,7 +53,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + Invoke action addCopy 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/content_types/content_types_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py index 270d1bdc7be..975867460f6 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py @@ -49,7 +49,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -166,7 +166,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of [contentType][contentType] resources in a [list][]. + The collection of content types present in this list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 105170fd584..e0eacf41807 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Associate a [content type][contentType] with a list of hub sites. + Invoke action associateWithHubSites 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/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py index d5fd5e92b8c..d3e4574e7fe 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py @@ -46,7 +46,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. + Create columnDefinition for a content type param body: The request body 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 ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. + The collection of column definitions for this contentType. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py index 8cd379b134a..bf7bdd690b9 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_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] = None) -> None: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. + Delete columnDefinition 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] = None) -> RequestInformation: """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. + Update columnDefinition param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def source_column(self) -> SourceColumnRequestBuilder: @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. + Retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 59623a97114..85472fe3215 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + Invoke action copyToDefaultContentLocation 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/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py index 2ae8a2b13d8..ec23d94d7a1 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/contenttype-publish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Publishes a [contentType][] present in a content type hub site. + Invoke action publish 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/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py index 33fd5aa5f66..8d34142949b 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/contenttype-unpublish?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Unpublish a [contentType][] from a content type hub site. + Invoke action unpublish 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/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py index 056c2c8f228..0ebbe2fe93f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in sites param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in sites param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py index dd85564dded..47a6965c01b 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -53,7 +53,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. 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/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py index db117d50ba7..3f780ea14e0 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in sites param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -70,7 +70,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property driveItem in sites param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -107,7 +107,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property driveItem from sites """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py index 94b84fc962b..54644556d6f 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py @@ -46,7 +46,7 @@ def by_recycle_bin_item_id(self,recycle_bin_item_id: str) -> RecycleBinItemItemR async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[RecycleBinItemCollectionResponse]: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. + Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecycleBinItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/recyclebin-list-items?view=graph-rest-1.0 @@ -90,7 +90,7 @@ async def post(self,body: Optional[RecycleBinItem] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. + Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. + Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py new file mode 100644 index 00000000000..b9984f8bf5c --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py @@ -0,0 +1,100 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithEmailRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], email: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values. + param email: Alternate key of virtualEventRegistration + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['email'] = str(email) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registrations(email='{email}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + 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: RegistrationsWithEmailRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithEmailRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py new file mode 100644 index 00000000000..b67f136ac40 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -0,0 +1,100 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithUserIdRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_id: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithUserIdRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param user_id: Alternate key of virtualEventRegistration + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userId'] = str(user_id) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registrations(userId='{userId}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + 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: RegistrationsWithUserIdRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithUserIdRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py index 40a382701d3..7f91e10123c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py @@ -16,6 +16,8 @@ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder from .presenters.presenters_request_builder import PresentersRequestBuilder from .registrations.registrations_request_builder import RegistrationsRequestBuilder + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -91,6 +93,30 @@ async def patch(self,body: Optional[VirtualEventSession] = None, request_configu return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + def registrations_with_email(self,email: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param email: Alternate key of virtualEventRegistration + Returns: RegistrationsWithEmailRequestBuilder + """ + if not email: + raise TypeError("email cannot be null.") + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + + return RegistrationsWithEmailRequestBuilder(self.request_adapter, self.path_parameters, email) + + def registrations_with_user_id(self,user_id: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param user_id: Alternate key of virtualEventRegistration + Returns: RegistrationsWithUserIdRequestBuilder + """ + if not user_id: + raise TypeError("user_id cannot be null.") + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder + + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, self.path_parameters, user_id) + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ Delete navigation property sessions for solutions diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py new file mode 100644 index 00000000000..a2e7984961e --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py @@ -0,0 +1,100 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithEmailRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], email: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values. + param email: Alternate key of virtualEventRegistration + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['email'] = str(email) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/registrations(email='{email}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + 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: RegistrationsWithEmailRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithEmailRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py new file mode 100644 index 00000000000..ff514630f6c --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -0,0 +1,100 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithUserIdRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_id: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithUserIdRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param user_id: Alternate key of virtualEventRegistration + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userId'] = str(user_id) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/registrations(userId='{userId}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + 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: RegistrationsWithUserIdRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithUserIdRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py index 92eefa8e7b1..9a26de5d13e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py @@ -16,6 +16,8 @@ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder from .presenters.presenters_request_builder import PresentersRequestBuilder from .registrations.registrations_request_builder import RegistrationsRequestBuilder + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -91,6 +93,30 @@ async def patch(self,body: Optional[VirtualEventSession] = None, request_configu return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + def registrations_with_email(self,email: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param email: Alternate key of virtualEventRegistration + Returns: RegistrationsWithEmailRequestBuilder + """ + if not email: + raise TypeError("email cannot be null.") + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + + return RegistrationsWithEmailRequestBuilder(self.request_adapter, self.path_parameters, email) + + def registrations_with_user_id(self,user_id: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param user_id: Alternate key of virtualEventRegistration + Returns: RegistrationsWithUserIdRequestBuilder + """ + if not user_id: + raise TypeError("user_id cannot be null.") + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder + + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, self.path_parameters, user_id) + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ Delete navigation property sessions for solutions diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py new file mode 100644 index 00000000000..9ba57e61a08 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py @@ -0,0 +1,168 @@ +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.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 + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithEmailRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], email: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values. + param email: Alternate key of virtualEventRegistration + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['email'] = str(email) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(email='{email}'){?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property registrations for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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] = None) -> Optional[VirtualEventRegistration]: + """ + Get the properties and relationships of a virtualEventRegistration object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + async def patch(self,body: Optional[VirtualEventRegistration] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Update the navigation property registrations in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property registrations for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(email='{email}')', 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] = None) -> RequestInformation: + """ + Get the properties and relationships of a virtualEventRegistration object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[VirtualEventRegistration] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property registrations in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(email='{email}')', 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: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + 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: RegistrationsWithEmailRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithEmailRequestBuilderGetQueryParameters(): + """ + Get the properties and relationships of a virtualEventRegistration object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py new file mode 100644 index 00000000000..8be3b30b56b --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -0,0 +1,168 @@ +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.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 + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithUserIdRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_id: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithUserIdRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param user_id: Alternate key of virtualEventRegistration + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userId'] = str(user_id) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(userId='{userId}'){?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: + """ + Delete navigation property registrations for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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] = None) -> Optional[VirtualEventRegistration]: + """ + Get the properties and relationships of a virtualEventRegistration object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + async def patch(self,body: Optional[VirtualEventRegistration] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Update the navigation property registrations in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property registrations for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(userId='{userId}')', 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] = None) -> RequestInformation: + """ + Get the properties and relationships of a virtualEventRegistration object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[VirtualEventRegistration] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property registrations in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(userId='{userId}')', 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: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + 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: RegistrationsWithUserIdRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithUserIdRequestBuilderGetQueryParameters(): + """ + Get the properties and relationships of a virtualEventRegistration object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py new file mode 100644 index 00000000000..b5a37749f03 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py @@ -0,0 +1,100 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithEmailRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], email: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values. + param email: Alternate key of virtualEventRegistration + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['email'] = str(email) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registrations(email='{email}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + 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: RegistrationsWithEmailRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithEmailRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py new file mode 100644 index 00000000000..adfadc5c2d5 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -0,0 +1,100 @@ +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.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 + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration import VirtualEventRegistration + +class RegistrationsWithUserIdRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_id: Optional[str] = None) -> None: + """ + Instantiates a new RegistrationsWithUserIdRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param user_id: Alternate key of virtualEventRegistration + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userId'] = str(user_id) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registrations(userId='{userId}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + 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: RegistrationsWithUserIdRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RegistrationsWithUserIdRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py index dfd0a6282e1..fb09673d368 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py @@ -16,6 +16,8 @@ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder from .presenters.presenters_request_builder import PresentersRequestBuilder from .registrations.registrations_request_builder import RegistrationsRequestBuilder + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -91,6 +93,30 @@ async def patch(self,body: Optional[VirtualEventSession] = None, request_configu return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + def registrations_with_email(self,email: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param email: Alternate key of virtualEventRegistration + Returns: RegistrationsWithEmailRequestBuilder + """ + if not email: + raise TypeError("email cannot be null.") + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + + return RegistrationsWithEmailRequestBuilder(self.request_adapter, self.path_parameters, email) + + def registrations_with_user_id(self,user_id: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param user_id: Alternate key of virtualEventRegistration + Returns: RegistrationsWithUserIdRequestBuilder + """ + if not user_id: + raise TypeError("user_id cannot be null.") + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder + + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, self.path_parameters, user_id) + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ Delete navigation property sessions for solutions diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py index b0b579a74a1..da638ae2408 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py @@ -15,6 +15,8 @@ from .....models.virtual_event_webinar import VirtualEventWebinar from .presenters.presenters_request_builder import PresentersRequestBuilder from .registrations.registrations_request_builder import RegistrationsRequestBuilder + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder from .registration_configuration.registration_configuration_request_builder import RegistrationConfigurationRequestBuilder from .sessions.sessions_request_builder import SessionsRequestBuilder from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -94,6 +96,30 @@ async def patch(self,body: Optional[VirtualEventWebinar] = None, request_configu return await self.request_adapter.send_async(request_info, VirtualEventWebinar, error_mapping) + def registrations_with_email(self,email: Optional[str] = None) -> RegistrationsWithEmailRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + param email: Alternate key of virtualEventRegistration + Returns: RegistrationsWithEmailRequestBuilder + """ + if not email: + raise TypeError("email cannot be null.") + from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder + + return RegistrationsWithEmailRequestBuilder(self.request_adapter, self.path_parameters, email) + + def registrations_with_user_id(self,user_id: Optional[str] = None) -> RegistrationsWithUserIdRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + param user_id: Alternate key of virtualEventRegistration + Returns: RegistrationsWithUserIdRequestBuilder + """ + if not user_id: + raise TypeError("user_id cannot be null.") + from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder + + return RegistrationsWithUserIdRequestBuilder(self.request_adapter, self.path_parameters, user_id) + def sessions_with_join_web_url(self,join_web_url: Optional[str] = None) -> SessionsWithJoinWebUrlRequestBuilder: """ Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py index b8af56780d4..6ea63cbec70 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py index 987e3f0f701..3e8527e016b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private 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/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py index 7abfd32875d..fd99d86bb9c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamTemplateDefinition 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamTemplateDefinition param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamTemplateDefinition param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamTemplateDefinition param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamTemplateDefinition """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py index 42742ff101c..e130a9fb280 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py index 385838047b5..056be142575 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py index 2af94b77e00..b9c20427e52 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamTemplateDefinition 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamTemplateDefinition param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamTemplateDefinition param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamTemplateDefinition param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamTemplateDefinition """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py index cb845f6fd77..eb486cffd86 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py index 6bbe6f00a95..a72a87f24c2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py index 2c7da526bfa..87c228bf8ae 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py @@ -46,7 +46,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. 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 ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. + The shifts in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py index 0adfcd7f5e0..00363ba628f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinition]: """ - Get shiftsRoleDefinitions from teamTemplateDefinition + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinition] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from teamTemplateDefinition + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ShiftsRoleDefinitionItemRequ @dataclass class ShiftsRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from teamTemplateDefinition + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py index 99d166dae9a..572bd2bc958 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py @@ -46,7 +46,7 @@ def by_shifts_role_definition_id(self,shifts_role_definition_id: str) -> ShiftsR async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinitionCollectionResponse]: """ - Get shiftsRoleDefinitions from teamTemplateDefinition + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinitionCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[ShiftsRoleDefinition] = None, request_configu def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from teamTemplateDefinition + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from teamTemplateDefinition + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py index 37273a1df2d..1c27690f36e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -46,7 +46,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. 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 TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py index a878c6a0f07..5a937fdee71 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. 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/archive/archive_request_builder.py b/msgraph_beta/generated/teams/item/archive/archive_request_builder.py index 7cee4e41c0c..65d09ab4a3a 100644 --- a/msgraph_beta/generated/teams/item/archive/archive_request_builder.py +++ b/msgraph_beta/generated/teams/item/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. 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/channels_request_builder.py b/msgraph_beta/generated/teams/item/channels/channels_request_builder.py index b58df46234b..69a464f25e4 100644 --- a/msgraph_beta/generated/teams/item/channels/channels_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/channels_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private 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/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py index 406bc5ad9b5..bafa7b57cd2 100644 --- a/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teams 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teams param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teams param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teams param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teams """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 4518cb9127b..69c99d68059 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 @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py index 1fb68005bad..7ecb852f404 100644 --- a/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. 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/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py index fb455695cbd..aa79844bc3a 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teams 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teams param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teams param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teams param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teams """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py index 9631ff30dca..0f54077ceed 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py index bf4d55dde91..f4eb034ed85 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. 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/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py index 7f1640fa74b..167d5f323dc 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py @@ -46,7 +46,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. 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 ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. + The shifts in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py index 76ba32c6a59..1287c6d0d15 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinition]: """ - Get shiftsRoleDefinitions from teams + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinition] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from teams + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ShiftsRoleDefinitionItemRequ @dataclass class ShiftsRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from teams + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py index 8e0fb488724..6f898279cea 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py @@ -46,7 +46,7 @@ def by_shifts_role_definition_id(self,shifts_role_definition_id: str) -> ShiftsR async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinitionCollectionResponse]: """ - Get shiftsRoleDefinitions from teams + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinitionCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[ShiftsRoleDefinition] = None, request_configu def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from teams + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from teams + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py index 82601973e74..58e3122fef5 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -46,7 +46,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. 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 TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py index 5127f28abe0..2d509098745 100644 --- a/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py b/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py index 7d2943e5e62..03403450f4c 100644 --- a/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Restore a deletedChat to an active chat. + Restore a deletedChat to an active chat. 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/deletedchat-undodelete?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Restore a deletedChat to an active chat. + Restore a deletedChat to an active chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py index 455f0f9ef14..33f863e1f73 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamwork param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamwork param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 3f475ea9e7b..333394746e8 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py index 16d3c55ff81..a05cd4a2580 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py index b8664d836ed..30b37e0c2c6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -50,7 +50,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. + Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which can occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py index 47c758a1345..a2ac446d6a0 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private 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/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py index 457dcbfef70..51d6751ab79 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamwork param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamwork param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py index 7bd04295816..c072996dff3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py index 1a22b844b58..761fad81d6d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py index 153ebd11974..e6e275c8a97 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> bytes: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork 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/channel-get-filesfolder?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveItem]: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamwork param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -71,7 +71,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The content stream, if the item represents a file. + Update content for the navigation property filesFolder in teamwork param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: @dataclass class ContentRequestBuilderGetQueryParameters(): """ - The content stream, if the item represents a file. + Get content for the navigation property filesFolder from teamwork """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py index ddcf0eff3f6..829ea102474 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py index d2f6b05a54a..d4881ddbff8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it didn't provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py index d44ee94c27b..fa00509f365 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py @@ -46,7 +46,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. + The shifts in the schedule. 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 ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. + The shifts in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py index b453ebadfa9..fc7f4092620 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/item/shifts_role_definition_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinition]: """ - Get shiftsRoleDefinitions from teamwork + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinition] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from teamwork + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ShiftsRoleDefinitionItemRequ @dataclass class ShiftsRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from teamwork + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py index 297b2f75d84..0cdc4906f81 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/shifts_role_definitions_request_builder.py @@ -46,7 +46,7 @@ def by_shifts_role_definition_id(self,shifts_role_definition_id: str) -> ShiftsR async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ShiftsRoleDefinitionCollectionResponse]: """ - Get shiftsRoleDefinitions from teamwork + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftsRoleDefinitionCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[ShiftsRoleDefinition] = None, request_configu def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get shiftsRoleDefinitions from teamwork + The definitions of the roles in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get shiftsRoleDefinitions from teamwork + The definitions of the roles in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py index 65b64add5d1..0a601476877 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -46,7 +46,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. 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 TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. + The set of reasons for a time off in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py index 9b3c8b3a241..80ac88fc770 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -46,7 +46,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration] = None def to_post_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index 9f30e63c502..65b4e96c5e1 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -52,11 +52,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[MultiTenantOrganization] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[MultiTenantOrganization]: """ - Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + Update the properties of a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[MultiTenantOrganization] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + Update the properties of a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py index 53a91f6f5eb..a712dfefa28 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 43b5322b7af..efd00700f53 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 386c17ff60a..337ca9cb22a 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py index ff1d548ce89..c67b868e4c6 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 4d5bdd8dfbf..d01b4d85439 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py index 3043b1977bd..047170948f9 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index e48ef5bd63e..99a5993c881 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 3703548eee8..df7b7c26bdd 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py index cd4f5e241aa..6a0b9ef94dd 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index fed1d92b985..f5e092ed05b 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py index ef0ad96fdae..ef141048d81 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index c28329a8376..1ef6f47a5ad 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 63c7372dd63..4877272c16e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index 50f19d20baf..2082fe04193 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 9a1ad722eae..c30eb826f9b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py index acd57ffc8fb..745a7575d0f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index f1a828255d0..b3de9878dd6 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 28943d01837..1aad9150f53 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py index e2d7ca03381..f164e11d611 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 7f286e1bfed..cd38d96921e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py index 432d6d2589b..995fc132b34 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 59791971c47..e01aa904f0b 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 39e7f604901..f6c0f715dda 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index c6f6a472f73..8667d93a1da 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index c15103f873c..cf4a36448eb 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py index ad8f6028209..67e18ac66d9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 81ede37d4d7..4cd45b0e65d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 4593a4fe28d..3ddbe1954f4 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index 3d7d5170dc0..c66c60f1300 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 389d8fa5b81..5f9b3bef868 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py index 7de273b6e7e..28de6fa89bd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index a76cb7ec47f..a83ed8d52b8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 1e38a21b0e9..1ab4a4f02b8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py index 82d6e1e32e9..a5c44663c6b 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 4e307a880a9..5a0a4f33b1e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py index cf85fb21ad0..9132359c892 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/cloud_clipboard/items/item/cloud_clipboard_item_item_request_builder.py b/msgraph_beta/generated/users/item/cloud_clipboard/items/item/cloud_clipboard_item_item_request_builder.py index 6102e67a978..b7cfdeed5cd 100644 --- a/msgraph_beta/generated/users/item/cloud_clipboard/items/item/cloud_clipboard_item_item_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_clipboard/items/item/cloud_clipboard_item_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CloudClipboardItem]: """ - Get items from users + Represents a collection of Cloud Clipboard items. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudClipboardItem] """ @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get items from users + Represents a collection of Cloud Clipboard items. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CloudClipboardItemItemReques @dataclass class CloudClipboardItemItemRequestBuilderGetQueryParameters(): """ - Get items from users + Represents a collection of Cloud Clipboard items. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/cloud_clipboard/items/items_request_builder.py b/msgraph_beta/generated/users/item/cloud_clipboard/items/items_request_builder.py index 9f8631bd6a4..e520eeb1b12 100644 --- a/msgraph_beta/generated/users/item/cloud_clipboard/items/items_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_clipboard/items/items_request_builder.py @@ -46,9 +46,10 @@ def by_cloud_clipboard_item_id(self,cloud_clipboard_item_id: str) -> CloudClipbo async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[CloudClipboardItemCollectionResponse]: """ - Get items from users + Get a list of the cloudClipboardItem objects and their properties for a user. This API only allows you to get cloudClipboardItem objects for: This API doesn't support using another user's credentials to get a cloudClipboardItem for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudClipboardItemCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/cloudclipboardroot-list-items?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -89,7 +90,7 @@ async def post(self,body: Optional[CloudClipboardItem] = None, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get items from users + Get a list of the cloudClipboardItem objects and their properties for a user. This API only allows you to get cloudClipboardItem objects for: This API doesn't support using another user's credentials to get a cloudClipboardItem for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get items from users + Get a list of the cloudClipboardItem objects and their properties for a user. This API only allows you to get cloudClipboardItem objects for: This API doesn't support using another user's credentials to get a cloudClipboardItem for a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py b/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py new file mode 100644 index 00000000000..799d661f606 --- /dev/null +++ b/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py @@ -0,0 +1,64 @@ +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.password_profile import PasswordProfile + +@dataclass +class ConvertExternalToInternalMemberUserPostRequestBody(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 mail property + mail: Optional[str] = None + # The passwordProfile property + password_profile: Optional[PasswordProfile] = None + # The userPrincipalName property + user_principal_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ConvertExternalToInternalMemberUserPostRequestBody: + """ + 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: ConvertExternalToInternalMemberUserPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ConvertExternalToInternalMemberUserPostRequestBody() + + 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.password_profile import PasswordProfile + + from ....models.password_profile import PasswordProfile + + fields: Dict[str, Callable[[Any], None]] = { + "mail": lambda n : setattr(self, 'mail', n.get_str_value()), + "passwordProfile": lambda n : setattr(self, 'password_profile', n.get_object_value(PasswordProfile)), + "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("mail", self.mail) + writer.write_object_value("passwordProfile", self.password_profile) + writer.write_str_value("userPrincipalName", self.user_principal_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_request_builder.py b/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_request_builder.py new file mode 100644 index 00000000000..89a9a35c7e9 --- /dev/null +++ b/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +if TYPE_CHECKING: + from ....models.conversion_user_details import ConversionUserDetails + from ....models.o_data_errors.o_data_error import ODataError + from .convert_external_to_internal_member_user_post_request_body import ConvertExternalToInternalMemberUserPostRequestBody + +class ConvertExternalToInternalMemberUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the convertExternalToInternalMemberUser method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ConvertExternalToInternalMemberUserRequestBuilder 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}/convertExternalToInternalMemberUser", path_parameters) + + async def post(self,body: Optional[ConvertExternalToInternalMemberUserPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ConversionUserDetails]: + """ + Convert an externally authenticated user into an internal user. The user is able to sign into the host tenant as an internal user and access resources as a member. For more information about this conversion, see Convert external users to internal users. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConversionUserDetails] + Find more info here: https://learn.microsoft.com/graph/api/user-convertexternaltointernalmemberuser?view=graph-rest-1.0 + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.conversion_user_details import ConversionUserDetails + + return await self.request_adapter.send_async(request_info, ConversionUserDetails, error_mapping) + + def to_post_request_information(self,body: Optional[ConvertExternalToInternalMemberUserPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Convert an externally authenticated user into an internal user. The user is able to sign into the host tenant as an internal user and access resources as a member. For more information about this conversion, see Convert external users to internal users. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ConvertExternalToInternalMemberUserRequestBuilder: + """ + 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: ConvertExternalToInternalMemberUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ConvertExternalToInternalMemberUserRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/users/item/drive/drive_request_builder.py b/msgraph_beta/generated/users/item/drive/drive_request_builder.py index eea4bc7bde0..b3a0fc3edc5 100644 --- a/msgraph_beta/generated/users/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/users/item/drive/drive_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[Drive]: """ - Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. + Retrieve the properties and relationships of a drive resource. A drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Drive] Find more info here: https://learn.microsoft.com/graph/api/drive-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. + Retrieve the properties and relationships of a drive resource. A drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -72,7 +72,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: @dataclass class DriveRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. + Retrieve the properties and relationships of a drive resource. A drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/drives/drives_request_builder.py b/msgraph_beta/generated/users/item/drives/drives_request_builder.py index 78c86138c54..e9b56b58e22 100644 --- a/msgraph_beta/generated/users/item/drives/drives_request_builder.py +++ b/msgraph_beta/generated/users/item/drives/drives_request_builder.py @@ -45,7 +45,7 @@ def by_drive_id(self,drive_id: str) -> DriveItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[DriveCollectionResponse]: """ - Retrieve the list of Drive resources available for a target User, Group, or Site. + Retrieve the list of drive resources available for a target user, group, or site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/drive-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of Drive resources available for a target User, Group, or Site. + Retrieve the list of drive resources available for a target user, group, or site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DrivesRequestBuilderGetQueryParameters(): """ - Retrieve the list of Drive resources available for a target User, Group, or Site. + Retrieve the list of drive resources available for a target user, group, or site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py index 8518a480046..937ecfa9a39 100644 --- a/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 554b86c5ad1..8ddc4188746 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 64c3b0fb0fc..9b441684f48 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py index 5f2b3380696..2cc90d7934f 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index b9162e0bdc6..9f6ee958dc1 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py b/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py new file mode 100644 index 00000000000..6280719bec7 --- /dev/null +++ b/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py @@ -0,0 +1,56 @@ +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.site import Site + +@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 value property + value: Optional[List[Site]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> 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 not parse_node: + 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.site import Site + + from .....models.site import Site + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Site)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("value", self.value) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py b/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py new file mode 100644 index 00000000000..4718fa63294 --- /dev/null +++ b/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddPostResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[Site]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> 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 not parse_node: + 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.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Site)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/users/item/followed_sites/add/add_request_builder.py b/msgraph_beta/generated/users/item/followed_sites/add/add_request_builder.py new file mode 100644 index 00000000000..181ca3c6281 --- /dev/null +++ b/msgraph_beta/generated/users/item/followed_sites/add/add_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +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}/users/{user%2Did}/followedSites/add", path_parameters) + + async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[AddPostResponse]: + """ + Follow a user's site or multiple sites. + 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/site-follow?view=graph-rest-1.0 + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_post_response import AddPostResponse + + return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping) + + def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Follow a user's site or multiple sites. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 not raw_url: + raise TypeError("raw_url cannot be null.") + return AddRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py b/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py index 1f4f1366176..0e7d87ec141 100644 --- a/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py +++ b/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py @@ -13,8 +13,10 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError from ....models.site_collection_response import SiteCollectionResponse + from .add.add_request_builder import AddRequestBuilder from .count.count_request_builder import CountRequestBuilder from .item.site_item_request_builder import SiteItemRequestBuilder + from .remove.remove_request_builder import RemoveRequestBuilder class FollowedSitesRequestBuilder(BaseRequestBuilder): """ @@ -85,6 +87,15 @@ def with_url(self,raw_url: Optional[str] = None) -> FollowedSitesRequestBuilder: raise TypeError("raw_url cannot be null.") return FollowedSitesRequestBuilder(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: """ @@ -94,6 +105,15 @@ def count(self) -> 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 FollowedSitesRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py new file mode 100644 index 00000000000..5d62455c3f0 --- /dev/null +++ b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py @@ -0,0 +1,56 @@ +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.site import Site + +@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 value property + value: Optional[List[Site]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> 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 not parse_node: + 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.site import Site + + from .....models.site import Site + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Site)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("value", self.value) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py new file mode 100644 index 00000000000..ce786872884 --- /dev/null +++ b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemovePostResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[Site]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> 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 not parse_node: + 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.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Site)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/users/item/followed_sites/remove/remove_request_builder.py b/msgraph_beta/generated/users/item/followed_sites/remove/remove_request_builder.py new file mode 100644 index 00000000000..337d51952ce --- /dev/null +++ b/msgraph_beta/generated/users/item/followed_sites/remove/remove_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +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 + +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}/users/{user%2Did}/followedSites/remove", path_parameters) + + async def post(self,body: Optional[RemovePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[RemovePostResponse]: + """ + Unfollow a user's site or multiple sites. + 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/site-unfollow?view=graph-rest-1.0 + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_post_response import RemovePostResponse + + return await self.request_adapter.send_async(request_info, RemovePostResponse, error_mapping) + + def to_post_request_information(self,body: Optional[RemovePostRequestBody] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: + """ + Unfollow a user's site or multiple sites. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 not raw_url: + raise TypeError("raw_url cannot be null.") + return RemoveRequestBuilder(self.request_adapter, raw_url) + + diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py index 1d226d0a45c..d16fff2c0f8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[MailFolder] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[MailFolder]: """ - Create a new mailSearchFolder in the specified user's mailbox. + Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] - Find more info here: https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[MailFolder] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Create a new mailSearchFolder in the specified user's mailbox. + Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py index cc9e510a984..c24bf95afb6 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py @@ -47,10 +47,10 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py index 1cf33847dc0..dab6ea6223f 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py @@ -12,7 +12,7 @@ if TYPE_CHECKING: from .........models.o_data_errors.o_data_error import ODataError - from .........models.user_configuration import UserConfiguration + from .........models.teams_user_configuration.user_configuration import UserConfiguration class UserConfigurationItemRequestBuilder(BaseRequestBuilder): """ @@ -43,7 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) } if not self.request_adapter: raise Exception("Http core is null") - from .........models.user_configuration import UserConfiguration + from .........models.teams_user_configuration.user_configuration import UserConfiguration return await self.request_adapter.send_async(request_info, UserConfiguration, error_mapping) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py index f401137eb81..ffcba7d3d59 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py @@ -47,10 +47,10 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py index dafdf44c853..7b0686e54f5 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py @@ -12,7 +12,7 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError - from .......models.user_configuration import UserConfiguration + from .......models.teams_user_configuration.user_configuration import UserConfiguration class UserConfigurationItemRequestBuilder(BaseRequestBuilder): """ @@ -43,7 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) } if not self.request_adapter: raise Exception("Http core is null") - from .......models.user_configuration import UserConfiguration + from .......models.teams_user_configuration.user_configuration import UserConfiguration return await self.request_adapter.send_async(request_info, UserConfiguration, error_mapping) diff --git a/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py index 8efa5059c41..7d90d3e7555 100644 --- a/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py @@ -47,10 +47,10 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] - Find more info here: https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a message. + Retrieve a list of attachment objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py b/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py index 8d39a18e856..70468a10ccb 100644 --- a/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) The messages in a mailbox or folder. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] - Find more info here: https://learn.microsoft.com/graph/api/message-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -85,11 +85,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def patch(self,body: Optional[Message] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Message]: """ - Update the properties of an eventMessage object. + Update the properties of a message object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -131,7 +131,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[Message] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an eventMessage object. + Update the properties of a message 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/users/item/messages/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py index 902a81c6c86..ede80a48fbc 100644 --- a/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py @@ -31,7 +31,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) Get media content for the navigation property messages from users 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/user-list-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration diff --git a/msgraph_beta/generated/users/item/messages/messages_request_builder.py b/msgraph_beta/generated/users/item/messages/messages_request_builder.py index 441d4cf38de..02a5c6db0bd 100644 --- a/msgraph_beta/generated/users/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/messages_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) The messages in a mailbox or folder. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,11 +68,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None) async def post(self,body: Optional[Message] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[Message]: """ - 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 draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Optional[Message] = None, request_configuration: Optional[RequestConfiguration] = 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 draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_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 e6fb84c82ee..aab0a5b7cc0 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 @@ -46,7 +46,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -89,7 +89,7 @@ async def post(self,body: Optional[AppLogCollectionRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> 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 cea2d14bd33..d358243f84c 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[AppLogCollectionRequest]: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -102,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ def create_download_url(self) -> CreateDownloadUrlRequestBuilder: @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - The collection property of AppLogUploadRequest. + Indicates collection of App Log Upload Request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py index 153f08e0e01..72e15af03da 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def attendance_records(self) -> AttendanceRecordsRequestBuilder: @dataclass class MeetingAttendanceReportRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/windows/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/settings/windows/item/instances/instances_request_builder.py index 45704841d4d..de523cdfa82 100644 --- a/msgraph_beta/generated/users/item/settings/windows/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/windows/item/instances/instances_request_builder.py @@ -46,9 +46,10 @@ def by_windows_setting_instance_id(self,windows_setting_instance_id: str) -> Win async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[WindowsSettingInstanceCollectionResponse]: """ - Get instances from users + Get a list of windowsSettingInstance objects and their properties for the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsSettingInstanceCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/windowssetting-list-instances?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -89,7 +90,7 @@ async def post(self,body: Optional[WindowsSettingInstance] = None, request_confi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get instances from users + Get a list of windowsSettingInstance objects and their properties for the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstancesRequestBuilderGetQueryParameters(): """ - Get instances from users + Get a list of windowsSettingInstance objects and their properties for the signed-in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/windows/item/instances/item/windows_setting_instance_item_request_builder.py b/msgraph_beta/generated/users/item/settings/windows/item/instances/item/windows_setting_instance_item_request_builder.py index 0aa6fa254d7..55b81261f8f 100644 --- a/msgraph_beta/generated/users/item/settings/windows/item/instances/item/windows_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/windows/item/instances/item/windows_setting_instance_item_request_builder.py @@ -47,9 +47,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[WindowsSettingInstance]: """ - Get instances from users + Read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsSettingInstance] + Find more info here: https://learn.microsoft.com/graph/api/windowssettinginstance-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -101,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get instances from users + Read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def with_url(self,raw_url: Optional[str] = None) -> WindowsSettingInstanceItemRe @dataclass class WindowsSettingInstanceItemRequestBuilderGetQueryParameters(): """ - Get instances from users + Read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/windows/item/windows_setting_item_request_builder.py b/msgraph_beta/generated/users/item/settings/windows/item/windows_setting_item_request_builder.py index d9cf2abcc70..49e6abd9270 100644 --- a/msgraph_beta/generated/users/item/settings/windows/item/windows_setting_item_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/windows/item/windows_setting_item_request_builder.py @@ -48,9 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[WindowsSetting]: """ - Get windows from users + Read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsSetting] + Find more info here: https://learn.microsoft.com/graph/api/windowssetting-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -102,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get windows from users + Read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +149,7 @@ def instances(self) -> InstancesRequestBuilder: @dataclass class WindowsSettingItemRequestBuilderGetQueryParameters(): """ - Get windows from users + Read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/windows/windows_request_builder.py b/msgraph_beta/generated/users/item/settings/windows/windows_request_builder.py index 1d236a0d603..37c80a826f0 100644 --- a/msgraph_beta/generated/users/item/settings/windows/windows_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/windows/windows_request_builder.py @@ -46,9 +46,10 @@ def by_windows_setting_id(self,windows_setting_id: str) -> WindowsSettingItemReq async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[WindowsSettingCollectionResponse]: """ - Get windows from users + Get a list of windowsSetting objects and their properties for the signed in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsSettingCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/usersettings-list-windows?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -89,7 +90,7 @@ async def post(self,body: Optional[WindowsSetting] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Get windows from users + Get a list of windowsSetting objects and their properties for the signed in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,7 +136,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WindowsRequestBuilderGetQueryParameters(): """ - Get windows from users + Get a list of windowsSetting objects and their properties for the signed in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py index d136ff35cce..830215f5aee 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None: """ - Deletes a linkedResource object. + Delete a linkedResource 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/linkedresource-delete?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[LinkedResource] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Deletes a linkedResource object. + Delete a linkedResource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/users/item/user_item_request_builder.py b/msgraph_beta/generated/users/item/user_item_request_builder.py index 6a40c448686..29b93b50c22 100644 --- a/msgraph_beta/generated/users/item/user_item_request_builder.py +++ b/msgraph_beta/generated/users/item/user_item_request_builder.py @@ -35,6 +35,7 @@ from .cloud_p_cs.cloud_p_cs_request_builder import CloudPCsRequestBuilder from .contacts.contacts_request_builder import ContactsRequestBuilder from .contact_folders.contact_folders_request_builder import ContactFoldersRequestBuilder + from .convert_external_to_internal_member_user.convert_external_to_internal_member_user_request_builder import ConvertExternalToInternalMemberUserRequestBuilder from .created_objects.created_objects_request_builder import CreatedObjectsRequestBuilder from .delete_password_single_sign_on_credentials.delete_password_single_sign_on_credentials_request_builder import DeletePasswordSingleSignOnCredentialsRequestBuilder from .devices.devices_request_builder import DevicesRequestBuilder @@ -210,7 +211,7 @@ def find_rooms_with_room_list(self,room_list: Optional[str] = None) -> FindRooms async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[User]: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 @@ -243,7 +244,7 @@ def online_meetings_with_join_web_url(self,join_web_url: Optional[str] = None) - async def patch(self,body: Optional[User] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[User]: """ - Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] @@ -293,7 +294,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -304,7 +305,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Optional[User] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -516,6 +517,15 @@ def contacts(self) -> ContactsRequestBuilder: return ContactsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def convert_external_to_internal_member_user(self) -> ConvertExternalToInternalMemberUserRequestBuilder: + """ + Provides operations to call the convertExternalToInternalMemberUser method. + """ + from .convert_external_to_internal_member_user.convert_external_to_internal_member_user_request_builder import ConvertExternalToInternalMemberUserRequestBuilder + + return ConvertExternalToInternalMemberUserRequestBuilder(self.request_adapter, self.path_parameters) + @property def created_objects(self) -> CreatedObjectsRequestBuilder: """ @@ -1275,7 +1285,7 @@ def wipe_managed_app_registrations_by_device_tag(self) -> WipeManagedAppRegistra @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/pyproject.toml b/pyproject.toml index e37ee1c0d2d..8fca2dbc890 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "msgraph-beta-sdk" -version = "1.1.0" +version = "1.2.0" authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "The Microsoft Graph Beta Python SDK" dependencies = [ @@ -13,6 +13,8 @@ dependencies = [ "microsoft-kiota-authentication-azure >=1.0.0,<2.0.0", "microsoft-kiota-serialization-json >=1.0.0,<2.0.0", "microsoft-kiota-serialization-text >=1.0.0,<2.0.0", + "microsoft-kiota-serialization-form >=0.1.0", + "microsoft-kiota-serialization-multipart >=0.1.0", "microsoft-kiota-http >=1.0.0,<2.0.0", "msgraph_core >=1.0.0" @@ -59,7 +61,7 @@ pythonpath = [ ] [tool.bumpver] -current_version = "1.1.0" +current_version = "1.2.0" version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]" commit_message = "bump version {old_version} -> {new_version}" commit = true