Skip to content

Commit c8fd694

Browse files
microsoft-graph-devx-bot[bot]Microsoft Graph DevX Tooling
andauthored
feat(generation): update request builders and models (#1483)
Update generated files with build 219281 Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
1 parent 69b8936 commit c8fd694

112 files changed

Lines changed: 1046 additions & 269 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxItemImportSession]:
3434
"""
35-
Invoke action createImportSession
35+
Create a session to import an Exchange mailbox item that was exported using the exportItems API.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[MailboxItemImportSession]
38+
Find more info here: https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0
3839
"""
3940
request_info = self.to_post_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa
5253

5354
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke action createImportSession
56+
Create a session to import an Exchange mailbox item that was exported using the exportItems API.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""

msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3333

3434
async def post(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExportItemsPostResponse]:
3535
"""
36-
Invoke action exportItems
36+
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.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[ExportItemsPostResponse]
40+
Find more info here: https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0
4041
"""
4142
if body is None:
4243
raise TypeError("body cannot be null.")
@@ -56,7 +57,7 @@ async def post(self,body: ExportItemsPostRequestBody, request_configuration: Opt
5657

5758
def to_post_request_information(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5859
"""
59-
Invoke action exportItems
60+
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.
6061
param body: The request body
6162
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6263
Returns: RequestInformation

msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
3434
"""
35-
Invoke function delta
35+
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.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[DeltaGetResponse]
38+
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0
3839
"""
3940
request_info = self.to_get_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq
5253

5354
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke function delta
56+
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.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""
@@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder:
7475
@dataclass
7576
class DeltaRequestBuilderGetQueryParameters():
7677
"""
77-
Invoke function delta
78+
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.
7879
"""
7980
def get_query_parameter(self,original_name: str) -> str:
8081
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ def by_mailbox_folder_id(self,mailbox_folder_id: str) -> MailboxFolderItemReques
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]:
5151
"""
52-
Get folders from admin
52+
Get all the mailboxFolder objects in the specified mailbox, including any search folders.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MailboxFolderCollectionResponse]
55+
Find more info here: https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0
5556
"""
5657
request_info = self.to_get_request_information(
5758
request_configuration
@@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FoldersR
6970

7071
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
7172
"""
72-
Get folders from admin
73+
Get all the mailboxFolder objects in the specified mailbox, including any search folders.
7374
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7475
Returns: RequestInformation
7576
"""
@@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder:
109110
@dataclass
110111
class FoldersRequestBuilderGetQueryParameters():
111112
"""
112-
Get folders from admin
113+
Get all the mailboxFolder objects in the specified mailbox, including any search folders.
113114
"""
114115
def get_query_parameter(self,original_name: str) -> str:
115116
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ def by_mailbox_folder_id1(self,mailbox_folder_id1: str) -> MailboxFolderItemRequ
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]:
5151
"""
52-
Get childFolders from admin
52+
Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MailboxFolderCollectionResponse]
55+
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-childfolders?view=graph-rest-1.0
5556
"""
5657
request_info = self.to_get_request_information(
5758
request_configuration
@@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFol
6970

7071
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
7172
"""
72-
Get childFolders from admin
73+
Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
7374
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7475
Returns: RequestInformation
7576
"""
@@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder:
109110
@dataclass
110111
class ChildFoldersRequestBuilderGetQueryParameters():
111112
"""
112-
Get childFolders from admin
113+
Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
113114
"""
114115
def get_query_parameter(self,original_name: str) -> str:
115116
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
3434
"""
35-
Invoke function delta
35+
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.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[DeltaGetResponse]
38+
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0
3839
"""
3940
request_info = self.to_get_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq
5253

5354
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke function delta
56+
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.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""
@@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder:
7475
@dataclass
7576
class DeltaRequestBuilderGetQueryParameters():
7677
"""
77-
Invoke function delta
78+
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.
7879
"""
7980
def get_query_parameter(self,original_name: str) -> str:
8081
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
3434
"""
35-
Invoke function delta
35+
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.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[DeltaGetResponse]
3838
"""
@@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq
5252

5353
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5454
"""
55-
Invoke function delta
55+
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.
5656
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5757
Returns: RequestInformation
5858
"""
@@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder:
7474
@dataclass
7575
class DeltaRequestBuilderGetQueryParameters():
7676
"""
77-
Invoke function delta
77+
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.
7878
"""
7979
def get_query_parameter(self,original_name: str) -> str:
8080
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def get(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItem]:
3434
"""
35-
Get items from admin
35+
The collection of items in this folder.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[MailboxItem]
3838
"""
@@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI
5252

5353
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5454
"""
55-
Get items from admin
55+
The collection of items in this folder.
5656
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5757
Returns: RequestInformation
5858
"""
@@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder:
7474
@dataclass
7575
class MailboxItemItemRequestBuilderGetQueryParameters():
7676
"""
77-
Get items from admin
77+
The collection of items in this folder.
7878
"""
7979
def get_query_parameter(self,original_name: str) -> str:
8080
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxItemCollectionResponse]:
5151
"""
52-
Get items from admin
52+
The collection of items in this folder.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MailboxItemCollectionResponse]
5555
"""
@@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq
6969

7070
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
7171
"""
72-
Get items from admin
72+
The collection of items in this folder.
7373
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7474
Returns: RequestInformation
7575
"""
@@ -109,7 +109,7 @@ def delta(self) -> DeltaRequestBuilder:
109109
@dataclass
110110
class ItemsRequestBuilderGetQueryParameters():
111111
"""
112-
Get items from admin
112+
The collection of items in this folder.
113113
"""
114114
def get_query_parameter(self,original_name: str) -> str:
115115
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3333

3434
async def get(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolder]:
3535
"""
36-
Get childFolders from admin
36+
The collection of child folders in this folder.
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: Optional[MailboxFolder]
3939
"""
@@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF
5353

5454
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxFolderItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5555
"""
56-
Get childFolders from admin
56+
The collection of child folders in this folder.
5757
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5858
Returns: RequestInformation
5959
"""
@@ -84,7 +84,7 @@ def items(self) -> ItemsRequestBuilder:
8484
@dataclass
8585
class MailboxFolderItemRequestBuilderGetQueryParameters():
8686
"""
87-
Get childFolders from admin
87+
The collection of child folders in this folder.
8888
"""
8989
def get_query_parameter(self,original_name: str) -> str:
9090
"""

0 commit comments

Comments
 (0)