Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_delete_request_information(
request_configuration
)
Expand All @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[ExchangeAdmin]
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_get_request_information(
request_configuration
)
Expand All @@ -79,7 +79,7 @@ async def patch(self,body: ExchangeAdmin, request_configuration: Optional[Reques
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[ExchangeAdmin]
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if body is None:
raise TypeError("body cannot be null.")
request_info = self.to_patch_request_information(
Expand All @@ -102,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "application/json")
Expand All @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "application/json")
Expand All @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: ExchangeAdmin, request_configuration
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if body is None:
raise TypeError("body cannot be null.")
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
Expand All @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> ExchangeRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: ExchangeRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return ExchangeRequestBuilder(self.request_adapter, raw_url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[int]
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_get_request_information(
request_configuration
)
Expand All @@ -54,7 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "text/plain;q=0.9")
Expand All @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: CountRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(self.request_adapter, raw_url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa
Returns: Optional[MailboxItemImportSession]
Find more info here: https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-beta
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_post_request_information(
request_configuration
)
Expand All @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "application/json")
Expand All @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CreateImportSessionRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: CreateImportSessionRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return CreateImportSessionRequestBuilder(self.request_adapter, raw_url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def post(self,body: ExportItemsPostRequestBody, request_configuration: Opt
Returns: Optional[ExportItemsPostResponse]
Find more info here: https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-beta
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2024-06-30", DeprecationWarning)
if body is None:
raise TypeError("body cannot be null.")
request_info = self.to_post_request_information(
Expand All @@ -63,7 +63,7 @@ def to_post_request_information(self,body: ExportItemsPostRequestBody, request_c
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2024-06-30", DeprecationWarning)
if body is None:
raise TypeError("body cannot be null.")
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
Expand All @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> ExportItemsRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: ExportItemsRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2024-06-30", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return ExportItemsRequestBuilder(self.request_adapter, raw_url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[int]
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_get_request_information(
request_configuration
)
Expand All @@ -54,7 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "text/plain;q=0.9")
Expand All @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: CountRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(self.request_adapter, raw_url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq
Returns: Optional[DeltaGetResponse]
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-beta
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_get_request_information(
request_configuration
)
Expand All @@ -58,7 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "application/json")
Expand All @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: DeltaRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return DeltaRequestBuilder(self.request_adapter, raw_url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def by_mailbox_folder_id(self,mailbox_folder_id: str) -> MailboxFolderItemReques
param mailbox_folder_id: The unique identifier of mailboxFolder
Returns: MailboxFolderItemRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if mailbox_folder_id is None:
raise TypeError("mailbox_folder_id cannot be null.")
from .item.mailbox_folder_item_request_builder import MailboxFolderItemRequestBuilder
Expand All @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FoldersR
Returns: Optional[MailboxFolderCollectionResponse]
Find more info here: https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-beta
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = self.to_get_request_information(
request_configuration
)
Expand All @@ -76,7 +76,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
request_info.headers.try_add("Accept", "application/json")
Expand All @@ -88,7 +88,7 @@ def with_url(self,raw_url: str) -> FoldersRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: FoldersRequestBuilder
"""
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport", DeprecationWarning)
warn("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15", DeprecationWarning)
if raw_url is None:
raise TypeError("raw_url cannot be null.")
return FoldersRequestBuilder(self.request_adapter, raw_url)
Expand Down
Loading