diff --git a/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py index 01882bad499..8a887d412ce 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxItemImportSession]: """ - Invoke action createImportSession + Create a session to import an Exchange mailbox item that was exported using the exportItems API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemImportSession] + Find more info here: https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0 """ request_info = self.to_post_request_information( request_configuration @@ -52,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action createImportSession + Create a session to import an Exchange mailbox item that was exported using the exportItems API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py index 449596635bc..d0ef243ff85 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExportItemsPostResponse]: """ - Invoke action exportItems + Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExportItemsPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ExportItemsPostRequestBody, request_configuration: Opt def to_post_request_information(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action exportItems + Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export 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/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py index 99a32f6b109..905471ab695 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py index 5f8e52a14ee..b988359ca2d 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_folder_id(self,mailbox_folder_id: str) -> MailboxFolderItemReques async def get(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]: """ - Get folders from admin + Get all the mailboxFolder objects in the specified mailbox, including any search folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolderCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FoldersR def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get folders from admin + Get all the mailboxFolder objects in the specified mailbox, including any search folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class FoldersRequestBuilderGetQueryParameters(): """ - Get folders from admin + Get all the mailboxFolder objects in the specified mailbox, including any search folders. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py index 20e5c62f240..e33c049a368 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_folder_id1(self,mailbox_folder_id1: str) -> MailboxFolderItemRequ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]: """ - Get childFolders from admin + Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolderCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-childfolders?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFol def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get childFolders from admin + Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ChildFoldersRequestBuilderGetQueryParameters(): """ - Get childFolders from admin + Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py index 90597b73265..79745a9e00c 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py index dd05ea964c5..7cf3c4a7c90 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py index 2a3c68ce757..ecccea656bc 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItem]: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItem] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder: @dataclass class MailboxItemItemRequestBuilderGetQueryParameters(): """ - Get items from admin + The collection of items in this folder. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py index 2878035d91d..5de1bafb601 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py @@ -49,7 +49,7 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItemCollectionResponse]: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemCollectionResponse] """ @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + The collection of items in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get items from admin + The collection of items in this folder. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py index d189c01bd3a..adc62273579 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolder]: """ - Get childFolders from admin + The collection of child folders in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolder] """ @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get childFolders from admin + The collection of child folders in this folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -84,7 +84,7 @@ def items(self) -> ItemsRequestBuilder: @dataclass class MailboxFolderItemRequestBuilderGetQueryParameters(): """ - Get childFolders from admin + The collection of child folders in this folder. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py index 032207e7fcc..1f7ae51299a 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxitem-delta?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Invoke function delta + Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py index d99da6e7108..c64d51e84a9 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItem]: """ - Get items from admin + Read the properties and relationships of a mailboxItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItem] + Find more info here: https://learn.microsoft.com/graph/api/mailboxitem-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + Read the properties and relationships of a mailboxItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder: @dataclass class MailboxItemItemRequestBuilderGetQueryParameters(): """ - Get items from admin + Read the properties and relationships of a mailboxItem object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py index 720239f3c2d..31f80662628 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItemCollectionResponse]: """ - Get items from admin + Get the mailboxItem collection within a specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-items?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get items from admin + Get the mailboxItem collection within a specified mailboxFolder in a mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get items from admin + Get the mailboxItem collection within a specified mailboxFolder in a mailbox. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py index d998d831744..6994cce1982 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py @@ -34,9 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolder]: """ - Get folders from admin + Read the properties and relationships of a mailboxFolder object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolder] + Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -54,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get folders from admin + Read the properties and relationships of a mailboxFolder object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -94,7 +95,7 @@ def items(self) -> ItemsRequestBuilder: @dataclass class MailboxFolderItemRequestBuilderGetQueryParameters(): """ - Get folders from admin + Read the properties and relationships of a mailboxFolder object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py index 4343557c868..c3a36f7c4f4 100644 --- a/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MailboxItemRequestBuilderGetQueryParameters]] = None) -> Optional[Mailbox]: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Mailbox] """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ class MailboxItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Q @dataclass class MailboxItemRequestBuilderGetQueryParameters(): """ - Get mailboxes from admin + Represents a user's mailboxes. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py b/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py index 537eb794327..70aff48b23f 100644 --- a/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py +++ b/msgraph/generated/admin/exchange/mailboxes/mailboxes_request_builder.py @@ -49,7 +49,7 @@ def by_mailbox_id(self,mailbox_id: str) -> MailboxItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MailboxesRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxCollectionResponse]: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: Mailbox, request_configuration: Optional[RequestConfig def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxes from admin + Represents a user's mailboxes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MailboxesRequestBuilderGetQueryParameters(): """ - Get mailboxes from admin + Represents a user's mailboxes. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py index 4b59fbeda9b..9c81e0307a9 100644 --- a/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/chats/item/complete_migration/complete_migration_request_builder.py @@ -31,9 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. 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/chat-completemigration?view=graph-rest-1.0 """ request_info = self.to_post_request_information( request_configuration @@ -49,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py b/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py index e70e27f7834..c96d245d877 100644 --- a/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/chats/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. 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/chat-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py index 16b722e3c31..0ac7874fea7 100644 --- a/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py index bd6928e01bc..9d997d70fc7 100644 --- a/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py index 6693d9aed43..ed093e86274 100644 --- a/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py b/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py index 52532b9692e..ec980295ac0 100644 --- a/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/groups/item/team/primary_channel/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index a4cb41cf885..efe6f71dbfc 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -99346,6 +99346,8 @@ msgraph.generated.models.AppLogUploadState::0003-UnknownFutureValue msgraph.generated.models.AppManagementApplicationConfiguration-->AppManagementConfiguration msgraph.generated.models.AppManagementApplicationConfiguration::|public|constructor():None msgraph.generated.models.AppManagementApplicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.AppManagementApplicationConfiguration::|public|identifier_uris():IdentifierUriConfiguration +msgraph.generated.models.AppManagementApplicationConfiguration::|public|identifier_uris(value:IdentifierUriConfiguration):None msgraph.generated.models.AppManagementApplicationConfiguration::|public|odata_type:str msgraph.generated.models.AppManagementApplicationConfiguration::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AppManagementApplicationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementApplicationConfiguration @@ -99375,6 +99377,18 @@ msgraph.generated.models.AppManagementPolicy::|public|restrictions():CustomAppMa msgraph.generated.models.AppManagementPolicy::|public|restrictions(value:CustomAppManagementConfiguration):None msgraph.generated.models.AppManagementPolicy::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AppManagementPolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicy +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|additional_data():dict[str, Any] +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|backing_store:BackingStore +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|constructor():None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|custom_security_attributes():list[CustomSecurityAttributeExemption] +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|custom_security_attributes(value:list[CustomSecurityAttributeExemption]):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|odata_type():str +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|odata_type(value:str):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.AppManagementPolicyActorExemptions::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicyActorExemptions +msgraph.generated.models.AppManagementPolicyActorExemptions~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.AppManagementPolicyCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|constructor():None msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -107256,7 +107270,21 @@ msgraph.generated.models.CurrencyColumn::|public|odata_type(value:str):None msgraph.generated.models.CurrencyColumn::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.CurrencyColumn::|static|public|create_from_discriminator_value(parse_node:ParseNode):CurrencyColumn msgraph.generated.models.CurrencyColumn~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|additional_data():dict[str, Any] +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|backing_store:BackingStore +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|constructor():None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|identifier_uris():IdentifierUriConfiguration +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|identifier_uris(value:IdentifierUriConfiguration):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|odata_type():str +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|odata_type(value:str):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CustomAppManagementApplicationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomAppManagementApplicationConfiguration +msgraph.generated.models.CustomAppManagementApplicationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.CustomAppManagementConfiguration-->AppManagementConfiguration +msgraph.generated.models.CustomAppManagementConfiguration::|public|application_restrictions():CustomAppManagementApplicationConfiguration +msgraph.generated.models.CustomAppManagementConfiguration::|public|application_restrictions(value:CustomAppManagementApplicationConfiguration):None msgraph.generated.models.CustomAppManagementConfiguration::|public|constructor():None msgraph.generated.models.CustomAppManagementConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.CustomAppManagementConfiguration::|public|odata_type:str @@ -107429,6 +107457,8 @@ msgraph.generated.models.CustomMetadataDictionary::|public|get_field_deserialize msgraph.generated.models.CustomMetadataDictionary::|public|odata_type:str msgraph.generated.models.CustomMetadataDictionary::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.CustomMetadataDictionary::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomMetadataDictionary +msgraph.generated.models.CustomSecurityAttributeComparisonOperator::0000-Equals +msgraph.generated.models.CustomSecurityAttributeComparisonOperator::0001-UnknownFutureValue msgraph.generated.models.CustomSecurityAttributeDefinition-->Entity msgraph.generated.models.CustomSecurityAttributeDefinition::|public|allowed_values():list[AllowedValue] msgraph.generated.models.CustomSecurityAttributeDefinition::|public|allowed_values(value:list[AllowedValue]):None @@ -107460,6 +107490,23 @@ msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|p msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|public|value():list[CustomSecurityAttributeDefinition] msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|public|value(value:list[CustomSecurityAttributeDefinition]):None msgraph.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeDefinitionCollectionResponse +msgraph.generated.models.CustomSecurityAttributeExemption-->Entity +msgraph.generated.models.CustomSecurityAttributeExemption::|public|constructor():None +msgraph.generated.models.CustomSecurityAttributeExemption::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CustomSecurityAttributeExemption::|public|id:str +msgraph.generated.models.CustomSecurityAttributeExemption::|public|odata_type:str +msgraph.generated.models.CustomSecurityAttributeExemption::|public|operator():CustomSecurityAttributeComparisonOperator +msgraph.generated.models.CustomSecurityAttributeExemption::|public|operator(value:CustomSecurityAttributeComparisonOperator):None +msgraph.generated.models.CustomSecurityAttributeExemption::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CustomSecurityAttributeExemption::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeExemption +msgraph.generated.models.CustomSecurityAttributeStringValueExemption-->CustomSecurityAttributeExemption +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|constructor():None +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|odata_type:str +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|value():str +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|public|value(value:str):None +msgraph.generated.models.CustomSecurityAttributeStringValueExemption::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeStringValueExemption msgraph.generated.models.CustomSecurityAttributeValue::|public|additional_data():dict[str, Any] msgraph.generated.models.CustomSecurityAttributeValue::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.CustomSecurityAttributeValue::|public|backing_store:BackingStore @@ -114410,6 +114457,8 @@ msgraph.generated.models.Group::|public|hide_from_address_lists():bool msgraph.generated.models.Group::|public|hide_from_address_lists(value:bool):None msgraph.generated.models.Group::|public|hide_from_outlook_clients():bool msgraph.generated.models.Group::|public|hide_from_outlook_clients(value:bool):None +msgraph.generated.models.Group::|public|info_catalogs():list[str] +msgraph.generated.models.Group::|public|info_catalogs(value:list[str]):None msgraph.generated.models.Group::|public|is_archived():bool msgraph.generated.models.Group::|public|is_archived(value:bool):None msgraph.generated.models.Group::|public|is_assignable_to_role():bool @@ -114751,6 +114800,42 @@ msgraph.generated.models.HyperlinkOrPictureColumn::|public|odata_type(value:str) msgraph.generated.models.HyperlinkOrPictureColumn::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.HyperlinkOrPictureColumn::|static|public|create_from_discriminator_value(parse_node:ParseNode):HyperlinkOrPictureColumn msgraph.generated.models.HyperlinkOrPictureColumn~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.IdentifierUriConfiguration::|public|additional_data():dict[str, Any] +msgraph.generated.models.IdentifierUriConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.IdentifierUriConfiguration::|public|backing_store:BackingStore +msgraph.generated.models.IdentifierUriConfiguration::|public|constructor():None +msgraph.generated.models.IdentifierUriConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.IdentifierUriConfiguration::|public|non_default_uri_addition():IdentifierUriRestriction +msgraph.generated.models.IdentifierUriConfiguration::|public|non_default_uri_addition(value:IdentifierUriRestriction):None +msgraph.generated.models.IdentifierUriConfiguration::|public|odata_type():str +msgraph.generated.models.IdentifierUriConfiguration::|public|odata_type(value:str):None +msgraph.generated.models.IdentifierUriConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.IdentifierUriConfiguration::|public|uri_addition_without_unique_tenant_identifier():IdentifierUriRestriction +msgraph.generated.models.IdentifierUriConfiguration::|public|uri_addition_without_unique_tenant_identifier(value:IdentifierUriRestriction):None +msgraph.generated.models.IdentifierUriConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentifierUriConfiguration +msgraph.generated.models.IdentifierUriConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.IdentifierUriRestriction::|public|additional_data():dict[str, Any] +msgraph.generated.models.IdentifierUriRestriction::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.IdentifierUriRestriction::|public|backing_store:BackingStore +msgraph.generated.models.IdentifierUriRestriction::|public|constructor():None +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_apps_receiving_v2_tokens():bool +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_apps_receiving_v2_tokens(value:bool):None +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_saml():bool +msgraph.generated.models.IdentifierUriRestriction::|public|exclude_saml(value:bool):None +msgraph.generated.models.IdentifierUriRestriction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.IdentifierUriRestriction::|public|is_state_set_by_microsoft():bool +msgraph.generated.models.IdentifierUriRestriction::|public|is_state_set_by_microsoft(value:bool):None +msgraph.generated.models.IdentifierUriRestriction::|public|odata_type():str +msgraph.generated.models.IdentifierUriRestriction::|public|odata_type(value:str):None +msgraph.generated.models.IdentifierUriRestriction::|public|restrict_for_apps_created_after_date_time():datetime.datetime +msgraph.generated.models.IdentifierUriRestriction::|public|restrict_for_apps_created_after_date_time(value:datetime.datetime):None +msgraph.generated.models.IdentifierUriRestriction::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.IdentifierUriRestriction::|public|state():AppManagementRestrictionState +msgraph.generated.models.IdentifierUriRestriction::|public|state(value:AppManagementRestrictionState):None +msgraph.generated.models.IdentifierUriRestriction::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentifierUriRestriction +msgraph.generated.models.IdentifierUriRestriction~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.Identity::|public|additional_data():dict[str, Any] msgraph.generated.models.Identity::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.Identity::|public|backing_store:BackingStore @@ -117425,6 +117510,8 @@ msgraph.generated.models.KeyCredentialConfiguration::|public|additional_data():d msgraph.generated.models.KeyCredentialConfiguration::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.KeyCredentialConfiguration::|public|backing_store:BackingStore msgraph.generated.models.KeyCredentialConfiguration::|public|constructor():None +msgraph.generated.models.KeyCredentialConfiguration::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph.generated.models.KeyCredentialConfiguration::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None msgraph.generated.models.KeyCredentialConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.KeyCredentialConfiguration::|public|max_lifetime():datetime.timedelta msgraph.generated.models.KeyCredentialConfiguration::|public|max_lifetime(value:datetime.timedelta):None @@ -122443,6 +122530,8 @@ msgraph.generated.models.OnPremisesDirectorySynchronizationDeletionPreventionTyp msgraph.generated.models.OnPremisesDirectorySynchronizationDeletionPreventionType::0003-UnknownFutureValue msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|additional_data():dict[str, Any] msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|allow_on_prem_update_of_on_premises_object_identifier_enabled():bool +msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|allow_on_prem_update_of_on_premises_object_identifier_enabled(value:bool):None msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|backing_store:BackingStore msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|block_cloud_object_takeover_through_hard_match_enabled():bool msgraph.generated.models.OnPremisesDirectorySynchronizationFeature::|public|block_cloud_object_takeover_through_hard_match_enabled(value:bool):None @@ -123556,6 +123645,8 @@ msgraph.generated.models.PasswordCredentialConfiguration::|public|additional_dat msgraph.generated.models.PasswordCredentialConfiguration::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.PasswordCredentialConfiguration::|public|backing_store:BackingStore msgraph.generated.models.PasswordCredentialConfiguration::|public|constructor():None +msgraph.generated.models.PasswordCredentialConfiguration::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph.generated.models.PasswordCredentialConfiguration::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None msgraph.generated.models.PasswordCredentialConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.PasswordCredentialConfiguration::|public|max_lifetime():datetime.timedelta msgraph.generated.models.PasswordCredentialConfiguration::|public|max_lifetime(value:datetime.timedelta):None @@ -129832,6 +129923,29 @@ msgraph.generated.models.ScheduleEntityTheme::0009-DarkPurple msgraph.generated.models.ScheduleEntityTheme::0010-DarkPink msgraph.generated.models.ScheduleEntityTheme::0011-DarkYellow msgraph.generated.models.ScheduleEntityTheme::0012-UnknownFutureValue +msgraph.generated.models.ScheduleEntityTheme::0013-DarkRed +msgraph.generated.models.ScheduleEntityTheme::0014-Cranberry +msgraph.generated.models.ScheduleEntityTheme::0015-DarkOrange +msgraph.generated.models.ScheduleEntityTheme::0016-Bronze +msgraph.generated.models.ScheduleEntityTheme::0017-Peach +msgraph.generated.models.ScheduleEntityTheme::0018-Gold +msgraph.generated.models.ScheduleEntityTheme::0019-Lime +msgraph.generated.models.ScheduleEntityTheme::0020-Forest +msgraph.generated.models.ScheduleEntityTheme::0021-LightGreen +msgraph.generated.models.ScheduleEntityTheme::0022-Jade +msgraph.generated.models.ScheduleEntityTheme::0023-LightTeal +msgraph.generated.models.ScheduleEntityTheme::0024-DarkTeal +msgraph.generated.models.ScheduleEntityTheme::0025-Steel +msgraph.generated.models.ScheduleEntityTheme::0026-SkyBlue +msgraph.generated.models.ScheduleEntityTheme::0027-BlueGray +msgraph.generated.models.ScheduleEntityTheme::0028-Lavender +msgraph.generated.models.ScheduleEntityTheme::0029-Lilac +msgraph.generated.models.ScheduleEntityTheme::0030-Plum +msgraph.generated.models.ScheduleEntityTheme::0031-Magenta +msgraph.generated.models.ScheduleEntityTheme::0032-DarkBrown +msgraph.generated.models.ScheduleEntityTheme::0033-Beige +msgraph.generated.models.ScheduleEntityTheme::0034-Charcoal +msgraph.generated.models.ScheduleEntityTheme::0035-Silver msgraph.generated.models.ScheduleEntity~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.ScheduleInformation::|public|additional_data():dict[str, Any] msgraph.generated.models.ScheduleInformation::|public|additional_data(value:dict[str, Any]):None @@ -142764,6 +142878,22 @@ msgraph.generated.models.UserWorkLocation::|public|work_location_type():WorkLoca msgraph.generated.models.UserWorkLocation::|public|work_location_type(value:WorkLocationType):None msgraph.generated.models.UserWorkLocation::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserWorkLocation msgraph.generated.models.UserWorkLocation~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget-->AuthenticationMethodTarget +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|constructor():None +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|odata_type:str +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|verified_id_profiles():list[UUID] +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|public|verified_id_profiles(value:list[UUID]):None +msgraph.generated.models.VerifiableCredentialAuthenticationMethodTarget::|static|public|create_from_discriminator_value(parse_node:ParseNode):VerifiableCredentialAuthenticationMethodTarget +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|constructor():None +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|include_targets():list[VerifiableCredentialAuthenticationMethodTarget] +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|include_targets(value:list[VerifiableCredentialAuthenticationMethodTarget]):None +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|odata_type:str +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.VerifiableCredentialsAuthenticationMethodConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):VerifiableCredentialsAuthenticationMethodConfiguration msgraph.generated.models.VerifiedDomain::|public|additional_data():dict[str, Any] msgraph.generated.models.VerifiedDomain::|public|additional_data(value:dict[str, Any]):None msgraph.generated.models.VerifiedDomain::|public|backing_store:BackingStore diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 8ab44790cf5..67e1cf1e438 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B0174C0FF35E104EE6846D7A9ED44062903FB3CD8CEAD669E6AB392DFAC6C17788F8E650539758EB965F9708BC48B0F590D49FBF8C3260BD1FF1B8BC893AB5D8", + "descriptionHash": "48D4568E795524402BA925BE4278BDF4BE0E64BE4060901024C3C949958FDD2992656314200D8B82B6E6406BD2E032C187F3FA9E0C48D513C527F1942ABA66F1", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.31.1", diff --git a/msgraph/generated/models/app_management_application_configuration.py b/msgraph/generated/models/app_management_application_configuration.py index b6e89b7db0c..65ca9191d4d 100644 --- a/msgraph/generated/models/app_management_application_configuration.py +++ b/msgraph/generated/models/app_management_application_configuration.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration from .app_management_configuration import AppManagementConfiguration @@ -13,6 +14,8 @@ class AppManagementApplicationConfiguration(AppManagementConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.appManagementApplicationConfiguration" + # Configuration object for restrictions on identifierUris property for an application. + identifier_uris: Optional[IdentifierUriConfiguration] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> AppManagementApplicationConfiguration: @@ -31,10 +34,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration fields: dict[str, Callable[[Any], None]] = { + "identifierUris": lambda n : setattr(self, 'identifier_uris', n.get_object_value(IdentifierUriConfiguration)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -49,5 +55,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("identifierUris", self.identifier_uris) diff --git a/msgraph/generated/models/app_management_policy_actor_exemptions.py b/msgraph/generated/models/app_management_policy_actor_exemptions.py new file mode 100644 index 00000000000..290cb07ecef --- /dev/null +++ b/msgraph/generated/models/app_management_policy_actor_exemptions.py @@ -0,0 +1,61 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +@dataclass +class AppManagementPolicyActorExemptions(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The collection of customSecurityAttributeExemption to exempt from the policy enforcement. Limit of 5. + custom_security_attributes: Optional[list[CustomSecurityAttributeExemption]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AppManagementPolicyActorExemptions: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AppManagementPolicyActorExemptions + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AppManagementPolicyActorExemptions() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + fields: dict[str, Callable[[Any], None]] = { + "customSecurityAttributes": lambda n : setattr(self, 'custom_security_attributes', n.get_collection_of_object_values(CustomSecurityAttributeExemption)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("customSecurityAttributes", self.custom_security_attributes) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/authentication_method_configuration.py b/msgraph/generated/models/authentication_method_configuration.py index 5ec96c9d34a..dcbfe5d0b2e 100644 --- a/msgraph/generated/models/authentication_method_configuration.py +++ b/msgraph/generated/models/authentication_method_configuration.py @@ -16,6 +16,7 @@ from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration @@ -76,6 +77,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration return TemporaryAccessPassAuthenticationMethodConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration".casefold(): + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + + return VerifiableCredentialsAuthenticationMethodConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.voiceAuthenticationMethodConfiguration".casefold(): from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration @@ -102,6 +107,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration @@ -116,6 +122,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration diff --git a/msgraph/generated/models/authentication_method_target.py b/msgraph/generated/models/authentication_method_target.py index f969f4401cb..5b94bd37658 100644 --- a/msgraph/generated/models/authentication_method_target.py +++ b/msgraph/generated/models/authentication_method_target.py @@ -10,6 +10,7 @@ from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .entity import Entity @@ -48,6 +49,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth from .sms_authentication_method_target import SmsAuthenticationMethodTarget return SmsAuthenticationMethodTarget() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialAuthenticationMethodTarget".casefold(): + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + return VerifiableCredentialAuthenticationMethodTarget() return AuthenticationMethodTarget() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: @@ -60,12 +65,14 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .authentication_method_target_type import AuthenticationMethodTargetType from .entity import Entity from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget fields: dict[str, Callable[[Any], None]] = { "isRegistrationRequired": lambda n : setattr(self, 'is_registration_required', n.get_bool_value()), diff --git a/msgraph/generated/models/backup_restore_root.py b/msgraph/generated/models/backup_restore_root.py index dbbaea7f518..5cd99402713 100644 --- a/msgraph/generated/models/backup_restore_root.py +++ b/msgraph/generated/models/backup_restore_root.py @@ -35,7 +35,7 @@ @dataclass class BackupRestoreRoot(Entity, Parsable): - # The browseSessions property + # The list of browse sessions in the tenant. browse_sessions: Optional[list[BrowseSessionBase]] = None # The list of drive inclusion rules applied to the tenant. drive_inclusion_rules: Optional[list[DriveProtectionRule]] = None @@ -55,7 +55,7 @@ class BackupRestoreRoot(Entity, Parsable): mailbox_protection_units_bulk_addition_jobs: Optional[list[MailboxProtectionUnitsBulkAdditionJob]] = None # The OdataType property odata_type: Optional[str] = None - # The oneDriveForBusinessBrowseSessions property + # The list of OneDrive for Business browse sessions in the tenant. one_drive_for_business_browse_sessions: Optional[list[OneDriveForBusinessBrowseSession]] = None # The list of OneDrive for Business protection policies in the tenant. one_drive_for_business_protection_policies: Optional[list[OneDriveForBusinessProtectionPolicy]] = None @@ -73,7 +73,7 @@ class BackupRestoreRoot(Entity, Parsable): service_apps: Optional[list[ServiceApp]] = None # Represents the tenant-level status of the Backup Storage service. service_status: Optional[ServiceStatus] = None - # The sharePointBrowseSessions property + # The list of SharePoint browse sessions in the tenant. share_point_browse_sessions: Optional[list[SharePointBrowseSession]] = None # The list of SharePoint protection policies in the tenant. share_point_protection_policies: Optional[list[SharePointProtectionPolicy]] = None diff --git a/msgraph/generated/models/browse_query_response_item.py b/msgraph/generated/models/browse_query_response_item.py index 900a937f009..91f557b23bb 100644 --- a/msgraph/generated/models/browse_query_response_item.py +++ b/msgraph/generated/models/browse_query_response_item.py @@ -15,19 +15,19 @@ class BrowseQueryResponseItem(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 itemKey property + # Unique identifier of the returned item. item_key: Optional[str] = None - # The itemsCount property + # The count of items present within the items; for example, the count of files in a folder. items_count: Optional[int] = None - # The name property + # The name of the item. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The sizeInBytes property + # The size of the item in bytes. size_in_bytes: Optional[str] = None # The type property type: Optional[BrowseQueryResponseItemType] = None - # The webUrl property + # The web URL of the item. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/browse_session_base.py b/msgraph/generated/models/browse_session_base.py index 5841c683166..b654aa6a94a 100644 --- a/msgraph/generated/models/browse_session_base.py +++ b/msgraph/generated/models/browse_session_base.py @@ -16,17 +16,17 @@ @dataclass class BrowseSessionBase(Entity, Parsable): - # The backupSizeInBytes property + # The size of the backup in bytes. backup_size_in_bytes: Optional[str] = None - # The createdDateTime property + # The date and time when the browse session 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 error property + # Contains the error details if the browse session creation fails. error: Optional[PublicError] = None - # The expirationDateTime property + # The date and time after which the browse session is deleted automatically. expiration_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The restorePointDateTime property + # The date and time of the restore point on which the browse session is created. restore_point_date_time: Optional[datetime.datetime] = None # The restorePointId property restore_point_id: Optional[str] = None diff --git a/msgraph/generated/models/channel.py b/msgraph/generated/models/channel.py index 624452948d2..faf2f47eb58 100644 --- a/msgraph/generated/models/channel.py +++ b/msgraph/generated/models/channel.py @@ -48,11 +48,11 @@ class Channel(Entity, Parsable): membership_type: Optional[ChannelMembershipType] = None # A collection of all the messages in the channel. A navigation property. Nullable. messages: Optional[list[ChatMessage]] = None - # The migrationMode property + # Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. migration_mode: Optional[MigrationMode] = None # The OdataType property odata_type: Optional[str] = None - # The originalCreatedDateTime property + # Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. original_created_date_time: Optional[datetime.datetime] = None # A collection of teams with which a channel is shared. shared_with_teams: Optional[list[SharedWithChannelTeamInfo]] = None diff --git a/msgraph/generated/models/chat.py b/msgraph/generated/models/chat.py index 563c47d5269..746d940a4b5 100644 --- a/msgraph/generated/models/chat.py +++ b/msgraph/generated/models/chat.py @@ -39,13 +39,13 @@ class Chat(Entity, Parsable): members: Optional[list[ConversationMember]] = None # A collection of all the messages in the chat. Nullable. messages: Optional[list[ChatMessage]] = None - # The migrationMode property + # Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. migration_mode: Optional[MigrationMode] = None # The OdataType property odata_type: Optional[str] = None # Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. online_meeting_info: Optional[TeamworkOnlineMeetingInfo] = None - # The originalCreatedDateTime property + # Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. original_created_date_time: Optional[datetime.datetime] = None # A collection of permissions granted to apps for the chat. permission_grants: Optional[list[ResourceSpecificPermissionGrant]] = None diff --git a/msgraph/generated/models/custom_app_management_application_configuration.py b/msgraph/generated/models/custom_app_management_application_configuration.py new file mode 100644 index 00000000000..8b4a11dd330 --- /dev/null +++ b/msgraph/generated/models/custom_app_management_application_configuration.py @@ -0,0 +1,61 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .identifier_uri_configuration import IdentifierUriConfiguration + +@dataclass +class CustomAppManagementApplicationConfiguration(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) + # Configuration for identifierUris restrictions. + identifier_uris: Optional[IdentifierUriConfiguration] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomAppManagementApplicationConfiguration: + """ + 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: CustomAppManagementApplicationConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CustomAppManagementApplicationConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .identifier_uri_configuration import IdentifierUriConfiguration + + from .identifier_uri_configuration import IdentifierUriConfiguration + + fields: dict[str, Callable[[Any], None]] = { + "identifierUris": lambda n : setattr(self, 'identifier_uris', n.get_object_value(IdentifierUriConfiguration)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("identifierUris", self.identifier_uris) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/custom_app_management_configuration.py b/msgraph/generated/models/custom_app_management_configuration.py index 248c03ac3af..4b18bedc3b9 100644 --- a/msgraph/generated/models/custom_app_management_configuration.py +++ b/msgraph/generated/models/custom_app_management_configuration.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration from .app_management_configuration import AppManagementConfiguration @@ -13,6 +14,8 @@ class CustomAppManagementConfiguration(AppManagementConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.customAppManagementConfiguration" + # Restrictions that are applicable only to application objects to which the policy is attached. + application_restrictions: Optional[CustomAppManagementApplicationConfiguration] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> CustomAppManagementConfiguration: @@ -31,10 +34,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration fields: dict[str, Callable[[Any], None]] = { + "applicationRestrictions": lambda n : setattr(self, 'application_restrictions', n.get_object_value(CustomAppManagementApplicationConfiguration)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -49,5 +55,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("applicationRestrictions", self.application_restrictions) diff --git a/msgraph/generated/models/custom_security_attribute_comparison_operator.py b/msgraph/generated/models/custom_security_attribute_comparison_operator.py new file mode 100644 index 00000000000..64d899d3847 --- /dev/null +++ b/msgraph/generated/models/custom_security_attribute_comparison_operator.py @@ -0,0 +1,6 @@ +from enum import Enum + +class CustomSecurityAttributeComparisonOperator(str, Enum): + Equals = "equals", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/custom_security_attribute_exemption.py b/msgraph/generated/models/custom_security_attribute_exemption.py new file mode 100644 index 00000000000..a794d47ea43 --- /dev/null +++ b/msgraph/generated/models/custom_security_attribute_exemption.py @@ -0,0 +1,74 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + +from .entity import Entity + +@dataclass +class CustomSecurityAttributeExemption(Entity, Parsable): + # The id property + id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The operator property + operator: Optional[CustomSecurityAttributeComparisonOperator] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomSecurityAttributeExemption: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CustomSecurityAttributeExemption + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.customSecurityAttributeStringValueExemption".casefold(): + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + + return CustomSecurityAttributeStringValueExemption() + return CustomSecurityAttributeExemption() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + fields: dict[str, Callable[[Any], None]] = { + "operator": lambda n : setattr(self, 'operator', n.get_enum_value(CustomSecurityAttributeComparisonOperator)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("operator", self.operator) + + diff --git a/msgraph/generated/models/custom_security_attribute_string_value_exemption.py b/msgraph/generated/models/custom_security_attribute_string_value_exemption.py new file mode 100644 index 00000000000..fb13ba7eea7 --- /dev/null +++ b/msgraph/generated/models/custom_security_attribute_string_value_exemption.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +@dataclass +class CustomSecurityAttributeStringValueExemption(CustomSecurityAttributeExemption, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.customSecurityAttributeStringValueExemption" + # Value representing custom security attribute value to compare against while evaluating the exemption. + value: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomSecurityAttributeStringValueExemption: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CustomSecurityAttributeStringValueExemption + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CustomSecurityAttributeStringValueExemption() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("value", self.value) + + diff --git a/msgraph/generated/models/email_details.py b/msgraph/generated/models/email_details.py index f5aa2312a70..4295536c5a5 100644 --- a/msgraph/generated/models/email_details.py +++ b/msgraph/generated/models/email_details.py @@ -12,13 +12,13 @@ class EmailDetails(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 body property + # The body content of the notification email in plain text format. body: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The senderEmailAddress property + # The email address of the sender for notification emails. Shared mailboxes aren't supported. sender_email_address: Optional[str] = None - # The subject property + # The subject line of the notification email. subject: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index cbe1de71fd6..f7d9fc14b12 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -1010,6 +1010,8 @@ from .user_solution_root import UserSolutionRoot from .user_storage import UserStorage from .user_teamwork import UserTeamwork + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .verified_id_profile import VerifiedIdProfile from .vertical_section import VerticalSection from .virtual_endpoint import VirtualEndpoint @@ -5177,6 +5179,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .user_teamwork import UserTeamwork return UserTeamwork() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialAuthenticationMethodTarget".casefold(): + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + return VerifiableCredentialAuthenticationMethodTarget() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration".casefold(): + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + + return VerifiableCredentialsAuthenticationMethodConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiedIdProfile".casefold(): from .verified_id_profile import VerifiedIdProfile @@ -6636,6 +6646,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .user_solution_root import UserSolutionRoot from .user_storage import UserStorage from .user_teamwork import UserTeamwork + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .verified_id_profile import VerifiedIdProfile from .vertical_section import VerticalSection from .virtual_endpoint import VirtualEndpoint @@ -7753,6 +7765,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .user_solution_root import UserSolutionRoot from .user_storage import UserStorage from .user_teamwork import UserTeamwork + from .verifiable_credentials_authentication_method_configuration import VerifiableCredentialsAuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget from .verified_id_profile import VerifiedIdProfile from .vertical_section import VerticalSection from .virtual_endpoint import VirtualEndpoint diff --git a/msgraph/generated/models/exchange_admin.py b/msgraph/generated/models/exchange_admin.py index 96b278ba1ed..a0e1cfcecd9 100644 --- a/msgraph/generated/models/exchange_admin.py +++ b/msgraph/generated/models/exchange_admin.py @@ -13,7 +13,7 @@ @dataclass class ExchangeAdmin(Entity, Parsable): - # The mailboxes property + # Represents a user's mailboxes. mailboxes: Optional[list[Mailbox]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/exchange_settings.py b/msgraph/generated/models/exchange_settings.py index 4efabf572b4..063ea727790 100644 --- a/msgraph/generated/models/exchange_settings.py +++ b/msgraph/generated/models/exchange_settings.py @@ -13,7 +13,7 @@ class ExchangeSettings(Entity, Parsable): # The OdataType property odata_type: Optional[str] = None - # The primaryMailboxId property + # The unique identifier for the user's primary mailbox. primary_mailbox_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/export_item_response.py b/msgraph/generated/models/export_item_response.py index b6a1b09b968..e1f2e8dd0ea 100644 --- a/msgraph/generated/models/export_item_response.py +++ b/msgraph/generated/models/export_item_response.py @@ -15,13 +15,13 @@ class ExportItemResponse(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 changeKey property + # The version of the item. change_key: Optional[str] = None - # The data property + # Data that represents an item in a Base64-encoded opaque stream. data: Optional[bytes] = None - # The error property + # An error that occurs during an action. error: Optional[MailTipsError] = None - # The itemId property + # The unique identifier of the item. item_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/granular_drive_restore_artifact.py b/msgraph/generated/models/granular_drive_restore_artifact.py index 393f4f99937..8e4a71dedf4 100644 --- a/msgraph/generated/models/granular_drive_restore_artifact.py +++ b/msgraph/generated/models/granular_drive_restore_artifact.py @@ -11,7 +11,7 @@ @dataclass class GranularDriveRestoreArtifact(GranularRestoreArtifactBase, Parsable): - # The directoryObjectId property + # Id of the drive in which artifact is present. directory_object_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/granular_restore_artifact_base.py b/msgraph/generated/models/granular_restore_artifact_base.py index a61e9273a28..4c2eaa76bbc 100644 --- a/msgraph/generated/models/granular_restore_artifact_base.py +++ b/msgraph/generated/models/granular_restore_artifact_base.py @@ -15,25 +15,25 @@ @dataclass class GranularRestoreArtifactBase(Entity, Parsable): - # The browseSessionId property + # The unique identifier of the browseSession browse_session_id: Optional[str] = None - # The completionDateTime property + # Date time when the artifact's restoration completes. completion_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The restorePointDateTime property + # The restore point date time to which the artifact is restored. restore_point_date_time: Optional[datetime.datetime] = None - # The restoredItemKey property + # The unique identifier for the restored artifact. restored_item_key: Optional[str] = None - # The restoredItemPath property + # The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. restored_item_path: Optional[str] = None - # The restoredItemWebUrl property + # The web url of the restored artifact. restored_item_web_url: Optional[str] = None - # The startDateTime property + # The start time of the restoration. start_date_time: Optional[datetime.datetime] = None # The status property status: Optional[ArtifactRestoreStatus] = None - # The webUrl property + # The original web url of the artifact being restored. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/granular_site_restore_artifact.py b/msgraph/generated/models/granular_site_restore_artifact.py index 143a1122986..1ab1901a052 100644 --- a/msgraph/generated/models/granular_site_restore_artifact.py +++ b/msgraph/generated/models/granular_site_restore_artifact.py @@ -13,7 +13,7 @@ class GranularSiteRestoreArtifact(GranularRestoreArtifactBase, Parsable): # The OdataType property odata_type: Optional[str] = None - # The siteId property + # Id of the site in which artifact is present. site_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/group.py b/msgraph/generated/models/group.py index 8e724824c60..0c3c38f023a 100644 --- a/msgraph/generated/models/group.py +++ b/msgraph/generated/models/group.py @@ -86,6 +86,8 @@ class Group(DirectoryObject, Parsable): hide_from_address_lists: Optional[bool] = None # True if the group isn't displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). hide_from_outlook_clients: Optional[bool] = None + # The infoCatalogs property + info_catalogs: Optional[list[str]] = None # When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. is_archived: Optional[bool] = None # Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group can't be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). @@ -270,6 +272,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "hasMembersWithLicenseErrors": lambda n : setattr(self, 'has_members_with_license_errors', n.get_bool_value()), "hideFromAddressLists": lambda n : setattr(self, 'hide_from_address_lists', n.get_bool_value()), "hideFromOutlookClients": lambda n : setattr(self, 'hide_from_outlook_clients', n.get_bool_value()), + "infoCatalogs": lambda n : setattr(self, 'info_catalogs', n.get_collection_of_primitive_values(str)), "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), "isAssignableToRole": lambda n : setattr(self, 'is_assignable_to_role', n.get_bool_value()), "isManagementRestricted": lambda n : setattr(self, 'is_management_restricted', n.get_bool_value()), @@ -356,6 +359,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("hasMembersWithLicenseErrors", self.has_members_with_license_errors) writer.write_bool_value("hideFromAddressLists", self.hide_from_address_lists) writer.write_bool_value("hideFromOutlookClients", self.hide_from_outlook_clients) + writer.write_collection_of_primitive_values("infoCatalogs", self.info_catalogs) writer.write_bool_value("isArchived", self.is_archived) writer.write_bool_value("isAssignableToRole", self.is_assignable_to_role) writer.write_bool_value("isManagementRestricted", self.is_management_restricted) diff --git a/msgraph/generated/models/identifier_uri_configuration.py b/msgraph/generated/models/identifier_uri_configuration.py new file mode 100644 index 00000000000..73f79e8a7c3 --- /dev/null +++ b/msgraph/generated/models/identifier_uri_configuration.py @@ -0,0 +1,65 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .identifier_uri_restriction import IdentifierUriRestriction + +@dataclass +class IdentifierUriConfiguration(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) + # Block new identifier URIs for applications, unless they are the 'default' URI of the format api://{appId} or api://{tenantId}/{appId}. + non_default_uri_addition: Optional[IdentifierUriRestriction] = None + # The OdataType property + odata_type: Optional[str] = None + # Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenantId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. + uri_addition_without_unique_tenant_identifier: Optional[IdentifierUriRestriction] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentifierUriConfiguration: + """ + 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: IdentifierUriConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return IdentifierUriConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .identifier_uri_restriction import IdentifierUriRestriction + + from .identifier_uri_restriction import IdentifierUriRestriction + + fields: dict[str, Callable[[Any], None]] = { + "nonDefaultUriAddition": lambda n : setattr(self, 'non_default_uri_addition', n.get_object_value(IdentifierUriRestriction)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "uriAdditionWithoutUniqueTenantIdentifier": lambda n : setattr(self, 'uri_addition_without_unique_tenant_identifier', n.get_object_value(IdentifierUriRestriction)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("nonDefaultUriAddition", self.non_default_uri_addition) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("uriAdditionWithoutUniqueTenantIdentifier", self.uri_addition_without_unique_tenant_identifier) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/identifier_uri_restriction.py b/msgraph/generated/models/identifier_uri_restriction.py new file mode 100644 index 00000000000..98812a20005 --- /dev/null +++ b/msgraph/generated/models/identifier_uri_restriction.py @@ -0,0 +1,84 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + +@dataclass +class IdentifierUriRestriction(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) + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None + # If true, the restriction isn't enforced for applications that are configured to receive V2 tokens in Microsoft Entra ID; else, the restriction is enforced for those applications. + exclude_apps_receiving_v2_tokens: Optional[bool] = None + # If true, the restriction isn't enforced for SAML applications in Microsoft Entra ID; else, the restriction is enforced for those applications. + exclude_saml: Optional[bool] = None + # If true, Microsoft sets the identifierUriRestriction state. If false, the tenant modifies the identifierUriRestriction state. Read-only. + is_state_set_by_microsoft: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. + restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None + # The state property + state: Optional[AppManagementRestrictionState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentifierUriRestriction: + """ + 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: IdentifierUriRestriction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return IdentifierUriRestriction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), + "excludeAppsReceivingV2Tokens": lambda n : setattr(self, 'exclude_apps_receiving_v2_tokens', n.get_bool_value()), + "excludeSaml": lambda n : setattr(self, 'exclude_saml', n.get_bool_value()), + "isStateSetByMicrosoft": lambda n : setattr(self, 'is_state_set_by_microsoft', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), + "state": lambda n : setattr(self, 'state', n.get_enum_value(AppManagementRestrictionState)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("excludeActors", self.exclude_actors) + writer.write_bool_value("excludeAppsReceivingV2Tokens", self.exclude_apps_receiving_v2_tokens) + writer.write_bool_value("excludeSaml", self.exclude_saml) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) + writer.write_enum_value("state", self.state) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/identity_governance/task_processing_result.py b/msgraph/generated/models/identity_governance/task_processing_result.py index d836996a596..bec418df540 100644 --- a/msgraph/generated/models/identity_governance/task_processing_result.py +++ b/msgraph/generated/models/identity_governance/task_processing_result.py @@ -19,15 +19,15 @@ class TaskProcessingResult(Entity, Parsable): completed_date_time: Optional[datetime.datetime] = None # The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. created_date_time: Optional[datetime.datetime] = None - # Describes why the taskProcessingResult has failed. + # Describes why the taskProcessingResult failed. failure_reason: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The processingInfo property + # Additional human-readable context about the task processing outcome. This property contains information about edge cases where the task completed successfully but the expected action wasn't performed because the target was already in the desired state, such as when the user was already a member of the specified group. Returns null when no additional context is needed. Nullable. processing_info: Optional[str] = None # The processingStatus property processing_status: Optional[LifecycleWorkflowProcessingStatus] = None - # The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. + # The date time when taskProcessingResult execution started. Value is null if task execution hasn't started yet.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. started_date_time: Optional[datetime.datetime] = None # The subject property subject: Optional[User] = None diff --git a/msgraph/generated/models/include_target.py b/msgraph/generated/models/include_target.py index 1d87e249d09..e0b5e409a93 100644 --- a/msgraph/generated/models/include_target.py +++ b/msgraph/generated/models/include_target.py @@ -15,7 +15,7 @@ class IncludeTarget(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 id property + # The ID of the entity targeted. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/key_credential_configuration.py b/msgraph/generated/models/key_credential_configuration.py index 77f79cc4942..d3c2b1bd11b 100644 --- a/msgraph/generated/models/key_credential_configuration.py +++ b/msgraph/generated/models/key_credential_configuration.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState @dataclass @@ -17,7 +18,9 @@ class KeyCredentialConfiguration(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) - # String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None + # String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to asymmetricKeyLifetime. max_lifetime: Optional[datetime.timedelta] = None # The OdataType property odata_type: Optional[str] = None @@ -45,12 +48,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), "maxLifetime": lambda n : setattr(self, 'max_lifetime', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), @@ -67,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_object_value("excludeActors", self.exclude_actors) writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) diff --git a/msgraph/generated/models/mailbox.py b/msgraph/generated/models/mailbox.py index abfd709e3c0..a93725f1136 100644 --- a/msgraph/generated/models/mailbox.py +++ b/msgraph/generated/models/mailbox.py @@ -14,7 +14,7 @@ class Mailbox(DirectoryObject, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mailbox" - # The folders property + # The collection of folders in the mailbox. folders: Optional[list[MailboxFolder]] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_folder.py b/msgraph/generated/models/mailbox_folder.py index 16533aa2697..3c40268d0e5 100644 --- a/msgraph/generated/models/mailbox_folder.py +++ b/msgraph/generated/models/mailbox_folder.py @@ -14,25 +14,25 @@ @dataclass class MailboxFolder(Entity, Parsable): - # The childFolderCount property + # The number of immediate child folders in the current folder. child_folder_count: Optional[int] = None - # The childFolders property + # The collection of child folders in this folder. child_folders: Optional[list[MailboxFolder]] = None - # The displayName property + # The display name of the folder. display_name: Optional[str] = None - # The items property + # The collection of items in this folder. items: Optional[list[MailboxItem]] = None - # The multiValueExtendedProperties property + # The collection of multi-value extended properties defined for the mailboxFolder. multi_value_extended_properties: Optional[list[MultiValueLegacyExtendedProperty]] = None # The OdataType property odata_type: Optional[str] = None - # The parentFolderId property + # The unique identifier for the parent folder of this folder. parent_folder_id: Optional[str] = None - # The singleValueExtendedProperties property + # The collection of single-value extended properties defined for the mailboxFolder. single_value_extended_properties: Optional[list[SingleValueLegacyExtendedProperty]] = None - # The totalItemCount property + # The number of items in the folder. total_item_count: Optional[int] = None - # The type property + # Describes the folder class type. type: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_item.py b/msgraph/generated/models/mailbox_item.py index 21ed8fc6adb..ac1517a431a 100644 --- a/msgraph/generated/models/mailbox_item.py +++ b/msgraph/generated/models/mailbox_item.py @@ -15,13 +15,13 @@ class MailboxItem(OutlookItem, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mailboxItem" - # The multiValueExtendedProperties property + # The collection of multi-value extended properties defined for the mailboxItem. multi_value_extended_properties: Optional[list[MultiValueLegacyExtendedProperty]] = None - # The singleValueExtendedProperties property + # The collection of single-value extended properties defined for the mailboxItem. single_value_extended_properties: Optional[list[SingleValueLegacyExtendedProperty]] = None - # The size property + # The length of the item in bytes. size: Optional[int] = None - # The type property + # The message class ID of the item. type: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_item_import_session.py b/msgraph/generated/models/mailbox_item_import_session.py index 4c87626331e..e710bdf9771 100644 --- a/msgraph/generated/models/mailbox_item_import_session.py +++ b/msgraph/generated/models/mailbox_item_import_session.py @@ -13,9 +13,9 @@ class MailboxItemImportSession(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 expirationDateTime property + # The date and time in UTC when the import session expires. The date and time information uses ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. expiration_date_time: Optional[datetime.datetime] = None - # The importUrl property + # The URL endpoint that accepts POST requests for uploading a mailbox item exported using exportItems. import_url: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/on_premises_directory_synchronization_feature.py b/msgraph/generated/models/on_premises_directory_synchronization_feature.py index 80e7699cccc..80cc0e6af9f 100644 --- a/msgraph/generated/models/on_premises_directory_synchronization_feature.py +++ b/msgraph/generated/models/on_premises_directory_synchronization_feature.py @@ -12,6 +12,8 @@ class OnPremisesDirectorySynchronizationFeature(AdditionalDataHolder, BackedMode # 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 allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled property + allow_on_prem_update_of_on_premises_object_identifier_enabled: Optional[bool] = None # Used to block cloud object takeover via source anchor hard match if enabled. block_cloud_object_takeover_through_hard_match_enabled: Optional[bool] = None # Use to block soft match for all objects if enabled for the tenant. Customers are encouraged to enable this feature and keep it enabled until soft matching is required again for their tenancy. This flag should be enabled again after any soft matching has been completed and is no longer needed. @@ -70,6 +72,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ fields: dict[str, Callable[[Any], None]] = { + "allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled": lambda n : setattr(self, 'allow_on_prem_update_of_on_premises_object_identifier_enabled', n.get_bool_value()), "blockCloudObjectTakeoverThroughHardMatchEnabled": lambda n : setattr(self, 'block_cloud_object_takeover_through_hard_match_enabled', n.get_bool_value()), "blockSoftMatchEnabled": lambda n : setattr(self, 'block_soft_match_enabled', n.get_bool_value()), "bypassDirSyncOverridesEnabled": lambda n : setattr(self, 'bypass_dir_sync_overrides_enabled', n.get_bool_value()), @@ -101,6 +104,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_bool_value("allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled", self.allow_on_prem_update_of_on_premises_object_identifier_enabled) writer.write_bool_value("blockCloudObjectTakeoverThroughHardMatchEnabled", self.block_cloud_object_takeover_through_hard_match_enabled) writer.write_bool_value("blockSoftMatchEnabled", self.block_soft_match_enabled) writer.write_bool_value("bypassDirSyncOverridesEnabled", self.bypass_dir_sync_overrides_enabled) diff --git a/msgraph/generated/models/one_drive_for_business_browse_session.py b/msgraph/generated/models/one_drive_for_business_browse_session.py index 2711f7b844b..3c4d52d7f0a 100644 --- a/msgraph/generated/models/one_drive_for_business_browse_session.py +++ b/msgraph/generated/models/one_drive_for_business_browse_session.py @@ -13,7 +13,7 @@ class OneDriveForBusinessBrowseSession(BrowseSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.oneDriveForBusinessBrowseSession" - # The directoryObjectId property + # Id of the backed-up OneDrive. directory_object_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/one_drive_for_business_restore_session.py b/msgraph/generated/models/one_drive_for_business_restore_session.py index 44a75915512..84b18e0f191 100644 --- a/msgraph/generated/models/one_drive_for_business_restore_session.py +++ b/msgraph/generated/models/one_drive_for_business_restore_session.py @@ -20,7 +20,7 @@ class OneDriveForBusinessRestoreSession(RestoreSessionBase, Parsable): drive_restore_artifacts: Optional[list[DriveRestoreArtifact]] = None # A collection of user mailboxes and destination details that can be used to restore a OneDrive for work or school drive. drive_restore_artifacts_bulk_addition_requests: Optional[list[DriveRestoreArtifactsBulkAdditionRequest]] = None - # The granularDriveRestoreArtifacts property + # A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. granular_drive_restore_artifacts: Optional[list[GranularDriveRestoreArtifact]] = None @staticmethod diff --git a/msgraph/generated/models/ownerless_group_policy.py b/msgraph/generated/models/ownerless_group_policy.py index 3228bd5b1c0..ef607b3f86e 100644 --- a/msgraph/generated/models/ownerless_group_policy.py +++ b/msgraph/generated/models/ownerless_group_policy.py @@ -15,17 +15,17 @@ class OwnerlessGroupPolicy(Entity, Parsable): # The emailInfo property email_info: Optional[EmailDetails] = None - # The enabledGroupIds property + # The collection of IDs for groups to which the policy is enabled. If empty, the policy is enabled for all groups in the tenant. enabled_group_ids: Optional[list[str]] = None - # The isEnabled property + # Indicates whether the ownerless group policy is enabled in the tenant. Setting this property to false clears the values of all other policy parameters. is_enabled: Optional[bool] = None - # The maxMembersToNotify property + # The maximum number of members to notify. Value range is 0-90. Members are prioritized by recent group activity (most active first). If there aren't enough active members to fill the limit, remaining slots are filled with other eligible group members from the directory. max_members_to_notify: Optional[int] = None - # The notificationDurationInWeeks property + # The number of weeks for the notification duration. Value range is 1-7. notification_duration_in_weeks: Optional[int] = None # The OdataType property odata_type: Optional[str] = None - # The policyWebUrl property + # The URL to the policy documentation. policy_web_url: Optional[str] = None # The targetOwners property target_owners: Optional[TargetOwners] = None diff --git a/msgraph/generated/models/password_credential_configuration.py b/msgraph/generated/models/password_credential_configuration.py index d7fdb3403b1..66d00b9891f 100644 --- a/msgraph/generated/models/password_credential_configuration.py +++ b/msgraph/generated/models/password_credential_configuration.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState @dataclass @@ -17,6 +18,8 @@ class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsabl # 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) + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. max_lifetime: Optional[datetime.timedelta] = None # The OdataType property @@ -45,12 +48,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), "maxLifetime": lambda n : setattr(self, 'max_lifetime', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), @@ -67,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_object_value("excludeActors", self.exclude_actors) writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) diff --git a/msgraph/generated/models/policy_root.py b/msgraph/generated/models/policy_root.py index b04bffb25c1..e3be59590ca 100644 --- a/msgraph/generated/models/policy_root.py +++ b/msgraph/generated/models/policy_root.py @@ -64,7 +64,7 @@ class PolicyRoot(Entity, Parsable): identity_security_defaults_enforcement_policy: Optional[IdentitySecurityDefaultsEnforcementPolicy] = None # The OdataType property odata_type: Optional[str] = None - # The ownerlessGroupPolicy property + # The policy configuration for managing groups that have lost their sole owner. ownerless_group_policy: Optional[OwnerlessGroupPolicy] = None # The policy that specifies the conditions under which consent can be granted. permission_grant_policies: Optional[list[PermissionGrantPolicy]] = None diff --git a/msgraph/generated/models/schedule_entity_theme.py b/msgraph/generated/models/schedule_entity_theme.py index 861eed891ee..a8ae6b88310 100644 --- a/msgraph/generated/models/schedule_entity_theme.py +++ b/msgraph/generated/models/schedule_entity_theme.py @@ -14,4 +14,27 @@ class ScheduleEntityTheme(str, Enum): DarkPink = "darkPink", DarkYellow = "darkYellow", UnknownFutureValue = "unknownFutureValue", + DarkRed = "darkRed", + Cranberry = "cranberry", + DarkOrange = "darkOrange", + Bronze = "bronze", + Peach = "peach", + Gold = "gold", + Lime = "lime", + Forest = "forest", + LightGreen = "lightGreen", + Jade = "jade", + LightTeal = "lightTeal", + DarkTeal = "darkTeal", + Steel = "steel", + SkyBlue = "skyBlue", + BlueGray = "blueGray", + Lavender = "lavender", + Lilac = "lilac", + Plum = "plum", + Magenta = "magenta", + DarkBrown = "darkBrown", + Beige = "beige", + Charcoal = "charcoal", + Silver = "silver", diff --git a/msgraph/generated/models/security/alert.py b/msgraph/generated/models/security/alert.py index 2d47ec7b896..ce5cb513c9b 100644 --- a/msgraph/generated/models/security/alert.py +++ b/msgraph/generated/models/security/alert.py @@ -32,9 +32,9 @@ class Alert(Entity, Parsable): alert_web_url: Optional[str] = None # Owner of the alert, or null if no owner is assigned. assigned_to: Optional[str] = None - # The categories property + # The attack kill-chain categories that the alert belongs to. Aligned with the MITRE ATT&CK framework. categories: Optional[list[str]] = None - # The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. + # The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. This property is in the process of being deprecated. Use the categories property instead. category: Optional[str] = None # Specifies whether the alert represents a true threat. The possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. classification: Optional[AlertClassification] = None diff --git a/msgraph/generated/models/security/dns_evidence.py b/msgraph/generated/models/security/dns_evidence.py index 30293e0c064..13c435e6b7d 100644 --- a/msgraph/generated/models/security/dns_evidence.py +++ b/msgraph/generated/models/security/dns_evidence.py @@ -14,13 +14,13 @@ class DnsEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.dnsEvidence" - # The dnsServerIp property + # An IP entity that represents the DNS server that resolves the request. dns_server_ip: Optional[IpEvidence] = None - # The domainName property + # The name of the DNS record associated with the alert. domain_name: Optional[str] = None - # The hostIpAddress property + # An IP entity that represents the DNS request client. host_ip_address: Optional[IpEvidence] = None - # The ipAddresses property + # IP entities that represent the resolved IP addresses. ip_addresses: Optional[list[IpEvidence]] = None @staticmethod diff --git a/msgraph/generated/models/security/file_hash_evidence.py b/msgraph/generated/models/security/file_hash_evidence.py index c5c1a880408..5b873b2b5ae 100644 --- a/msgraph/generated/models/security/file_hash_evidence.py +++ b/msgraph/generated/models/security/file_hash_evidence.py @@ -16,7 +16,7 @@ class FileHashEvidence(AlertEvidence, Parsable): odata_type: Optional[str] = "#microsoft.graph.security.fileHashEvidence" # The algorithm property algorithm: Optional[FileHashAlgorithm] = None - # The value property + # The hash value. value: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/git_hub_organization_evidence.py b/msgraph/generated/models/security/git_hub_organization_evidence.py index b5df9ecb670..3b3474a3e4e 100644 --- a/msgraph/generated/models/security/git_hub_organization_evidence.py +++ b/msgraph/generated/models/security/git_hub_organization_evidence.py @@ -13,17 +13,17 @@ class GitHubOrganizationEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.gitHubOrganizationEvidence" - # The company property + # The name of the company that owns the organization. company: Optional[str] = None - # The displayName property + # The display name of the organization. display_name: Optional[str] = None - # The email property + # The email address of the organization. email: Optional[str] = None - # The login property + # The login (name) of the organization. login: Optional[str] = None - # The orgId property + # The unique and immutable ID of the organization. org_id: Optional[str] = None - # The webUrl property + # The URL of the web page for the organization. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/git_hub_repo_evidence.py b/msgraph/generated/models/security/git_hub_repo_evidence.py index 6fae349d6c3..b4e3b09aa58 100644 --- a/msgraph/generated/models/security/git_hub_repo_evidence.py +++ b/msgraph/generated/models/security/git_hub_repo_evidence.py @@ -13,15 +13,15 @@ class GitHubRepoEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.gitHubRepoEvidence" - # The baseUrl property + # The base URL of the web page for the repository. base_url: Optional[str] = None - # The login property + # The login (name) of the repository. login: Optional[str] = None - # The owner property + # The login of the owner of the repository. owner: Optional[str] = None - # The ownerType property + # The type of owner of the repository, for example, User or Organization. owner_type: Optional[str] = None - # The repoId property + # The unique and immutable ID of the GitHub repository. repo_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/git_hub_user_evidence.py b/msgraph/generated/models/security/git_hub_user_evidence.py index 8138b60ae24..073b330e64d 100644 --- a/msgraph/generated/models/security/git_hub_user_evidence.py +++ b/msgraph/generated/models/security/git_hub_user_evidence.py @@ -13,15 +13,15 @@ class GitHubUserEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.gitHubUserEvidence" - # The email property + # The email address of the user account. email: Optional[str] = None - # The login property + # The user's login (GitHub handle). login: Optional[str] = None - # The name property + # The user's name. name: Optional[str] = None - # The userId property + # The unique and immutable ID of the user account. user_id: Optional[str] = None - # The webUrl property + # The URL of the user's profile web page. For example, https://github.com/my-login. web_url: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/host_logon_session_evidence.py b/msgraph/generated/models/security/host_logon_session_evidence.py index cd09bcdc4fc..e843edd0b7c 100644 --- a/msgraph/generated/models/security/host_logon_session_evidence.py +++ b/msgraph/generated/models/security/host_logon_session_evidence.py @@ -16,15 +16,15 @@ class HostLogonSessionEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.hostLogonSessionEvidence" - # The account property + # The account that is associated with the sign-in session ID. account: Optional[UserEvidence] = None - # The endUtcDateTime property + # The session end time, if known. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. end_utc_date_time: Optional[datetime.datetime] = None - # The host property + # The host for the session. host: Optional[DeviceEvidence] = None - # The sessionId property + # The session ID for the account reported in the alert, for example, 0x3e7. session_id: Optional[str] = None - # The startUtcDateTime property + # The session start time, if known. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. start_utc_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph/generated/models/security/io_t_device_evidence.py b/msgraph/generated/models/security/io_t_device_evidence.py index a9f098965e3..516a63f7255 100644 --- a/msgraph/generated/models/security/io_t_device_evidence.py +++ b/msgraph/generated/models/security/io_t_device_evidence.py @@ -28,7 +28,7 @@ class IoTDeviceEvidence(AlertEvidence, Parsable): device_sub_type: Optional[str] = None # The type of the device. For example, 'temperature sensor,' 'freezer,' 'wind turbine,' and so on. device_type: Optional[str] = None - # The importance level for the IoT device. Possible values are low, normal, high, and unknownFutureValue. + # The importance level for the IoT device. The possible values are: unknown, low, normal, high, unknownFutureValue. importance: Optional[IoTDeviceImportanceType] = None # The azureResourceEvidence entity that represents the IoT Hub that the device belongs to. io_t_hub: Optional[AzureResourceEvidence] = None diff --git a/msgraph/generated/models/security/malware_evidence.py b/msgraph/generated/models/security/malware_evidence.py index bdfebca4960..a5400a806dd 100644 --- a/msgraph/generated/models/security/malware_evidence.py +++ b/msgraph/generated/models/security/malware_evidence.py @@ -15,13 +15,13 @@ class MalwareEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.malwareEvidence" - # The category property + # The malware category by the vendor, for example, Trojan. category: Optional[str] = None - # The files property + # A list of the linked file entities on which the malware was found. Can contain the file entities inline or as reference. For more information, see fileEvidence. files: Optional[list[FileEvidence]] = None - # The name property + # The malware name by the vendor, for example, Win32/Toga. name: Optional[str] = None - # The processes property + # A list of the linked process entities on which the malware was found. Use this property, for example, when the alert was triggered on fileless activity. For more information, see processEvidence. processes: Optional[list[ProcessEvidence]] = None @staticmethod diff --git a/msgraph/generated/models/security/network_connection_evidence.py b/msgraph/generated/models/security/network_connection_evidence.py index 887494bc83a..403677a31da 100644 --- a/msgraph/generated/models/security/network_connection_evidence.py +++ b/msgraph/generated/models/security/network_connection_evidence.py @@ -15,15 +15,15 @@ class NetworkConnectionEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.networkConnectionEvidence" - # The destinationAddress property + # An entity of type IP that is the destination for this connection. destination_address: Optional[IpEvidence] = None - # The destinationPort property + # The destination port number. For example, 80. destination_port: Optional[int] = None - # The protocol property + # The protocol type. Possible values are tcp, udp, unknownFutureValue. protocol: Optional[ProtocolType] = None - # The sourceAddress property + # An entity of type IP that is the source for this connection. source_address: Optional[IpEvidence] = None - # The sourcePort property + # The source port number. For example, 80. source_port: Optional[int] = None @staticmethod diff --git a/msgraph/generated/models/security/sas_token_evidence.py b/msgraph/generated/models/security/sas_token_evidence.py index 198598b71c7..55e2d64da32 100644 --- a/msgraph/generated/models/security/sas_token_evidence.py +++ b/msgraph/generated/models/security/sas_token_evidence.py @@ -15,25 +15,25 @@ class SasTokenEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.sasTokenEvidence" - # The allowedIpAddresses property + # All IP addresses accessible with this SAS. The default value is Allows all IP addresses. allowed_ip_addresses: Optional[str] = None - # The allowedResourceTypes property + # All resource types accessible with this SAS. allowed_resource_types: Optional[list[str]] = None - # The allowedServices property + # All services accessible with this SAS. allowed_services: Optional[list[str]] = None - # The expiryDateTime property + # The SAS expiration time. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. expiry_date_time: Optional[datetime.datetime] = None - # The permissions property + # All permissions granted to this SAS. permissions: Optional[list[str]] = None - # The protocol property + # The protocol that is allowed with this SAS. protocol: Optional[str] = None - # The signatureHash property + # The SAS signature hash, which is a unique identifier for each SAS. signature_hash: Optional[str] = None - # The signedWith property + # The storage key that was used to generate the SAS. signed_with: Optional[str] = None - # The startDateTime property + # The SAS activation time. This property can be null. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. start_date_time: Optional[datetime.datetime] = None - # The storageResource property + # A link to the storage resource for this SAS. storage_resource: Optional[AzureResourceEvidence] = None @staticmethod diff --git a/msgraph/generated/models/security/service_principal_evidence.py b/msgraph/generated/models/security/service_principal_evidence.py index d88121e1a73..13c74550531 100644 --- a/msgraph/generated/models/security/service_principal_evidence.py +++ b/msgraph/generated/models/security/service_principal_evidence.py @@ -14,17 +14,17 @@ class ServicePrincipalEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.servicePrincipalEvidence" - # The appId property + # The unique identifier for the associated application, represented by its appId property. app_id: Optional[str] = None - # The appOwnerTenantId property + # The tenant ID where the application is registered. app_owner_tenant_id: Optional[str] = None - # The servicePrincipalName property + # The display name for the service principal. service_principal_name: Optional[str] = None - # The servicePrincipalObjectId property + # The unique identifier for the service principal. service_principal_object_id: Optional[str] = None - # The servicePrincipalType property + # The service principal type. Possible values are: unknown, application, managedIdentity, legacy, unknownFutureValue. service_principal_type: Optional[ServicePrincipalType] = None - # The tenantId property + # The Microsoft Entra tenant ID of the service principal. tenant_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/security/submission_mail_evidence.py b/msgraph/generated/models/security/submission_mail_evidence.py index 713d02cc518..005b51f2fa3 100644 --- a/msgraph/generated/models/security/submission_mail_evidence.py +++ b/msgraph/generated/models/security/submission_mail_evidence.py @@ -14,23 +14,23 @@ class SubmissionMailEvidence(AlertEvidence, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.submissionMailEvidence" - # The networkMessageId property + # The network message ID of the email to which the submission belongs. network_message_id: Optional[str] = None - # The recipient property + # The recipient of the email. recipient: Optional[str] = None - # The reportType property + # The submission type for the specified instance that maps to Junk, Phish, Malware, or NotJunk. report_type: Optional[str] = None - # The sender property + # The sender of the email. sender: Optional[str] = None - # The senderIp property + # The sender's IP. sender_ip: Optional[str] = None - # The subject property + # The subject of the submission mail. subject: Optional[str] = None - # The submissionDateTime property + # The reported date and time of this submission. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024 is 2024-01-01T00:00:00Z. submission_date_time: Optional[datetime.datetime] = None - # The submissionId property + # The submission ID. submission_id: Optional[str] = None - # The submitter property + # The submitter's email address. submitter: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/share_point_browse_session.py b/msgraph/generated/models/share_point_browse_session.py index b78463f83b4..ff95271c653 100644 --- a/msgraph/generated/models/share_point_browse_session.py +++ b/msgraph/generated/models/share_point_browse_session.py @@ -13,7 +13,7 @@ class SharePointBrowseSession(BrowseSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.sharePointBrowseSession" - # The siteId property + # Id of the backed-up SharePoint site. site_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/share_point_restore_session.py b/msgraph/generated/models/share_point_restore_session.py index 0ab21f00d7c..0069a3df812 100644 --- a/msgraph/generated/models/share_point_restore_session.py +++ b/msgraph/generated/models/share_point_restore_session.py @@ -16,7 +16,7 @@ class SharePointRestoreSession(RestoreSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.sharePointRestoreSession" - # The granularSiteRestoreArtifacts property + # A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. granular_site_restore_artifacts: Optional[list[GranularSiteRestoreArtifact]] = None # A collection of restore points and destination details that can be used to restore SharePoint sites. site_restore_artifacts: Optional[list[SiteRestoreArtifact]] = None diff --git a/msgraph/generated/models/target_owners.py b/msgraph/generated/models/target_owners.py index 6ad280b8396..82fbfc82278 100644 --- a/msgraph/generated/models/target_owners.py +++ b/msgraph/generated/models/target_owners.py @@ -19,7 +19,7 @@ class TargetOwners(AdditionalDataHolder, BackedModel, Parsable): notify_members: Optional[NotifyMembers] = None # The OdataType property odata_type: Optional[str] = None - # The securityGroups property + # The collection of IDs for security groups used for allowing or blocking filtering. When notifyMembers is all, all members are eligible for ownership and this collection can be empty. When notifyMembers is allowSelected, only members in these security groups are eligible. When notifyMembers is blockSelected, members in these security groups are excluded. security_groups: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/user_settings.py b/msgraph/generated/models/user_settings.py index ab838de43a4..9ed7a5b36be 100644 --- a/msgraph/generated/models/user_settings.py +++ b/msgraph/generated/models/user_settings.py @@ -21,7 +21,7 @@ class UserSettings(Entity, Parsable): contribution_to_content_discovery_as_organization_disabled: Optional[bool] = None # When set to true, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for work or school is affected. Users can control this setting in Office Delve. contribution_to_content_discovery_disabled: Optional[bool] = None - # The exchange property + # The Exchange settings for mailbox discovery. exchange: Optional[ExchangeSettings] = None # The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. item_insights: Optional[UserInsightsSettings] = None diff --git a/msgraph/generated/models/verifiable_credential_authentication_method_target.py b/msgraph/generated/models/verifiable_credential_authentication_method_target.py new file mode 100644 index 00000000000..b9805fb0b90 --- /dev/null +++ b/msgraph/generated/models/verifiable_credential_authentication_method_target.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID + +if TYPE_CHECKING: + from .authentication_method_target import AuthenticationMethodTarget + +from .authentication_method_target import AuthenticationMethodTarget + +@dataclass +class VerifiableCredentialAuthenticationMethodTarget(AuthenticationMethodTarget, Parsable): + # The OdataType property + odata_type: Optional[str] = None + # A collection of Verified ID profile IDs. The profiles define the credentials that users can present to prove their id when signing in, onboarding, or recovering. Verified ID profiles are managed through the Verified ID APIs. + verified_id_profiles: Optional[list[UUID]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> VerifiableCredentialAuthenticationMethodTarget: + """ + 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: VerifiableCredentialAuthenticationMethodTarget + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return VerifiableCredentialAuthenticationMethodTarget() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method_target import AuthenticationMethodTarget + + from .authentication_method_target import AuthenticationMethodTarget + + fields: dict[str, Callable[[Any], None]] = { + "verifiedIdProfiles": lambda n : setattr(self, 'verified_id_profiles', n.get_collection_of_primitive_values(UUID)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("verifiedIdProfiles", self.verified_id_profiles) + + diff --git a/msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py b/msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py new file mode 100644 index 00000000000..3084059b22b --- /dev/null +++ b/msgraph/generated/models/verifiable_credentials_authentication_method_configuration.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + +from .authentication_method_configuration import AuthenticationMethodConfiguration + +@dataclass +class VerifiableCredentialsAuthenticationMethodConfiguration(AuthenticationMethodConfiguration, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration" + # A collection of groups that are enabled to use the authentication method. + include_targets: Optional[list[VerifiableCredentialAuthenticationMethodTarget]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> VerifiableCredentialsAuthenticationMethodConfiguration: + """ + 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: VerifiableCredentialsAuthenticationMethodConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return VerifiableCredentialsAuthenticationMethodConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .verifiable_credential_authentication_method_target import VerifiableCredentialAuthenticationMethodTarget + + fields: dict[str, Callable[[Any], None]] = { + "includeTargets": lambda n : setattr(self, 'include_targets', n.get_collection_of_object_values(VerifiableCredentialAuthenticationMethodTarget)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("includeTargets", self.include_targets) + + diff --git a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py index 9d3bc3bd587..7912018e485 100644 --- a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py +++ b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py @@ -21,7 +21,7 @@ class X509CertificateAuthenticationMethodConfiguration(AuthenticationMethodConfi odata_type: Optional[str] = "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" # Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. authentication_mode_configuration: Optional[X509CertificateAuthenticationModeConfiguration] = None - # The certificateAuthorityScopes property + # Defines configuration to allow a group of users to use certificates from specific issuing certificate authorities to successfully authenticate. certificate_authority_scopes: Optional[list[X509CertificateAuthorityScope]] = None # Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. certificate_user_bindings: Optional[list[X509CertificateUserBinding]] = None @@ -29,7 +29,7 @@ class X509CertificateAuthenticationMethodConfiguration(AuthenticationMethodConfi crl_validation_configuration: Optional[X509CertificateCRLValidationConfiguration] = None # A collection of groups that are enabled to use the authentication method. include_targets: Optional[list[AuthenticationMethodTarget]] = None - # The issuerHintsConfiguration property + # Determines whether issuer(CA) hints are sent back to the client side to filter the certificates shown in certificate picker. issuer_hints_configuration: Optional[X509CertificateIssuerHintsConfiguration] = None @staticmethod diff --git a/msgraph/generated/models/x509_certificate_authority_scope.py b/msgraph/generated/models/x509_certificate_authority_scope.py index 3539c335105..9a8231bf470 100644 --- a/msgraph/generated/models/x509_certificate_authority_scope.py +++ b/msgraph/generated/models/x509_certificate_authority_scope.py @@ -15,13 +15,13 @@ class X509CertificateAuthorityScope(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 includeTargets property + # A collection of groups that are enabled to be in scope to use certificates issued by specific certificate authority. include_targets: Optional[list[IncludeTarget]] = None # The OdataType property odata_type: Optional[str] = None - # The publicKeyInfrastructureIdentifier property + # Public Key Infrastructure container object under which the certificate authorities are stored in the Entra PKI based trust store. public_key_infrastructure_identifier: Optional[str] = None - # The subjectKeyIdentifier property + # Subject Key Identifier that identifies the certificate authority uniquely. subject_key_identifier: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py b/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py index f9bdfd391ab..97285db1f21 100644 --- a/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py +++ b/msgraph/generated/models/x509_certificate_issuer_hints_configuration.py @@ -17,7 +17,7 @@ class X509CertificateIssuerHintsConfiguration(AdditionalDataHolder, BackedModel, additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The state property + # The possible values are: disabled, enabled, unknownFutureValue. state: Optional[X509CertificateIssuerHintsState] = None @staticmethod diff --git a/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py b/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py index b7875c7da79..856c33e326d 100644 --- a/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py +++ b/msgraph/generated/policies/ownerless_group_policy/ownerless_group_policy_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[OwnerlessGroupPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[OwnerlessGroupPolicy]: """ - Get ownerlessGroupPolicy from policies + Read the properties of an ownerlessGroupPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OwnerlessGroupPolicy] + Find more info here: https://learn.microsoft.com/graph/api/ownerlessgrouppolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,10 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Ownerles async def patch(self,body: OwnerlessGroupPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OwnerlessGroupPolicy]: """ - Update the navigation property ownerlessGroupPolicy in policies + Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OwnerlessGroupPolicy] + Find more info here: https://learn.microsoft.com/graph/api/ownerlessgrouppolicy-upsert?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -75,7 +77,7 @@ async def patch(self,body: OwnerlessGroupPolicy, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnerlessGroupPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get ownerlessGroupPolicy from policies + Read the properties of an ownerlessGroupPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: OwnerlessGroupPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property ownerlessGroupPolicy in policies + Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -112,7 +114,7 @@ def with_url(self,raw_url: str) -> OwnerlessGroupPolicyRequestBuilder: @dataclass class OwnerlessGroupPolicyRequestBuilderGetQueryParameters(): """ - Get ownerlessGroupPolicy from policies + Read the properties of an ownerlessGroupPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py index e97d00af298..c80f76d72ee 100644 --- a/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py @@ -49,9 +49,10 @@ def by_browse_session_base_id(self,browse_session_base_id: str) -> BrowseSession async def get(self,request_configuration: Optional[RequestConfiguration[BrowseSessionsRequestBuilderGetQueryParameters]] = None) -> Optional[BrowseSessionBaseCollectionResponse]: """ - Get browseSessions from solutions + Get a list of the browseSessionBase objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBaseCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-browsesessions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: BrowseSessionBase, request_configuration: Optional[Req def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[BrowseSessionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get browseSessions from solutions + Get a list of the browseSessionBase objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BrowseSessionsRequestBuilderGetQueryParameters(): """ - Get browseSessions from solutions + Get a list of the browseSessionBase objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py b/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py index 4ef9ec428d6..5860b1eac6b 100644 --- a/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py @@ -64,7 +64,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[BrowseSessionBaseItemRequestBuilderGetQueryParameters]] = None) -> Optional[BrowseSessionBase]: """ - Get browseSessions from solutions + The list of browse sessions in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBase] """ @@ -118,7 +118,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[BrowseSessionBaseItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get browseSessions from solutions + The list of browse sessions in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -171,7 +171,7 @@ class BrowseSessionBaseItemRequestBuilderDeleteRequestConfiguration(RequestConfi @dataclass class BrowseSessionBaseItemRequestBuilderGetQueryParameters(): """ - Get browseSessions from solutions + The list of browse sessions in the tenant. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py index 5d2edbd501b..cb75d996e31 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> Optional[OneDriveForBusinessBrowseSession]: """ - Get oneDriveForBusinessBrowseSessions from solutions + Read the properties and relationships of oneDriveForBusinessBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessbrowsesession-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get oneDriveForBusinessBrowseSessions from solutions + Read the properties and relationships of oneDriveForBusinessBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +149,7 @@ class OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteRequestConfigurati @dataclass class OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters(): """ - Get oneDriveForBusinessBrowseSessions from solutions + Read the properties and relationships of oneDriveForBusinessBrowseSession object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py index 6bb624f60a9..009d01ccff5 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py @@ -49,9 +49,10 @@ def by_one_drive_for_business_browse_session_id(self,one_drive_for_business_brow async def get(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> Optional[OneDriveForBusinessBrowseSessionCollectionResponse]: """ - Get oneDriveForBusinessBrowseSessions from solutions + Get a list of the oneDriveForBusinessBrowseSession objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSessionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-onedriveforbusinessbrowsesessions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive async def post(self,body: OneDriveForBusinessBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OneDriveForBusinessBrowseSession]: """ - Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + Create a new oneDriveForBusinessBrowseSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-onedriveforbusinessbrowsesessions?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: OneDriveForBusinessBrowseSession, request_configuratio def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get oneDriveForBusinessBrowseSessions from solutions + Get a list of the oneDriveForBusinessBrowseSession objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: OneDriveForBusinessBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + Create a new oneDriveForBusinessBrowseSession 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 count(self) -> CountRequestBuilder: @dataclass class OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters(): """ - Get oneDriveForBusinessBrowseSessions from solutions + Get a list of the oneDriveForBusinessBrowseSession objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py index 258195c560a..e52f4b20cf2 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py @@ -49,9 +49,10 @@ def by_granular_drive_restore_artifact_id(self,granular_drive_restore_artifact_i async def get(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> Optional[GranularDriveRestoreArtifactCollectionResponse]: """ - Get granularDriveRestoreArtifacts from solutions + Get a list of the granularDriveRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifactCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-granulardriverestoreartifacts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: GranularDriveRestoreArtifact, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularDriveRestoreArtifacts from solutions + Get a list of the granularDriveRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters(): """ - Get granularDriveRestoreArtifacts from solutions + Get a list of the granularDriveRestoreArtifact objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py index c8c0075bd83..1841edb9a7e 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> Optional[GranularDriveRestoreArtifact]: """ - Get granularDriveRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifact] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularDriveRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class GranularDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration(R @dataclass class GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters(): """ - Get granularDriveRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore OneDrive for work or school files and folders. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py index d1b28c15f68..54314e2d82a 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive async def post(self,body: OneDriveForBusinessRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OneDriveForBusinessRestoreSession]: """ - Create a new oneDriveForBusinessRestoreSession object. + Create a new oneDriveForBusinessRestoreSession object. To create a granular restore session, granular drive restore artifacts must be present in the payload. A request can't include both granularDriveRestoreArtifact and driveRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessRestoreSession] @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: OneDriveForBusinessRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new oneDriveForBusinessRestoreSession object. + Create a new oneDriveForBusinessRestoreSession object. To create a granular restore session, granular drive restore artifacts must be present in the payload. A request can't include both granularDriveRestoreArtifact and driveRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py index 46c64f6f25c..06c5f16b5be 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> Optional[SharePointBrowseSession]: """ - Get sharePointBrowseSessions from solutions + Read the properties and relationships of sharePointBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/sharepointbrowsesession-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get sharePointBrowseSessions from solutions + Read the properties and relationships of sharePointBrowseSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +149,7 @@ class SharePointBrowseSessionItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class SharePointBrowseSessionItemRequestBuilderGetQueryParameters(): """ - Get sharePointBrowseSessions from solutions + Read the properties and relationships of sharePointBrowseSession object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py index 9cc5f0d460b..90a5e81e12e 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py @@ -49,9 +49,10 @@ def by_share_point_browse_session_id(self,share_point_browse_session_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> Optional[SharePointBrowseSessionCollectionResponse]: """ - Get sharePointBrowseSessions from solutions + Get a list of the sharePointBrowseSession objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSessionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-sharepointbrowsesessions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi async def post(self,body: SharePointBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SharePointBrowseSession]: """ - Create new navigation property to sharePointBrowseSessions for solutions + Create a new sharePointBrowseSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSession] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointbrowsesessions?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: SharePointBrowseSession, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SharePointBrowseSessionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get sharePointBrowseSessions from solutions + Get a list of the sharePointBrowseSession objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: SharePointBrowseSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to sharePointBrowseSessions for solutions + Create a new sharePointBrowseSession 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 count(self) -> CountRequestBuilder: @dataclass class SharePointBrowseSessionsRequestBuilderGetQueryParameters(): """ - Get sharePointBrowseSessions from solutions + Get a list of the sharePointBrowseSession objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py index f169f533176..84426a6f646 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py @@ -49,9 +49,10 @@ def by_granular_site_restore_artifact_id(self,granular_site_restore_artifact_id: async def get(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> Optional[GranularSiteRestoreArtifactCollectionResponse]: """ - Get granularSiteRestoreArtifacts from solutions + Get a list of the granularSiteRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifactCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-granularsiterestoreartifacts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: GranularSiteRestoreArtifact, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularSiteRestoreArtifacts from solutions + Get a list of the granularSiteRestoreArtifact objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters(): """ - Get granularSiteRestoreArtifacts from solutions + Get a list of the granularSiteRestoreArtifact objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py index b3d7dc3bf6d..4c2413753db 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> Optional[GranularSiteRestoreArtifact]: """ - Get granularSiteRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifact] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get granularSiteRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration(Re @dataclass class GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters(): """ - Get granularSiteRestoreArtifacts from solutions + A collection of browse session ID and item key details that can be used to restore SharePoint files and folders. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py index e87f5602602..30f5dcc92af 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py @@ -73,10 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi async def patch(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SharePointRestoreSession]: """ - Update the navigation property sharePointRestoreSessions in solutions + Update the properties of a sharePointRestoreSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRestoreSession] + Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -118,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property sharePointRestoreSessions in solutions + Update the properties of a sharePointRestoreSession object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py index 4bd20adc424..3ac9afaeff6 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi async def post(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SharePointRestoreSession]: """ - Create a new sharePointRestoreSession object. + Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRestoreSession] @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: SharePointRestoreSession, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new sharePointRestoreSession object. + Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py index 1e6018989b4..4ff7c8c0450 100644 --- a/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py index c8e803352cf..ee409c61324 100644 --- a/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py index fa46ab48fcf..bd8e4a63ddf 100644 --- a/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py b/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py index 57c6e64c278..55400bb1161 100644 --- a/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/teams/item/primary_channel/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py index db98ab65e4c..34cfd62263b 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py index 88acf1337f4..b65075a1a23 100644 --- a/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/teamwork/deleted_teams/item/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py index a642adbf9be..f97220f3af7 100644 --- a/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/users/item/chats/item/complete_migration/complete_migration_request_builder.py @@ -31,9 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. 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/chat-completemigration?view=graph-rest-1.0 """ request_info = self.to_post_request_information( request_configuration @@ -49,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action completeMigration + Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py b/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py index 1c76560f9bf..0ce71f5124c 100644 --- a/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/users/item/chats/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. 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/chat-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py index 7d5ff025178..7249f1a141a 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py index 953dc30511b..3a341c6297e 100644 --- a/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/channels/item/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py index 78d54ecc964..8f797cea892 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/primary_channel/complete_migration/complete_migration_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. 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/channel-completemigration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. + Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py b/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py index 12523e8ac6c..df6c02f85a5 100644 --- a/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py +++ b/msgraph/generated/users/item/joined_teams/item/primary_channel/start_migration/start_migration_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. 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/channel-startmigration?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: StartMigrationPostRequestBody, request_configuration: def to_post_request_information(self,body: StartMigrationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action startMigration + Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py b/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py index 528395d027a..31b8f1f2642 100644 --- a/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py +++ b/msgraph/generated/users/item/settings/exchange/exchange_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[ExchangeRequestBuilderGetQueryParameters]] = None) -> Optional[ExchangeSettings]: """ - Get exchange from users + Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeSettings] + Find more info here: https://learn.microsoft.com/graph/api/usersettings-list-exchange?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ExchangeRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get exchange from users + Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> ExchangeRequestBuilder: @dataclass class ExchangeRequestBuilderGetQueryParameters(): """ - Get exchange from users + Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users. """ def get_query_parameter(self,original_name: str) -> str: """