diff --git a/msgraph_beta/generated/admin/exchange/exchange_request_builder.py b/msgraph_beta/generated/admin/exchange/exchange_request_builder.py index 073a8c09c93..d432fbfbf47 100644 --- a/msgraph_beta/generated/admin/exchange/exchange_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/exchange_request_builder.py @@ -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 ) @@ -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 ) @@ -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( @@ -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") @@ -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") @@ -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) @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/count/count_request_builder.py index bb3aba42df3..6d810aee78b 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py index 9b331d3ec6e..d5471848736 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py index 8866c981edd..fffa8c8b861 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py @@ -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( @@ -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) @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/count/count_request_builder.py index 1410e4f9f6d..12519fde970 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py index 812273bc6d6..7bb1e260ade 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py index 8824628939f..613ed4fd6df 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py @@ -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 @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py index feb30b45e09..713aa13893f 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py @@ -39,7 +39,7 @@ def by_mailbox_folder_id1(self,mailbox_folder_id1: str) -> MailboxFolderItemRequ param mailbox_folder_id1: 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_id1 is None: raise TypeError("mailbox_folder_id1 cannot be null.") from .item.mailbox_folder_item_request_builder import MailboxFolderItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFol Returns: Optional[MailboxFolderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-childfolders?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 ) @@ -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") @@ -88,7 +88,7 @@ def with_url(self,raw_url: str) -> ChildFoldersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ChildFoldersRequestBuilder """ - 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 ChildFoldersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/count/count_request_builder.py index 0a1dfdc7033..72f76a1287c 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py index fb29d71641b..3a8479de0dc 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/count/count_request_builder.py index d0d507cf5cc..7870d0ee4ef 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py index 9c3b0d58f52..ab1029ad22d 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/delta/delta_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] """ - 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 ) @@ -57,7 +57,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") @@ -69,7 +69,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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py index 9bda5068c3a..b374d0a02e6 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/item/mailbox_item_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItem] """ - 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 ) @@ -57,7 +57,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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxItemItemRequestBuilder """ - 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 MailboxItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py index c856e91c912..5859542c7de 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/items/items_request_builder.py @@ -39,7 +39,7 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild param mailbox_item_id: The unique identifier of mailboxItem Returns: MailboxItemItemRequestBuilder """ - 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_item_id is None: raise TypeError("mailbox_item_id cannot be null.") from .item.mailbox_item_item_request_builder import MailboxItemItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxItemCollectionResponse] """ - 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 ) @@ -75,7 +75,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") @@ -87,7 +87,7 @@ def with_url(self,raw_url: str) -> ItemsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ItemsRequestBuilder """ - 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 ItemsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py index ed81d33bcac..661f95128cf 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/child_folders/item/mailbox_folder_item_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxFolder] """ - 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 ) @@ -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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> MailboxFolderItemRequestBuilder: param raw_url: The raw URL to use for the request builder. 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 raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxFolderItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/count/count_request_builder.py index 8e8d68e90b1..272d55975e9 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py index abb8e64a624..34b8ce60b91 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/delta_request_builder.py @@ -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/mailboxitem-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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py index d99f2a6971a..67d4a7b3f84 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/item/mailbox_item_item_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI Returns: Optional[MailboxItem] Find more info here: https://learn.microsoft.com/graph/api/mailboxitem-get?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 ) @@ -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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> MailboxItemItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxItemItemRequestBuilder """ - 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 MailboxItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py index 1176265545b..1956b48b311 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/items/items_request_builder.py @@ -39,7 +39,7 @@ def by_mailbox_item_id(self,mailbox_item_id: str) -> MailboxItemItemRequestBuild param mailbox_item_id: The unique identifier of mailboxItem Returns: MailboxItemItemRequestBuilder """ - 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_item_id is None: raise TypeError("mailbox_item_id cannot be null.") from .item.mailbox_item_item_request_builder import MailboxItemItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemsReq Returns: Optional[MailboxItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-items?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 ) @@ -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") @@ -88,7 +88,7 @@ def with_url(self,raw_url: str) -> ItemsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ItemsRequestBuilder """ - 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 ItemsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py index 1d227751ef8..d5e790c7301 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/folders/item/mailbox_folder_item_request_builder.py @@ -39,7 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxF Returns: Optional[MailboxFolder] Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-get?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 ) @@ -60,7 +60,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") @@ -72,7 +72,7 @@ def with_url(self,raw_url: str) -> MailboxFolderItemRequestBuilder: param raw_url: The raw URL to use for the request builder. 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 raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxFolderItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py index 9a9330af098..dc0f59871f9 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/item/mailbox_item_request_builder.py @@ -39,7 +39,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 ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Mailbox] """ - 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 ) @@ -80,7 +80,7 @@ async def patch(self,body: Mailbox, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Mailbox] """ - 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( @@ -103,7 +103,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") @@ -115,7 +115,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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: Mailbox, request_configuration: Opti 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) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> MailboxItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxItemRequestBuilder """ - 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 MailboxItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/mailboxes/mailboxes_request_builder.py b/msgraph_beta/generated/admin/exchange/mailboxes/mailboxes_request_builder.py index e2f151e1d1b..0fe318f9d77 100644 --- a/msgraph_beta/generated/admin/exchange/mailboxes/mailboxes_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/mailboxes/mailboxes_request_builder.py @@ -39,7 +39,7 @@ def by_mailbox_id(self,mailbox_id: str) -> MailboxItemRequestBuilder: param mailbox_id: The unique identifier of mailbox Returns: MailboxItemRequestBuilder """ - 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_id is None: raise TypeError("mailbox_id cannot be null.") from .item.mailbox_item_request_builder import MailboxItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Mailboxe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxCollectionResponse] """ - 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 ) @@ -76,7 +76,7 @@ async def post(self,body: Mailbox, request_configuration: Optional[RequestConfig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Mailbox] """ - 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_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: Mailbox, request_configuration: Optio 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.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> MailboxesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxesRequestBuilder """ - 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 MailboxesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/count/count_request_builder.py index baaedfdad2a..9babb5a854d 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/message_trace_item_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/message_trace_item_request_builder.py index 76c7045e25e..67c3d2d3574 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/message_trace_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/message_trace_item_request_builder.py @@ -37,7 +37,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 ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MessageT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageTrace] """ - 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 ) @@ -78,7 +78,7 @@ async def patch(self,body: MessageTrace, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageTrace] """ - 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( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: MessageTrace, 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) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> MessageTraceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MessageTraceItemRequestBuilder """ - 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 MessageTraceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/count/count_request_builder.py index 7aa5d674900..900bec3d35e 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/count/count_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/count/count_request_builder.py index 4df5556985e..b64e7d18e32 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/count/count_request_builder.py @@ -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 ) @@ -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") @@ -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) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/events_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/events_request_builder.py index 34eb60c6611..809e634a7b8 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/events_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/events_request_builder.py @@ -39,7 +39,7 @@ def by_message_event_id(self,message_event_id: str) -> MessageEventItemRequestBu param message_event_id: The unique identifier of messageEvent Returns: MessageEventItemRequestBuilder """ - 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 message_event_id is None: raise TypeError("message_event_id cannot be null.") from .item.message_event_item_request_builder import MessageEventItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EventsRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageEventCollectionResponse] """ - 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 ) @@ -76,7 +76,7 @@ async def post(self,body: MessageEvent, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageEvent] """ - 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_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MessageEvent, 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.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> EventsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EventsRequestBuilder """ - 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 EventsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py index f845a212266..cffe49bb0f7 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py @@ -36,7 +36,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 ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MessageE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageEvent] """ - 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 ) @@ -77,7 +77,7 @@ async def patch(self,body: MessageEvent, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageEvent] """ - 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( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: MessageEvent, 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) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> MessageEventItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MessageEventItemRequestBuilder """ - 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 MessageEventItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/message_recipient_item_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/message_recipient_item_request_builder.py index 8f40cb5b864..7ff627e55a7 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/message_recipient_item_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/item/message_recipient_item_request_builder.py @@ -37,7 +37,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 ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MessageR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRecipient] """ - 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 ) @@ -78,7 +78,7 @@ async def patch(self,body: MessageRecipient, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRecipient] """ - 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( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: MessageRecipient, request_configurat 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) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> MessageRecipientItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MessageRecipientItemRequestBuilder """ - 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 MessageRecipientItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/recipients_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/recipients_request_builder.py index ccb24ef55de..cb089f661dd 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/recipients_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/item/recipients/recipients_request_builder.py @@ -39,7 +39,7 @@ def by_message_recipient_id(self,message_recipient_id: str) -> MessageRecipientI param message_recipient_id: The unique identifier of messageRecipient Returns: MessageRecipientItemRequestBuilder """ - 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 message_recipient_id is None: raise TypeError("message_recipient_id cannot be null.") from .item.message_recipient_item_request_builder import MessageRecipientItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Recipien param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRecipientCollectionResponse] """ - 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 ) @@ -76,7 +76,7 @@ async def post(self,body: MessageRecipient, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRecipient] """ - 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_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MessageRecipient, request_configurati 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.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> RecipientsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecipientsRequestBuilder """ - 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 RecipientsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/exchange/message_traces/message_traces_request_builder.py b/msgraph_beta/generated/admin/exchange/message_traces/message_traces_request_builder.py index 5b45d7790b3..4620a6c22ac 100644 --- a/msgraph_beta/generated/admin/exchange/message_traces/message_traces_request_builder.py +++ b/msgraph_beta/generated/admin/exchange/message_traces/message_traces_request_builder.py @@ -39,7 +39,7 @@ def by_message_trace_id(self,message_trace_id: str) -> MessageTraceItemRequestBu param message_trace_id: The unique identifier of messageTrace Returns: MessageTraceItemRequestBuilder """ - 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 message_trace_id is None: raise TypeError("message_trace_id cannot be null.") from .item.message_trace_item_request_builder import MessageTraceItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MessageT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageTraceCollectionResponse] """ - 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 ) @@ -76,7 +76,7 @@ async def post(self,body: MessageTrace, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageTrace] """ - 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_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("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") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MessageTrace, 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.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> MessageTracesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MessageTracesRequestBuilder """ - 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 MessageTracesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index 45e50af67b1..b0d9d7cb153 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a resourceConnection object. + Delete an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a resourceConnection object. + Delete an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index e035cc74925..b5f46cee009 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]: """ - Read the properties and relationships of an updatableAsset object. + Read the properties and relationships of an updatableAssetGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an updatableAsset object. + Read the properties and relationships of an updatableAssetGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -190,7 +190,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an updatableAsset object. + Read the properties and relationships of an updatableAssetGroup object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index 9dc5ebe3b4c..b63a8e140b1 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -97,7 +97,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py index a3ae025969c..33c4ad7b827 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 8315bd2d3ed..c6c44f3de94 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -39,7 +39,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion Returns: MeetingRegistrationQuestionItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if meeting_registration_question_id is None: raise TypeError("meeting_registration_question_id cannot be null.") from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: MeetingRegistrationQuestion, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MeetingRegistrationQuestion, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index 0117ee33568..7c97d3b0542 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -36,7 +36,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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: MeetingRegistrationQuestion, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: MeetingRegistrationQuestion, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrationQuestionItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrationQuestionItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py index d16a614702d..707119b27ae 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index fd5368b28da..ab0bf8a3379 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -36,7 +36,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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: MeetingRegistrantBase, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: MeetingRegistrantBase, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrantBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrantBaseItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py index bbda6e23c87..c044dc6cd2a 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -39,7 +39,7 @@ def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> Meeti param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase Returns: MeetingRegistrantBaseItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if meeting_registrant_base_id is None: raise TypeError("meeting_registrant_base_id cannot be null.") from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBaseCollectionResponse] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: MeetingRegistrantBase, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MeetingRegistrantBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> RegistrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrantsRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py index e3c6e14551c..1e3e851291a 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: MeetingRegistration, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: MeetingRegistration, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> RegistrationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py index 9ed3df14b29..43848d3c624 100644 --- a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py index 3357a6a1443..461e3d35a9d 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 0c1a257f1b6..310601b79de 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -39,7 +39,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion Returns: MeetingRegistrationQuestionItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if meeting_registration_question_id is None: raise TypeError("meeting_registration_question_id cannot be null.") from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: MeetingRegistrationQuestion, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MeetingRegistrationQuestion, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index e3b7b7fbdbb..61e8f7bf6d5 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -36,7 +36,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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: MeetingRegistrationQuestion, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: MeetingRegistrationQuestion, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrationQuestionItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrationQuestionItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py index bef66e9d199..c7e7399a8b3 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index ea2fba0b56f..cc3eeccff11 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -36,7 +36,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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: MeetingRegistrantBase, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: MeetingRegistrantBase, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrantBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrantBaseItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py index c4a81271863..1578cab1d41 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -39,7 +39,7 @@ def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> Meeti param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase Returns: MeetingRegistrantBaseItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if meeting_registrant_base_id is None: raise TypeError("meeting_registrant_base_id cannot be null.") from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBaseCollectionResponse] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: MeetingRegistrantBase, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MeetingRegistrantBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> RegistrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrantsRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py index 0d71f940350..85510b48198 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: MeetingRegistration, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: MeetingRegistration, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> RegistrationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py index 0834e6f9b2e..a03eb6f79ab 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py @@ -39,7 +39,7 @@ def by_case_id(self,case_id: str) -> CaseItemRequestBuilder: param case_id: The unique identifier of case Returns: CaseItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if case_id is None: raise TypeError("case_id cannot be null.") from .item.case_item_request_builder import CaseItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CasesReq Returns: Optional[CaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: Case, request_configuration: Optional[RequestConfigura Returns: Optional[Case] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-post?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: Case, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> CasesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CasesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CasesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py index a55a60c21e0..7faa32ebb78 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py index dadd1640b6a..15f805b0808 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CaseItem Returns: Optional[Case] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -90,7 +90,7 @@ async def patch(self,body: Case, request_configuration: Optional[RequestConfigur Returns: Optional[Case] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -138,7 +138,7 @@ def to_patch_request_information(self,body: Case, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -153,7 +153,7 @@ def with_url(self,raw_url: str) -> CaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CaseItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py index f9c70ca8936..8f1e546c61b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py index 8e96ef6713a..cd2ac2cf5e8 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py @@ -41,7 +41,7 @@ def by_custodian_id(self,custodian_id: str) -> CustodianItemRequestBuilder: param custodian_id: The unique identifier of custodian Returns: CustodianItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if custodian_id is None: raise TypeError("custodian_id cannot be null.") from .item.custodian_item_request_builder import CustodianItemRequestBuilder @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Custodia Returns: Optional[CustodianCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list-custodians?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def post(self,body: Custodian, request_configuration: Optional[RequestConf Returns: Optional[Custodian] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-post-custodians?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -116,7 +116,7 @@ def to_post_request_information(self,body: Custodian, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -131,7 +131,7 @@ def with_url(self,raw_url: str) -> CustodiansRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustodiansRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustodiansRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py index 40713d85ea4..522cbbecc14 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py @@ -45,7 +45,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Custodia Returns: Optional[Custodian] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,7 +88,7 @@ async def patch(self,body: Custodian, request_configuration: Optional[RequestCon Returns: Optional[Custodian] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -136,7 +136,7 @@ def to_patch_request_information(self,body: Custodian, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -151,7 +151,7 @@ def with_url(self,raw_url: str) -> CustodianItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustodianItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustodianItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py index 3531db89a1c..0eff7f37825 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastInde param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseIndexOperation] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> LastIndexOperationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastIndexOperationRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastIndexOperationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py index 9205adfdb7b..1e003a9a5f2 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-activate?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryActivateRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryActivateRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryActivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index 4c857356cc1..1847cfc277e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryApplyHoldRequestBuild param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryApplyHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryApplyHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py index fa6044d0840..29da141bdfb 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-release?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryReleaseRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryReleaseRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryReleaseRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index bff6c144d50..5834736dd3f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryRemoveHoldRequestBuil param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py index 29c3c78d478..397b9b3181f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryUpdateIndexRequestBui param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryUpdateIndexRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryUpdateIndexRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py index 79af93ff78c..ac440b0025a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py index b2d43ef588c..67b1a68feb0 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Site] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> SiteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py index 6457f0fc0e5..1fe5ee4ef11 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sitesource-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteSour Returns: Optional[SiteSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sitesource-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: SiteSource, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: SiteSource, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> SiteSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py index 13fd6b466a0..bc06e57eee1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py @@ -39,7 +39,7 @@ def by_site_source_id(self,site_source_id: str) -> SiteSourceItemRequestBuilder: param site_source_id: The unique identifier of siteSource Returns: SiteSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if site_source_id is None: raise TypeError("site_source_id cannot be null.") from .item.site_source_item_request_builder import SiteSourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteSour Returns: Optional[SiteSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-sitesources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: SiteSource, request_configuration: Optional[RequestCon Returns: Optional[SiteSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-sitesources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: SiteSource, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> SiteSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py index 2b52c5de91e..2abdd12e319 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py index 29424c47a21..2f3b8f228af 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py index ee6ee6e745e..446ba5ff70e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 9ed21b021c6..dc588dfea09 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py index 04cdb920fc2..7df2aa3a7ab 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedG Returns: Optional[UnifiedGroupSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: UnifiedGroupSource, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: UnifiedGroupSource, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedGroupSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedGroupSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedGroupSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py index 77f6c857d84..4b81d9493d2 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py @@ -39,7 +39,7 @@ def by_unified_group_source_id(self,unified_group_source_id: str) -> UnifiedGrou param unified_group_source_id: The unique identifier of unifiedGroupSource Returns: UnifiedGroupSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if unified_group_source_id is None: raise TypeError("unified_group_source_id cannot be null.") from .item.unified_group_source_item_request_builder import UnifiedGroupSourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedG Returns: Optional[UnifiedGroupSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-unifiedgroupsources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: UnifiedGroupSource, request_configuration: Optional[Re Returns: Optional[UnifiedGroupSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-unifiedgroupsources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: UnifiedGroupSource, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> UnifiedGroupSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedGroupSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedGroupSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py index ae0ea9194eb..37699029563 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py index 6041f8e3e4a..33aaf28cd8f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-usersource-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserSour Returns: Optional[UserSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-usersource-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: UserSource, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: UserSource, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> UserSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py index 72cac5bd0e1..7ccddbbfc57 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py @@ -39,7 +39,7 @@ def by_user_source_id(self,user_source_id: str) -> UserSourceItemRequestBuilder: param user_source_id: The unique identifier of userSource Returns: UserSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if user_source_id is None: raise TypeError("user_source_id cannot be null.") from .item.user_source_item_request_builder import UserSourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserSour Returns: Optional[UserSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-usersources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: UserSource, request_configuration: Optional[RequestCon Returns: Optional[UserSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-usersources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: UserSource, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> UserSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index 8fd6262df5a..dd8701890b2 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -37,7 +37,7 @@ async def post(self,body: ApplyHoldPostRequestBody, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,7 +59,7 @@ def to_post_request_information(self,body: ApplyHoldPostRequestBody, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryApplyHoldRequestBuild param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryApplyHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryApplyHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index a2a261edfd4..57956cbf039 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -37,7 +37,7 @@ async def post(self,body: RemoveHoldPostRequestBody, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,7 +59,7 @@ def to_post_request_information(self,body: RemoveHoldPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryRemoveHoldRequestBuil param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py index 469d5f34a6e..c5f6bdab16b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py index 00b51a45402..dfb78edfb5f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py @@ -40,7 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,7 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LegalHol Returns: Optional[LegalHold] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,7 +83,7 @@ async def patch(self,body: LegalHold, request_configuration: Optional[RequestCon Returns: Optional[LegalHold] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -131,7 +131,7 @@ def to_patch_request_information(self,body: LegalHold, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,7 +146,7 @@ def with_url(self,raw_url: str) -> LegalHoldItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LegalHoldItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LegalHoldItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py index 599d427da3d..3403777df9e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py index 947ce95e1cc..918d4d4ccba 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Site] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> SiteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py index 9ca517bbc91..fffb9f4ce9a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py @@ -37,7 +37,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteSour param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: SiteSource, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: SiteSource, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> SiteSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py index 37c14887007..ed3af998acd 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py @@ -39,7 +39,7 @@ def by_site_source_id(self,site_source_id: str) -> SiteSourceItemRequestBuilder: param site_source_id: The unique identifier of siteSource Returns: SiteSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if site_source_id is None: raise TypeError("site_source_id cannot be null.") from .item.site_source_item_request_builder import SiteSourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteSour Returns: Optional[SiteSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-sitesources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: SiteSource, request_configuration: Optional[RequestCon Returns: Optional[SiteSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-post-sitesources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: SiteSource, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> SiteSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py index 60414ad1de5..c9e65014d33 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py index 852b7ae8eb2..983d7e277e5 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py index 246e83353f9..7b9cb1867d7 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 8162bbf8531..8cd1b3497c6 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py index 89bad661908..9f9feeb6ed7 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py @@ -37,7 +37,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedG param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: UnifiedGroupSource, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: UnifiedGroupSource, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedGroupSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedGroupSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedGroupSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py index 1f74b997bd9..3bd525ac94f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py @@ -39,7 +39,7 @@ def by_unified_group_source_id(self,unified_group_source_id: str) -> UnifiedGrou param unified_group_source_id: The unique identifier of unifiedGroupSource Returns: UnifiedGroupSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if unified_group_source_id is None: raise TypeError("unified_group_source_id cannot be null.") from .item.unified_group_source_item_request_builder import UnifiedGroupSourceItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedG param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSourceCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: UnifiedGroupSource, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: UnifiedGroupSource, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> UnifiedGroupSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedGroupSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedGroupSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py index ffdd723735c..74446b77c55 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py index 36a2bf76472..424bc027a36 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py @@ -36,7 +36,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserSour param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: UserSource, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: UserSource, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> UserSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py index 1b373deb45e..25cc60b81e3 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py @@ -39,7 +39,7 @@ def by_user_source_id(self,user_source_id: str) -> UserSourceItemRequestBuilder: param user_source_id: The unique identifier of userSource Returns: UserSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if user_source_id is None: raise TypeError("user_source_id cannot be null.") from .item.user_source_item_request_builder import UserSourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserSour Returns: Optional[UserSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-usersources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: UserSource, request_configuration: Optional[RequestCon Returns: Optional[UserSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-post-usersources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: UserSource, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> UserSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py index daebb6a3f61..1f6294c6f0b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py @@ -39,7 +39,7 @@ def by_legal_hold_id(self,legal_hold_id: str) -> LegalHoldItemRequestBuilder: param legal_hold_id: The unique identifier of legalHold Returns: LegalHoldItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if legal_hold_id is None: raise TypeError("legal_hold_id cannot be null.") from .item.legal_hold_item_request_builder import LegalHoldItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LegalHol param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LegalHoldCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: LegalHold, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LegalHold] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: LegalHold, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> LegalHoldsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LegalHoldsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LegalHoldsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py index 250a66abf68..d8e48ded9c0 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-close?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryCloseRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryCloseRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryCloseRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py index 32d19d5c1ed..2b24534598a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-reopen?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryReopenRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryReopenRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryReopenRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py index a4182903f21..7d32ac27fd8 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py index dc220575797..ddf5996a8db 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py @@ -36,7 +36,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataSour param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: DataSource, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: DataSource, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> DataSourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DataSourceRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DataSourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py index a3eb166fb65..dcc0ce0f0f5 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastInde param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseIndexOperation] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> LastIndexOperationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastIndexOperationRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastIndexOperationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index 8f45474b183..c7f434a3278 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryApplyHoldRequestBuild param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryApplyHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryApplyHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py index b53921c6257..9b2b3cdd5ba 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-release?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryReleaseRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryReleaseRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryReleaseRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index abfe3d84fb4..e972fc717df 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryRemoveHoldRequestBuil param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py index 197fd7c532b..10560b3c12b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryUpdateIndexRequestBui param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryUpdateIndexRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryUpdateIndexRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py index 6b1ff37f10f..2d773364304 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py @@ -42,7 +42,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -62,7 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Noncusto Returns: Optional[NoncustodialDataSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -84,7 +84,7 @@ async def patch(self,body: NoncustodialDataSource, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NoncustodialDataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -132,7 +132,7 @@ def to_patch_request_information(self,body: NoncustodialDataSource, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -147,7 +147,7 @@ def with_url(self,raw_url: str) -> NoncustodialDataSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NoncustodialDataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NoncustodialDataSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index f69362f1053..e66e65c2a2a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -37,7 +37,7 @@ async def post(self,body: ApplyHoldPostRequestBody, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,7 +59,7 @@ def to_post_request_information(self,body: ApplyHoldPostRequestBody, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryApplyHoldRequestBuild param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryApplyHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryApplyHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index 949f5539dc4..4644e6233bd 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -37,7 +37,7 @@ async def post(self,body: RemoveHoldPostRequestBody, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,7 +59,7 @@ def to_post_request_information(self,body: RemoveHoldPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryRemoveHoldRequestBuil param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py index dd7f2f5b7cf..0c732fddb9c 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py @@ -41,7 +41,7 @@ def by_noncustodial_data_source_id(self,noncustodial_data_source_id: str) -> Non param noncustodial_data_source_id: The unique identifier of noncustodialDataSource Returns: NoncustodialDataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if noncustodial_data_source_id is None: raise TypeError("noncustodial_data_source_id cannot be null.") from .item.noncustodial_data_source_item_request_builder import NoncustodialDataSourceItemRequestBuilder @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Noncusto Returns: Optional[NoncustodialDataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-list?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def post(self,body: NoncustodialDataSource, request_configuration: Optiona Returns: Optional[NoncustodialDataSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-post?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -116,7 +116,7 @@ def to_post_request_information(self,body: NoncustodialDataSource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -131,7 +131,7 @@ def with_url(self,raw_url: str) -> NoncustodialDataSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NoncustodialDataSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NoncustodialDataSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py index ead4817678d..16d74f8aeba 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py index 4b45d28ec99..9403b5da0c5 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py @@ -37,7 +37,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CaseOper param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseOperation] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CaseOperation, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseOperation] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CaseOperation, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CaseOperationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CaseOperationItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CaseOperationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py index cd3f4a043a4..8f1e36adbe6 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseExportOperation] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryCaseExportOperationRe param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py index 9bf75df9596..6aa93a595f5 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ReviewSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSet] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ReviewSetRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReviewSetRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReviewSetRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py index c5c04857dea..93cde63920e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py index 8707407d17d..c61e459d427 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseExportOperationCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryCaseExportOperationRe param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py index a62a676f6fc..1950f9e84ed 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py @@ -40,7 +40,7 @@ def by_case_operation_id(self,case_operation_id: str) -> CaseOperationItemReques param case_operation_id: The unique identifier of caseOperation Returns: CaseOperationItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if case_operation_id is None: raise TypeError("case_operation_id cannot be null.") from .item.case_operation_item_request_builder import CaseOperationItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Operatio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseOperationCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: CaseOperation, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseOperation] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: CaseOperation, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> OperationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OperationsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OperationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py index d2bd669a371..386b582acc0 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py index db2f03c12e6..1f2191db4bc 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: AddToReviewSetPostRequestBody, request_configuration: Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewset-addtoreviewset?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: AddToReviewSetPostRequestBody, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryAddToReviewSetRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryAddToReviewSetRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryAddToReviewSetRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py index 0f64cba4953..072ed70a31d 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: ExportPostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewset-export?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: ExportPostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryExportRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryExportRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryExportRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py index e3b19af6bb1..100a276e939 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py index 7e44007a760..e01f6294778 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: ApplyTagsPostRequestBody, request_configuration: Optio Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-applytags?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: ApplyTagsPostRequestBody, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryApplyTagsRequestBuild param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryApplyTagsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryApplyTagsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py index 248de30b0c1..b149323fc4c 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ReviewSe Returns: Optional[ReviewSetQuery] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: ReviewSetQuery, request_configuration: Optional[Reque Returns: Optional[ReviewSetQuery] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: ReviewSetQuery, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> ReviewSetQueryItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReviewSetQueryItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReviewSetQueryItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py index 5240479792e..aa00e13b357 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py @@ -39,7 +39,7 @@ def by_review_set_query_id(self,review_set_query_id: str) -> ReviewSetQueryItemR param review_set_query_id: The unique identifier of reviewSetQuery Returns: ReviewSetQueryItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if review_set_query_id is None: raise TypeError("review_set_query_id cannot be null.") from .item.review_set_query_item_request_builder import ReviewSetQueryItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueriesR Returns: Optional[ReviewSetQueryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-list?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: ReviewSetQuery, request_configuration: Optional[Reques Returns: Optional[ReviewSetQuery] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-post?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: ReviewSetQuery, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> QueriesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: QueriesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return QueriesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py index 2150ebf29cc..3fd2d63c55b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py @@ -39,7 +39,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ReviewSe Returns: Optional[ReviewSet] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewset-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: ReviewSet, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSet] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: ReviewSet, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> ReviewSetItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReviewSetItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReviewSetItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py index dbf1b612af7..c7977dc5b3a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py @@ -39,7 +39,7 @@ def by_review_set_id(self,review_set_id: str) -> ReviewSetItemRequestBuilder: param review_set_id: The unique identifier of reviewSet Returns: ReviewSetItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if review_set_id is None: raise TypeError("review_set_id cannot be null.") from .item.review_set_item_request_builder import ReviewSetItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ReviewSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSetCollectionResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: ReviewSet, request_configuration: Optional[RequestConf Returns: Optional[ReviewSet] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-post-reviewsets?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: ReviewSet, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> ReviewSetsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReviewSetsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReviewSetsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py index e39a6cc1c68..6309536f32f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-casesettings-resettodefault?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryResetToDefaultRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryResetToDefaultRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryResetToDefaultRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py index fdaf8cf7c79..6dfabb4d209 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py @@ -37,7 +37,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Settings Returns: Optional[CaseSettings] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-casesettings-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: CaseSettings, request_configuration: Optional[Request Returns: Optional[CaseSettings] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-casesettings-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: CaseSettings, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> SettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SettingsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py index 17c71724f4f..5fbc7d74ae1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py index d3eb1aed903..bdbbf23cd16 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AddToRev Returns: Optional[AddToReviewSetOperation] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-addtoreviewsetoperation?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> AddToReviewSetOperationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AddToReviewSetOperationRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AddToReviewSetOperationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py index 0cb13606bd3..9fc6a0bce97 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py @@ -39,7 +39,7 @@ def by_data_source_id(self,data_source_id: str) -> DataSourceItemRequestBuilder: param data_source_id: The unique identifier of dataSource Returns: DataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if data_source_id is None: raise TypeError("data_source_id cannot be null.") from .item.data_source_item_request_builder import DataSourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Addition Returns: Optional[DataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-additionalsources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: DataSource, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: DataSource, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> AdditionalSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AdditionalSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdditionalSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py index 76c89da847f..76a4e58a719 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py index 697bd74d1e3..ac2ec485a93 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py @@ -36,7 +36,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataSour param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: DataSource, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: DataSource, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> DataSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DataSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py index 461db431488..91062f9faac 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py index eaab46a7e40..95d618a3e34 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py @@ -38,7 +38,7 @@ def by_data_source_id(self,data_source_id: str) -> DataSourceItemRequestBuilder: param data_source_id: The unique identifier of dataSource Returns: DataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if data_source_id is None: raise TypeError("data_source_id cannot be null.") from .item.data_source_item_request_builder import DataSourceItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Custodia Returns: Optional[DataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-custodiansources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -87,7 +87,7 @@ def with_url(self,raw_url: str) -> CustodianSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustodianSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustodianSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py index 75c688525ac..803f7cad45e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataSour param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> DataSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DataSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py index e13fc1516ae..1a0b39d8d5b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastEsti Returns: Optional[EstimateStatisticsOperation] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-lastestimatestatisticsoperation?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> LastEstimateStatisticsOperationRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: LastEstimateStatisticsOperationRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastEstimateStatisticsOperationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py index 3ccaf765399..cf302c7c511 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-estimatestatistics?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryEstimateStatisticsReq param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py index adc3e8641f4..c3bca706a90 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-purgedata?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryPurgeDataRequestBuild param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryPurgeDataRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryPurgeDataRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py index 65eb327b2a6..d764a27dfd6 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py index 23e0b888819..d6c35d2dd28 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Noncusto param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NoncustodialDataSource] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> NoncustodialDataSourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NoncustodialDataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NoncustodialDataSourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py index 2868c7d9427..e005ca9043f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py @@ -38,7 +38,7 @@ def by_noncustodial_data_source_id(self,noncustodial_data_source_id: str) -> Non param noncustodial_data_source_id: The unique identifier of noncustodialDataSource Returns: NoncustodialDataSourceItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if noncustodial_data_source_id is None: raise TypeError("noncustodial_data_source_id cannot be null.") from .item.noncustodial_data_source_item_request_builder import NoncustodialDataSourceItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Noncusto Returns: Optional[NoncustodialDataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-noncustodialsources?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -87,7 +87,7 @@ def with_url(self,raw_url: str) -> NoncustodialSourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NoncustodialSourcesRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NoncustodialSourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py index a27742f0111..c03f6fa5eb2 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py @@ -44,7 +44,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SourceCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceCollection] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -86,7 +86,7 @@ async def patch(self,body: SourceCollection, request_configuration: Optional[Req Returns: Optional[SourceCollection] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -134,7 +134,7 @@ def to_patch_request_information(self,body: SourceCollection, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -149,7 +149,7 @@ def with_url(self,raw_url: str) -> SourceCollectionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SourceCollectionItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SourceCollectionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py index 3495fed4b77..4f35cc5ca00 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py @@ -39,7 +39,7 @@ def by_source_collection_id(self,source_collection_id: str) -> SourceCollectionI param source_collection_id: The unique identifier of sourceCollection Returns: SourceCollectionItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if source_collection_id is None: raise TypeError("source_collection_id cannot be null.") from .item.source_collection_item_request_builder import SourceCollectionItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SourceCo Returns: Optional[SourceCollectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list-sourcecollections?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: SourceCollection, request_configuration: Optional[Requ Returns: Optional[SourceCollection] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-post-sourcecollections?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: SourceCollection, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> SourceCollectionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SourceCollectionsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SourceCollectionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py index edfd012ba64..e4363481ca0 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py index d31a7ae87ec..21ed084dcb1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py @@ -38,7 +38,7 @@ def by_tag_id1(self,tag_id1: str) -> TagItemRequestBuilder: param tag_id1: The unique identifier of tag Returns: TagItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if tag_id1 is None: raise TypeError("tag_id1 cannot be null.") from .item.tag_item_request_builder import TagItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildTag Returns: Optional[TagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-tag-childtags?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -87,7 +87,7 @@ def with_url(self,raw_url: str) -> ChildTagsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ChildTagsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ChildTagsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py index 8c684ed8e68..64020b6375b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py index 6800a23d5f6..e7855fa63ca 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TagItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tag] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> TagItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TagItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TagItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py index fae60066bb0..ebb5c9c2cac 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ParentRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tag] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ParentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ParentRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ParentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py index 9cc914e5605..36691e44730 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py @@ -39,7 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/ediscovery-tag-delete?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TagItemR Returns: Optional[Tag] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-tag-get?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,7 +82,7 @@ async def patch(self,body: Tag, request_configuration: Optional[RequestConfigura Returns: Optional[Tag] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-tag-update?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -130,7 +130,7 @@ def to_patch_request_information(self,body: Tag, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -145,7 +145,7 @@ def with_url(self,raw_url: str) -> TagItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TagItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TagItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py index 54416443794..326daa961e2 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AsHierarchyGetResponse] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphEdiscoveryAsHierarchyRequestBui param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphEdiscoveryAsHierarchyRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphEdiscoveryAsHierarchyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py index db3a8b192d8..b45fb69fe99 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py @@ -40,7 +40,7 @@ def by_tag_id(self,tag_id: str) -> TagItemRequestBuilder: param tag_id: The unique identifier of tag Returns: TagItemRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if tag_id is None: raise TypeError("tag_id cannot be null.") from .item.tag_item_request_builder import TagItemRequestBuilder @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TagsRequ Returns: Optional[TagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list-tags?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def post(self,body: Tag, request_configuration: Optional[RequestConfigurat Returns: Optional[Tag] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-post-tags?view=graph-rest-beta """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", 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") @@ -115,7 +115,7 @@ def to_post_request_information(self,body: Tag, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -130,7 +130,7 @@ def with_url(self,raw_url: str) -> TagsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TagsRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TagsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py index aeb2ded779a..c6b73f77213 100644 --- a/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py @@ -37,7 +37,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("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Ediscove param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Ediscoveryroot] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: Ediscoveryroot, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Ediscoveryroot] """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: Ediscoveryroot, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> EdiscoveryRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EdiscoveryRequestBuilder """ - warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace", DeprecationWarning) + warn("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EdiscoveryRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py index 889d1dcbfc4..c791a72197a 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkReprovisionCloudPcPostRequestBody, request_configu Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-beta """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkReprovisionCloudPcPostRequestBody param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkReprovisionCloudPcRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkReprovisionCloudPcRequestBuilder """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkReprovisionCloudPcRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py index 4bd83c37b2f..cb347942a0f 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkRestoreCloudPcPostRequestBody, request_configurati Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-beta """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkRestoreCloudPcPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkRestoreCloudPcRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkRestoreCloudPcRequestBuilder """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkRestoreCloudPcRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py index a477eba0f58..4a42807170b 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkSetCloudPcReviewStatusPostRequestBody, request_con Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-beta """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkSetCloudPcReviewStatusPostRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkSetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkSetCloudPcReviewStatusRequestBuilder """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkSetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py index c041b4e3cfb..497e4897a71 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetCloud Returns: Optional[GetCloudPcRemoteActionResultsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta """ - warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCloudPcRemoteActionResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcRemoteActionResultsRequestBuilder """ - warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcRemoteActionResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py index cb1d84ade1f..8f4c66a1e64 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[CloudPcReviewStatus] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcreviewstatus?view=graph-rest-beta """ - warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcReviewStatusRequestBuilder """ - warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py index aeedf3e7354..19169f55eef 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SetCloudPcReviewStatusPostRequestBody, request_configu Returns: None Find more info here: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-beta """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: SetCloudPcReviewStatusPostRequestBody param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> SetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SetCloudPcReviewStatusRequestBuilder """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py index 3f91dc6e213..5edb9e2d52c 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkReprovisionCloudPcPostRequestBody, request_configu Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-beta """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkReprovisionCloudPcPostRequestBody param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkReprovisionCloudPcRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkReprovisionCloudPcRequestBuilder """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkReprovisionCloudPcRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py index 6c0f51d55c4..7f0a9dadcff 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkRestoreCloudPcPostRequestBody, request_configurati Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-beta """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkRestoreCloudPcPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkRestoreCloudPcRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkRestoreCloudPcRequestBuilder """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkRestoreCloudPcRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py index c33de9f7078..127f02a1cad 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkSetCloudPcReviewStatusPostRequestBody, request_con Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-beta """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkSetCloudPcReviewStatusPostRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkSetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkSetCloudPcReviewStatusRequestBuilder """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkSetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py index 2fe0aa0d9a4..d660ae9fbf3 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetCloud Returns: Optional[GetCloudPcRemoteActionResultsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta """ - warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCloudPcRemoteActionResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcRemoteActionResultsRequestBuilder """ - warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcRemoteActionResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py index a418ac86e91..f7d79cdbff9 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[CloudPcReviewStatus] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcreviewstatus?view=graph-rest-beta """ - warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcReviewStatusRequestBuilder """ - warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py index a6fba04a360..773749f5b20 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SetCloudPcReviewStatusPostRequestBody, request_configu Returns: None Find more info here: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-beta """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: SetCloudPcReviewStatusPostRequestBody param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> SetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SetCloudPcReviewStatusRequestBuilder """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index e4ef8258b1f..66700ae6d3f 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -49,7 +49,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index b5bdddedffd..64a5b0b2277 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/reports/reports_request_builder.py index 7c3a4f97b45..d057f46ce1d 100644 --- a/msgraph_beta/generated/device_management/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/reports_request_builder.py @@ -127,7 +127,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ReportsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceManagementReports]: """ - Reports singleton + Get reports from deviceManagement param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagementReports] """ @@ -181,7 +181,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ReportsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Reports singleton + Get reports from deviceManagement param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -918,7 +918,7 @@ class ReportsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Query @dataclass class ReportsRequestBuilderGetQueryParameters(): """ - Reports singleton + Get reports from deviceManagement """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py index d4cf0f67f9b..28d5c4a9efe 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkResizePostRequestBody, request_configuration: Opti Returns: Optional[BulkResizePostResponse] Find more info here: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-beta """ - warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize", DeprecationWarning) + warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkResizePostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize", DeprecationWarning) + warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkResizeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkResizeRequestBuilder """ - warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize", DeprecationWarning) + warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkResizeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py index 7856d750380..c591821d089 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: GetCloudPcPerformanceReportPostRequestBody, request_co Returns: bytes Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-getcloudpcperformancereport?view=graph-rest-beta """ + warn("Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: GetCloudPcPerformanceReportPostReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> GetCloudPcPerformanceReportRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcPerformanceReportRequestBuilder """ + warn("Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcPerformanceReportRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py index 408280c772a..41ff89efd8c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: GetConnectionQualityReportsPostRequestBody, request_co Returns: bytes Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-getconnectionqualityreports?view=graph-rest-beta """ - warn("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports", DeprecationWarning) + warn("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: GetConnectionQualityReportsPostReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports", DeprecationWarning) + warn("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> GetConnectionQualityReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetConnectionQualityReportsRequestBuilder """ - warn("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports", DeprecationWarning) + warn("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetConnectionQualityReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py index ad3fb2e6ff8..2bb6f53d787 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: GetFrontlineReportPostRequestBody, request_configurati Returns: bytes Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-getfrontlinereport?view=graph-rest-beta """ - warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport", DeprecationWarning) + warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: GetFrontlineReportPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport", DeprecationWarning) + warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> GetFrontlineReportRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetFrontlineReportRequestBuilder """ - warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport", DeprecationWarning) + warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetFrontlineReportRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py index 715c50f1ed1..e6f2d038a07 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py @@ -30,6 +30,7 @@ from .get_remote_connection_historical_reports.get_remote_connection_historical_reports_request_builder import GetRemoteConnectionHistoricalReportsRequestBuilder from .get_total_aggregated_remote_connection_reports.get_total_aggregated_remote_connection_reports_request_builder import GetTotalAggregatedRemoteConnectionReportsRequestBuilder from .retrieve_bulk_action_status_report.retrieve_bulk_action_status_report_request_builder import RetrieveBulkActionStatusReportRequestBuilder + from .retrieve_cloud_pc_tenant_metrics_report.retrieve_cloud_pc_tenant_metrics_report_request_builder import RetrieveCloudPcTenantMetricsReportRequestBuilder from .retrieve_cloud_pc_troubleshoot_reports.retrieve_cloud_pc_troubleshoot_reports_request_builder import RetrieveCloudPcTroubleshootReportsRequestBuilder from .retrieve_connection_quality_reports.retrieve_connection_quality_reports_request_builder import RetrieveConnectionQualityReportsRequestBuilder from .retrieve_cross_region_disaster_recovery_report.retrieve_cross_region_disaster_recovery_report_request_builder import RetrieveCrossRegionDisasterRecoveryReportRequestBuilder @@ -288,6 +289,15 @@ def retrieve_bulk_action_status_report(self) -> RetrieveBulkActionStatusReportRe return RetrieveBulkActionStatusReportRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_cloud_pc_tenant_metrics_report(self) -> RetrieveCloudPcTenantMetricsReportRequestBuilder: + """ + Provides operations to call the retrieveCloudPcTenantMetricsReport method. + """ + from .retrieve_cloud_pc_tenant_metrics_report.retrieve_cloud_pc_tenant_metrics_report_request_builder import RetrieveCloudPcTenantMetricsReportRequestBuilder + + return RetrieveCloudPcTenantMetricsReportRequestBuilder(self.request_adapter, self.path_parameters) + @property def retrieve_cloud_pc_troubleshoot_reports(self) -> RetrieveCloudPcTroubleshootReportsRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_tenant_metrics_report/retrieve_cloud_pc_tenant_metrics_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_tenant_metrics_report/retrieve_cloud_pc_tenant_metrics_report_post_request_body.py new file mode 100644 index 00000000000..a17b53dd112 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_tenant_metrics_report/retrieve_cloud_pc_tenant_metrics_report_post_request_body.py @@ -0,0 +1,85 @@ +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 .....models.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + +@dataclass +class RetrieveCloudPcTenantMetricsReportPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[list[str]] = None + # The orderBy property + order_by: Optional[list[str]] = None + # The reportName property + report_name: Optional[CloudPCPerformanceReportName] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[list[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RetrieveCloudPcTenantMetricsReportPostRequestBody: + """ + 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: RetrieveCloudPcTenantMetricsReportPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RetrieveCloudPcTenantMetricsReportPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .....models.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + + from .....models.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + + fields: dict[str, Callable[[Any], None]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "reportName": lambda n : setattr(self, 'report_name', n.get_enum_value(CloudPCPerformanceReportName)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', n.get_int_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_enum_value("reportName", self.report_name) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_tenant_metrics_report/retrieve_cloud_pc_tenant_metrics_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_tenant_metrics_report/retrieve_cloud_pc_tenant_metrics_report_request_builder.py new file mode 100644 index 00000000000..bd1edb1c1a7 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_tenant_metrics_report/retrieve_cloud_pc_tenant_metrics_report_request_builder.py @@ -0,0 +1,87 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .retrieve_cloud_pc_tenant_metrics_report_post_request_body import RetrieveCloudPcTenantMetricsReportPostRequestBody + +class RetrieveCloudPcTenantMetricsReportRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveCloudPcTenantMetricsReport method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RetrieveCloudPcTenantMetricsReportRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveCloudPcTenantMetricsReport", path_parameters) + + async def post(self,body: RetrieveCloudPcTenantMetricsReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: + """ + Get a report related to the performance of Cloud PCs. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: bytes + Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-retrievecloudpctenantmetricsreport?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: RetrieveCloudPcTenantMetricsReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Get a report related to the performance of Cloud PCs. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/octet-stream, application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RetrieveCloudPcTenantMetricsReportRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RetrieveCloudPcTenantMetricsReportRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RetrieveCloudPcTenantMetricsReportRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RetrieveCloudPcTenantMetricsReportRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_troubleshoot_reports/retrieve_cloud_pc_troubleshoot_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_troubleshoot_reports/retrieve_cloud_pc_troubleshoot_reports_request_builder.py index 74acaf4c0ac..8d281c28a84 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_troubleshoot_reports/retrieve_cloud_pc_troubleshoot_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_troubleshoot_reports/retrieve_cloud_pc_troubleshoot_reports_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: RetrieveCloudPcTroubleshootReportsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Invoke action retrieveCloudPcTroubleshootReports + Get troubleshooting reports for Cloud PCs. You can get a regional troubleshooting report, a report with troubleshooting details, a report with troubleshooting trends, or a report on the number of troubleshooting issues. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes + Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-retrievecloudpctroubleshootreports?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: RetrieveCloudPcTroubleshootReportsPostRequestBody, req def to_post_request_information(self,body: RetrieveCloudPcTroubleshootReportsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action retrieveCloudPcTroubleshootReports + Get troubleshooting reports for Cloud PCs. You can get a regional troubleshooting report, a report with troubleshooting details, a report with troubleshooting trends, or a report on the number of troubleshooting issues. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py index 9231707d403..4814d5b5994 100644 --- a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Hardware async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] - Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py index aeee5a4e652..39032baa962 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py @@ -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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", 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") @@ -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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py index 06c6a104d12..12478bf9a0b 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py @@ -39,7 +39,7 @@ def by_feature_rollout_policy_id(self,feature_rollout_policy_id: str) -> Feature param feature_rollout_policy_id: The unique identifier of featureRolloutPolicy Returns: FeatureRolloutPolicyItemRequestBuilder """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if feature_rollout_policy_id is None: raise TypeError("feature_rollout_policy_id cannot be null.") from .item.feature_rollout_policy_item_request_builder import FeatureRolloutPolicyItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FeatureR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicyCollectionResponse] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: FeatureRolloutPolicy, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicy] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: FeatureRolloutPolicy, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> FeatureRolloutPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FeatureRolloutPoliciesRequestBuilder """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FeatureRolloutPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py index 31df9b8740f..79a41c18505 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppliesT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: DirectoryObject, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: DirectoryObject, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AppliesToRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppliesToRequestBuilder """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppliesToRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py index 5a32587bbfe..fd9e252eaec 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py @@ -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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", 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") @@ -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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py index beb62f0f73d..5b857e18a43 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py @@ -35,7 +35,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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,7 +54,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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py index de8c85ba014..626726080ac 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,7 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = RequestInformation(Method.GET, '{+baseurl}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,7 +124,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref', self.path_parameters) @@ -139,7 +139,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py index 9a6e8d452d6..3d6cdb2b72d 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py @@ -37,7 +37,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("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FeatureR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicy] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: FeatureRolloutPolicy, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicy] """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: FeatureRolloutPolicy, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> FeatureRolloutPolicyItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FeatureRolloutPolicyItemRequestBuilder """ - warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies", DeprecationWarning) + warn("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FeatureRolloutPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 70ff82f190b..340a044831c 100644 --- a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index d5e20d4262c..80446b0372d 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py index 580f37f8811..3adea31a89c 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[InboundF async def post(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InboundFlow]: """ - Create a new inboundFileFlow object. + Create a new inboundApiFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new inboundFileFlow object. + Create a new inboundApiFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py index 7f35c367cb6..c6783172a3f 100644 --- a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index 02687ba1313..997ea95608f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: DecryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferDecryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: DecryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> DecryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index d1df7d87fe1..0cd9bdaa84b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: EncryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferEncryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: EncryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> EncryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EncryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EncryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py index ae1401636bf..7d5da5c4aa5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index a6000d40f66..e985b973c98 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateApplicationPostRequestBody, request_configurat Returns: Optional[EvaluateApplicationPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateApplicationPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateApplicationRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 600e58809b7..45460c52efd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateClassificationResultsPostRequestBody, request_ Returns: Optional[EvaluateClassificationResultsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateClassificationResultsPostRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateClassificationResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateClassificationResultsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateClassificationResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index 874d4d17a76..5a0203dfc48 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateRemovalPostRequestBody, request_configuration: Returns: Optional[EvaluateRemovalPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateRemovalPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateRemovalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateRemovalRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateRemovalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py index 91c31841aff..dc2cc480257 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: ExtractLabelPostRequestBody, request_configuration: Op Returns: Optional[InformationProtectionContentLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: ExtractLabelPostRequestBody, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> ExtractLabelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExtractLabelRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExtractLabelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index 2c342b95775..8caf062acf1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -36,7 +36,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Informat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: InformationProtectionLabel, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: InformationProtectionLabel, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> InformationProtectionLabelItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InformationProtectionLabelItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py index fecd72c8de3..20e4f209d5d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py @@ -43,7 +43,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str param information_protection_label_id: The unique identifier of informationProtectionLabel Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if information_protection_label_id is None: raise TypeError("information_protection_label_id cannot be null.") from .item.information_protection_label_item_request_builder import InformationProtectionLabelItemRequestBuilder @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LabelsRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def post(self,body: InformationProtectionLabel, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -103,7 +103,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -116,7 +116,7 @@ def to_post_request_information(self,body: InformationProtectionLabel, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -131,7 +131,7 @@ def with_url(self,raw_url: str) -> LabelsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LabelsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LabelsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py index 3192f9e04d3..ff7f473a020 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py @@ -37,7 +37,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: InformationProtectionPolicy, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: InformationProtectionPolicy, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py index 358f128f97f..18368316f45 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SignDigestPostRequestBody, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SigningResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: SignDigestPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> SignDigestRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SignDigestRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SignDigestRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py index 967c053395d..9785ab6b6b9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: VerifySignaturePostRequestBody, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VerificationResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: VerifySignaturePostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> VerifySignatureRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VerifySignatureRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VerifySignatureRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index d561b1a43ce..10805e41ed7 100644 --- a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -34,10 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a thread object. + Delete conversationThread. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -98,7 +98,7 @@ async def patch(self,body: ConversationThread, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a thread object. + Delete conversationThread. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py index fe4db105b6b..ee77f0ac79b 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py index e8cf20bd9e7..e4d3bf18c85 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity Returns: Optional[IdentityProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -87,7 +87,7 @@ def with_url(self,raw_url: str) -> IdentityProvidersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityProvidersRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityProvidersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py index 0aaa4aaeaf4..0d12732857d 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-delete-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py index 989a0744bf0..dd38791dae4 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-delete-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-post-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/identityProviders/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = RequestInformation(Method.GET, '{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -127,7 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/identityProviders/$ref', self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py index ee9c21926ed..d9cf437cfb0 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py index 927f5e1ca92..ca9113ca4d2 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py @@ -38,7 +38,7 @@ def by_identity_provider_id(self,identity_provider_id: str) -> IdentityProviderI param identity_provider_id: The unique identifier of identityProvider Returns: IdentityProviderItemRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if identity_provider_id is None: raise TypeError("identity_provider_id cannot be null.") from .item.identity_provider_item_request_builder import IdentityProviderItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity Returns: Optional[IdentityProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,7 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -87,7 +87,7 @@ def with_url(self,raw_url: str) -> IdentityProvidersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityProvidersRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityProvidersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py index 0d02a1a73cd..94aeb729666 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProvider] """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> IdentityProviderItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityProviderItemRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityProviderItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py index b02821f5e64..2d2f72ef2d0 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py @@ -40,7 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FindByMe Returns: Optional[FindByMethodModeWithAuthenticationMethodModesGetResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -73,7 +73,7 @@ def with_url(self,raw_url: str) -> FindByMethodModeWithAuthenticationMethodModes param raw_url: The raw URL to use for the request builder. Returns: FindByMethodModeWithAuthenticationMethodModesRequestBuilder """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindByMethodModeWithAuthenticationMethodModesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py index e0dabebd64d..7a9f603e7ee 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py @@ -54,7 +54,7 @@ def find_by_method_mode_with_authentication_method_modes(self,authentication_met param authentication_method_modes: Usage: authenticationMethodModes={authenticationMethodModes} Returns: FindByMethodModeWithAuthenticationMethodModesRequestBuilder """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if authentication_method_modes is None: raise TypeError("authentication_method_modes cannot be null.") from .find_by_method_mode_with_authentication_method_modes.find_by_method_mode_with_authentication_method_modes_request_builder import FindByMethodModeWithAuthenticationMethodModesRequestBuilder diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py index 0ac4c03313e..ae93257558b 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py @@ -39,7 +39,7 @@ def by_authentication_method_mode_detail_id(self,authentication_method_mode_deta param authentication_method_mode_detail_id: The unique identifier of authenticationMethodModeDetail Returns: AuthenticationMethodModeDetailItemRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if authentication_method_mode_detail_id is None: raise TypeError("authentication_method_mode_detail_id cannot be null.") from .item.authentication_method_mode_detail_item_request_builder import AuthenticationMethodModeDetailItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodModeDetailCollectionResponse] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AuthenticationMethodModeDetail, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodModeDetail] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AuthenticationMethodModeDetail, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AuthenticationMethodModesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationMethodModesRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationMethodModesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py index 92cbc000151..37ded22ffc0 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py index 76970c6c70c..4c053e0bafe 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py @@ -36,7 +36,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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodModeDetail] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AuthenticationMethodModeDetail, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodModeDetail] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AuthenticationMethodModeDetail, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AuthenticationMethodModeDetailItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AuthenticationMethodModeDetailItemRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationMethodModeDetailItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py index 6836ed5a283..e862da6d1c5 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthRoot] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: AuthenticationStrengthRoot, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthRoot] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: AuthenticationStrengthRoot, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> AuthenticationStrengthsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationStrengthsRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationStrengthsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py index 7d3c3e40984..9be376af088 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py index 7eeca5dae5c..b8f37957f33 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py @@ -40,7 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FindByMe Returns: Optional[FindByMethodModeWithAuthenticationMethodModesGetResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -73,7 +73,7 @@ def with_url(self,raw_url: str) -> FindByMethodModeWithAuthenticationMethodModes param raw_url: The raw URL to use for the request builder. Returns: FindByMethodModeWithAuthenticationMethodModesRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindByMethodModeWithAuthenticationMethodModesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py index 5586f1f52b2..6491f7d4f77 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py @@ -39,7 +39,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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicy] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: AuthenticationStrengthPolicy, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicy] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: AuthenticationStrengthPolicy, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AuthenticationStrengthPolicyItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AuthenticationStrengthPolicyItemRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationStrengthPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py index 11abf852c9f..5e944340600 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py @@ -39,7 +39,7 @@ def by_authentication_combination_configuration_id(self,authentication_combinati param authentication_combination_configuration_id: The unique identifier of authenticationCombinationConfiguration Returns: AuthenticationCombinationConfigurationItemRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if authentication_combination_configuration_id is None: raise TypeError("authentication_combination_configuration_id cannot be null.") from .item.authentication_combination_configuration_item_request_builder import AuthenticationCombinationConfigurationItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Combinat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfigurationCollectionResponse] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AuthenticationCombinationConfiguration, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AuthenticationCombinationConfiguratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CombinationConfigurationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CombinationConfigurationsRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CombinationConfigurationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py index 9095f43530e..85546214e70 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py index 192a1058439..23b13936bbc 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py @@ -36,7 +36,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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AuthenticationCombinationConfiguration, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AuthenticationCombinationConfigurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AuthenticationCombinationConfigurationItemReq param raw_url: The raw URL to use for the request builder. Returns: AuthenticationCombinationConfigurationItemRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationCombinationConfigurationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py index 042c391ea8d..5ccfec43ce8 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: UpdateAllowedCombinationsPostRequestBody, request_conf Returns: Optional[UpdateAllowedCombinationsResult] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-beta """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: UpdateAllowedCombinationsPostRequestB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> UpdateAllowedCombinationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UpdateAllowedCombinationsRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UpdateAllowedCombinationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py index 378d2e7231c..d37a6226f28 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[AuthenticationStrengthUsage] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-usage?view=graph-rest-beta """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> UsageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UsageRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UsageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py index 8250dc3e01f..46d7eecdf9c 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py @@ -40,7 +40,7 @@ def by_authentication_strength_policy_id(self,authentication_strength_policy_id: param authentication_strength_policy_id: The unique identifier of authenticationStrengthPolicy Returns: AuthenticationStrengthPolicyItemRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if authentication_strength_policy_id is None: raise TypeError("authentication_strength_policy_id cannot be null.") from .item.authentication_strength_policy_item_request_builder import AuthenticationStrengthPolicyItemRequestBuilder @@ -55,7 +55,7 @@ def find_by_method_mode_with_authentication_method_modes(self,authentication_met param authentication_method_modes: Usage: authenticationMethodModes={authenticationMethodModes} Returns: FindByMethodModeWithAuthenticationMethodModesRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if authentication_method_modes is None: raise TypeError("authentication_method_modes cannot be null.") from .find_by_method_mode_with_authentication_method_modes.find_by_method_mode_with_authentication_method_modes_request_builder import FindByMethodModeWithAuthenticationMethodModesRequestBuilder @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Policies param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicyCollectionResponse] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -90,7 +90,7 @@ async def post(self,body: AuthenticationStrengthPolicy, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicy] """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_post_request_information(self,body: AuthenticationStrengthPolicy, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> PoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PoliciesRequestBuilder """ - warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove", DeprecationWarning) + warn("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_request_builder.py index 34ee51aad1e..cd15fd48ecd 100644 --- a/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: EvaluatePostRequestBody, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluatePostResponse] """ - warn("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation", DeprecationWarning) + warn("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation on 2024-07-25 and will be removed 2025-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: EvaluatePostRequestBody, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation", DeprecationWarning) + warn("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation on 2024-07-25 and will be removed 2025-02-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> EvaluateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateRequestBuilder """ - warn("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation", DeprecationWarning) + warn("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation on 2024-07-25 and will be removed 2025-02-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index e449277341e..72c77eed3a0 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a namedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py b/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py index 9d8155b00db..602400bb3a9 100644 --- a/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py @@ -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("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-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") @@ -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("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py b/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py index 16830bcd6e3..e92f854019c 100644 --- a/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py +++ b/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/identityuserflow-delete?view=graph-rest-beta """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity Returns: Optional[IdentityUserFlow] Find more info here: https://learn.microsoft.com/graph/api/identityuserflow-get?view=graph-rest-beta """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: IdentityUserFlow, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlow] """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-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") @@ -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("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: IdentityUserFlow, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> IdentityUserFlowItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityUserFlowItemRequestBuilder """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityUserFlowItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py b/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py index a24923874cc..4ab6a794d27 100644 --- a/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py +++ b/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py @@ -39,7 +39,7 @@ def by_identity_user_flow_id(self,identity_user_flow_id: str) -> IdentityUserFlo param identity_user_flow_id: The unique identifier of identityUserFlow Returns: IdentityUserFlowItemRequestBuilder """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if identity_user_flow_id is None: raise TypeError("identity_user_flow_id cannot be null.") from .item.identity_user_flow_item_request_builder import IdentityUserFlowItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserFlow Returns: Optional[IdentityUserFlowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityuserflow-list?view=graph-rest-beta """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: IdentityUserFlow, request_configuration: Optional[Requ Returns: Optional[IdentityUserFlow] Find more info here: https://learn.microsoft.com/graph/api/identityuserflow-post-userflows?view=graph-rest-beta """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: IdentityUserFlow, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> UserFlowsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserFlowsRequestBuilder """ - warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserFlowsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py index 694b538bcc6..f93b6749663 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_assignment_policy_id(self,access_package_assignment_policy param access_package_assignment_policy_id: The unique identifier of accessPackageAssignmentPolicy Returns: AccessPackageAssignmentPolicyItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_assignment_policy_id is None: raise TypeError("access_package_assignment_policy_id cannot be null.") from .item.access_package_assignment_policy_item_request_builder import AccessPackageAssignmentPolicyItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentpolicies?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: AccessPackageAssignmentPolicy, request_configuration: Returns: Optional[AccessPackageAssignmentPolicy] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackageassignmentpolicies?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentPolicy, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPoliciesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPoliciesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py index 6c5a828f46f..3b7c7db0af6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py index 9634f7ba016..b3bd74fc87c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py index 983c1e7e933..0948f7b96c9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py @@ -41,7 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-delete?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,7 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentPolicy] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-get?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -84,7 +84,7 @@ async def put(self,body: AccessPackageAssignmentPolicy, request_configuration: O Returns: Optional[AccessPackageAssignmentPolicy] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-update?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -107,7 +107,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -119,7 +119,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -132,7 +132,7 @@ def to_put_request_information(self,body: AccessPackageAssignmentPolicy, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -147,7 +147,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPolicyItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPolicyItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py index d76c63c5a24..f4b016b8ecf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py index c6b3a4db8cd..bd712dee514 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py index e1eae6849ac..ad4d10e61b2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_handler_id(self,custom_extension_handler_id: str) -> Cus param custom_extension_handler_id: The unique identifier of customExtensionHandler Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_handler_id is None: raise TypeError("custom_extension_handler_id cannot be null.") from .item.custom_extension_handler_item_request_builder import CustomExtensionHandlerItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandlerCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionHandler, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionHandler, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlersRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index 323a95c844e..e315d28e765 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 88b5f02bc52..63598c0a21e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionHandler, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionHandler, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index baf9f194eb7..47903568731 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index ffd5c171683..d8e9162d98d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_stage_setting_id(self,custom_extension_stage_setting_id: param custom_extension_stage_setting_id: The unique identifier of customExtensionStageSetting Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_stage_setting_id is None: raise TypeError("custom_extension_stage_setting_id cannot be null.") from .item.custom_extension_stage_setting_item_request_builder import CustomExtensionStageSettingItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSettingCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionStageSetting, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionStageSetting, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 9d5c30bc9f4..de9e8832b90 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index 9cd360d61a4..175b89e5172 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionStageSetting, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionStageSetting, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py index c267c031990..78251b5faa2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py @@ -40,7 +40,7 @@ def by_access_package_assignment_request_id(self,access_package_assignment_reque param access_package_assignment_request_id: The unique identifier of accessPackageAssignmentRequest Returns: AccessPackageAssignmentRequestItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_assignment_request_id is None: raise TypeError("access_package_assignment_request_id cannot be null.") from .item.access_package_assignment_request_item_request_builder import AccessPackageAssignmentRequestItemRequestBuilder @@ -55,7 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentrequests?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -92,7 +92,7 @@ async def post(self,body: AccessPackageAssignmentRequest, request_configuration: Returns: Optional[AccessPackageAssignmentRequest] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackageassignmentrequests?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentRequest, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py index 0a607fcb07d..8a866e00886 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 392a6aede43..2dbb04f5e7b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,7 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,7 +61,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -73,7 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py index 1581cc19c24..d34cd36f5ef 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py index ab5b701bfca..f9d606b3a5c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py index af79565cf7b..60a241aef64 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py @@ -43,7 +43,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-delete?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentRequest] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-get?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -85,7 +85,7 @@ async def patch(self,body: AccessPackageAssignmentRequest, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -108,7 +108,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -120,7 +120,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -133,7 +133,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentRequest, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -148,7 +148,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py index 8a898418ab1..59fe7273eea 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py index 39f7167e0d0..d84c2d304fc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> ReprocessRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py index 228568b51ff..bbdaf62a328 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py index febe040474f..b49b4b7a484 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Requesto param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> RequestorRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RequestorRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RequestorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py index 5eae66caece..77cf5c0370f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> ResumeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResumeRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py index fdde961b515..80da6e38781 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_assignment_policy_id(self,access_package_assignment_policy param access_package_assignment_policy_id: The unique identifier of accessPackageAssignmentPolicy Returns: AccessPackageAssignmentPolicyItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_assignment_policy_id is None: raise TypeError("access_package_assignment_policy_id cannot be null.") from .item.access_package_assignment_policy_item_request_builder import AccessPackageAssignmentPolicyItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicyCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageAssignmentPolicy, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentPolicy, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPoliciesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPoliciesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py index bc78f9190b4..f1f706bb8ec 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py index c9fc2d34fb2..16aa3b442d4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py index aa5f27d27e9..1c72ad92598 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py @@ -40,7 +40,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: AccessPackageAssignmentPolicy, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentPolicy, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPolicyItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPolicyItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py index 162995e8193..0f32af74976 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py index 0916eb6a947..c73dcb98925 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py index b91b69e80f5..e997e0aa5fb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_handler_id(self,custom_extension_handler_id: str) -> Cus param custom_extension_handler_id: The unique identifier of customExtensionHandler Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_handler_id is None: raise TypeError("custom_extension_handler_id cannot be null.") from .item.custom_extension_handler_item_request_builder import CustomExtensionHandlerItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandlerCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionHandler, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionHandler, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlersRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index c0445e9dea4..ecc6c3d1897 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 9ab31d4bfbb..ff849d0eb6b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionHandler, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionHandler, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 183ee3a021c..576a5293cd0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index 34510445db1..c3859ea380a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_stage_setting_id(self,custom_extension_stage_setting_id: param custom_extension_stage_setting_id: The unique identifier of customExtensionStageSetting Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_stage_setting_id is None: raise TypeError("custom_extension_stage_setting_id cannot be null.") from .item.custom_extension_stage_setting_item_request_builder import CustomExtensionStageSettingItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSettingCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionStageSetting, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionStageSetting, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 6c103682d59..1354cd1efd4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index d3cd2f1a436..6cccd5ffcf2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionStageSetting, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionStageSetting, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py index 8977a5596eb..1015e279f6a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py index 5272e988dae..f7726e7340f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py index d59ebd542af..7725ed69c20 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py @@ -40,7 +40,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: AccessPackageAssignmentPolicy, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentPolicy, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPolicyRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py index c8a5e4aecad..5f933a0c329 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py index 483c3eab92b..f86d6358bce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py index 0aa0953b9e1..b97d9dc952a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_handler_id(self,custom_extension_handler_id: str) -> Cus param custom_extension_handler_id: The unique identifier of customExtensionHandler Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_handler_id is None: raise TypeError("custom_extension_handler_id cannot be null.") from .item.custom_extension_handler_item_request_builder import CustomExtensionHandlerItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandlerCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionHandler, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionHandler, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlersRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index eaa7160098a..d1bcb4acf13 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 0b0c31e4231..e98594cf97e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionHandler, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionHandler, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py index a2c95628c8d..b68299ffb83 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index 3e04bec4176..b29b0315478 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_stage_setting_id(self,custom_extension_stage_setting_id: param custom_extension_stage_setting_id: The unique identifier of customExtensionStageSetting Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_stage_setting_id is None: raise TypeError("custom_extension_stage_setting_id cannot be null.") from .item.custom_extension_stage_setting_item_request_builder import CustomExtensionStageSettingItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSettingCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionStageSetting, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionStageSetting, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 34e62b798a0..e6980b5ccdd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index a6558d2a051..24747b1fbd8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionStageSetting, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionStageSetting, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py index e0a9c7d02a4..d8a83771c07 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py @@ -40,7 +40,7 @@ def by_access_package_assignment_request_id(self,access_package_assignment_reque param access_package_assignment_request_id: The unique identifier of accessPackageAssignmentRequest Returns: AccessPackageAssignmentRequestItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_assignment_request_id is None: raise TypeError("access_package_assignment_request_id cannot be null.") from .item.access_package_assignment_request_item_request_builder import AccessPackageAssignmentRequestItemRequestBuilder @@ -55,7 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequestCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -90,7 +90,7 @@ async def post(self,body: AccessPackageAssignmentRequest, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentRequest, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py index 0da806853be..9d92aed36f7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index b0755e256d5..e3b0ec7da62 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,7 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,7 +61,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -73,7 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py index 6426429a2f7..7c85f0b5ce5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py index 4d063e7a409..bbed58af5d9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py index 9c92508da7a..8012ecda504 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py @@ -42,7 +42,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,7 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,7 +83,7 @@ async def patch(self,body: AccessPackageAssignmentRequest, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,7 +106,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -118,7 +118,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -131,7 +131,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentRequest, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,7 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py index 4cb13eb5692..9d77d972753 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py index 1a4f9c754ce..93142f86ca5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> ReprocessRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py index a34b42b11cb..5d247955fbf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py index 7884173b6ed..4d07ad6138a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Requesto param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> RequestorRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RequestorRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RequestorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py index 44e67016ada..7741486167d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> ResumeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResumeRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py index e7abd117063..505d6ecdd8b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py @@ -40,7 +40,7 @@ def by_access_package_catalog_id(self,access_package_catalog_id: str) -> AccessP param access_package_catalog_id: The unique identifier of accessPackageCatalog Returns: AccessPackageCatalogItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_catalog_id is None: raise TypeError("access_package_catalog_id cannot be null.") from .item.access_package_catalog_item_request_builder import AccessPackageCatalogItemRequestBuilder @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageCatalogCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackagecatalogs?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def post(self,body: AccessPackageCatalog, request_configuration: Optional[ Returns: Optional[AccessPackageCatalog] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackagecatalogs?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -102,7 +102,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -115,7 +115,7 @@ def to_post_request_information(self,body: AccessPackageCatalog, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -130,7 +130,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py index 75da5ce70e6..7ce728814f8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py index b4f3a362940..e39f59d447f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py @@ -43,7 +43,7 @@ def access_packages_with_unique_name(self,unique_name: str) -> AccessPackagesWit param unique_name: Alternate key of accessPackage Returns: AccessPackagesWithUniqueNameRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if unique_name is None: raise TypeError("unique_name cannot be null.") from .access_packages_with_unique_name.access_packages_with_unique_name_request_builder import AccessPackagesWithUniqueNameRequestBuilder @@ -57,7 +57,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-delete?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageCatalog] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-get?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -100,7 +100,7 @@ async def patch(self,body: AccessPackageCatalog, request_configuration: Optional Returns: Optional[AccessPackageCatalog] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-update?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -123,7 +123,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -135,7 +135,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: AccessPackageCatalog, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -163,7 +163,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py index 659517f8612..8626ee316e9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py @@ -39,7 +39,7 @@ def by_custom_callout_extension_id(self,custom_callout_extension_id: str) -> Cus param custom_callout_extension_id: The unique identifier of customCalloutExtension Returns: CustomCalloutExtensionItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_callout_extension_id is None: raise TypeError("custom_callout_extension_id cannot be null.") from .item.custom_callout_extension_item_request_builder import CustomCalloutExtensionItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[CustomCalloutExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackagecustomworkflowextensions?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: CustomCalloutExtension, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: CustomCalloutExtension, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> AccessPackageCustomWorkflowExtensionsRequestB param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCustomWorkflowExtensionsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCustomWorkflowExtensionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py index 36c7688a049..eb14d884156 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index f29e732f050..fbd8e241e24 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -36,7 +36,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomCa Returns: Optional[CustomCalloutExtension] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: CustomCalloutExtension, request_configuration: Option Returns: Optional[CustomCalloutExtension] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: CustomCalloutExtension, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> CustomCalloutExtensionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomCalloutExtensionItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomCalloutExtensionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py index 1c66873b71e..1b073f83a90 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageResourceRoleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresourceroles?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py index 22e14bd5462..2d4c6f96ac1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index b69c6450b6a..c1f690bc1ff 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 8a00d6be88f..f824be1d2fa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -40,7 +40,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 684dea660e1..476077e897f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_role_id1(self,access_package_resource_role_id1: s param access_package_resource_role_id1: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_role_id1 is None: raise TypeError("access_package_resource_role_id1 cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 30b09648ee9..3a22947a554 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 80ede2c72c2..8e6b7772028 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,7 +36,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index fd2b703e351..0e7aa8446fb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 96e4dd0d7c2..21612df72c5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 9bb40002a5c..c91649dbccd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 0121fda3522..898723008af 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -39,7 +39,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 1fa85b69db0..8f8a2111432 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_role_id1(self,access_package_resource_role_id1: s param access_package_resource_role_id1: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_role_id1 is None: raise TypeError("access_package_resource_role_id1 cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 3c2716c4d81..ede668cefa1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 63fd7531196..5035ba735fe 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,7 +36,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 05965b8d556..8e2d3e4df66 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index f9d15c15251..8e3004ff8e4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 20e86079955..0311a487636 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index ef9d18a90db..0f3157eb98b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index e5dafa76c8a..e4e273b56f8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py index b45096ec465..8d06d4b415f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index c89dbf325eb..cb8379791cf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 58cd0ddaa9a..c79531cb0e1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -40,7 +40,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index e1817b96ec4..d4fce18c34d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 9f36fec8e64..4e76ec24dd3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index cde9f59e154..2310f00c9f8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 3bffa529d29..fffc2d7bb38 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -39,7 +39,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 39d221bee67..7b46a666f7b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_scope_id1(self,access_package_resource_scope_id1: param access_package_resource_scope_id1: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_scope_id1 is None: raise TypeError("access_package_resource_scope_id1 cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 7aa67882168..52c891874c6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 59432a4e803..a9ba0770543 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,7 +36,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index a382fecba80..6965ec1110a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 2a4a36819a0..60a2824433f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 91876758c78..d0a1267eab6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_scope_id1(self,access_package_resource_scope_id1: param access_package_resource_scope_id1: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_scope_id1 is None: raise TypeError("access_package_resource_scope_id1 cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index ee1a981be9b..6323def6021 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index be2d5108d2e..a552cbbaa44 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,7 +36,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 20834f3e548..850ed5e8ae4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 11595e94b33..be424bfcfb9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py index b34df5d4ec9..48f1d49d528 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_id(self,access_package_resource_id: str) -> Acces param access_package_resource_id: The unique identifier of accessPackageResource Returns: AccessPackageResourceItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_id is None: raise TypeError("access_package_resource_id cannot be null.") from .item.access_package_resource_item_request_builder import AccessPackageResourceItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresources?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: AccessPackageResource, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: AccessPackageResource, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourcesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py index 92652b4b913..3c323804ffd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py index 4307c2c842f..5cbfad789f4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py index 78a0e3ed6c6..a2bae0d37fb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py @@ -40,7 +40,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py index 83f73e2c19e..ab64313efcc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py index a1d7df0c78e..c2b83436bc9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 1715c5dbe51..a4fd589fec7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index b5f059526dc..619927bcf4b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -39,7 +39,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 8a7d554a88e..bdb1aefe0a0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 13a0fb0db1f..6d330cd342b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 0fc71c38c28..44e42aceebf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 8dd2cf30a04..f20e63c02fc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 14ea2586df3..2f5e9ef2fed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 2ae6bdc34b6..68905ace948 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 28b6cecf0b2..c8039b5c9f3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index d1814a82c3d..af3ad7252b3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 50d7daa78f7..aa818e2f1c8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py index 823a8b4f466..6ff42fbae26 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index a27a4568061..d57625f3264 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index d2423f0dc77..be62afc0975 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -39,7 +39,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 40548f94c62..561be6d244b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index a70e6930d83..f41a5763291 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index ef94be22eb9..323b24c87be 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 298c634ed6f..39ab0bdbf8f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index fb5cf0b3da7..921991a0878 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 382dd21c2ee..2e4bfd31369 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 4f2fbca2e51..f4a144d835c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 4658a9ed1f2..0c01c413de3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py index 35362b299ac..6e742e0a270 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py index a43d783dea9..7487fb4a8c6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py @@ -38,7 +38,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques param access_package_id: The unique identifier of accessPackage Returns: AccessPackageItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_id is None: raise TypeError("access_package_id cannot be null.") from .item.access_package_item_request_builder import AccessPackageItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> AccessPackagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py index b745e6c7b05..6aabb0a2a1e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py index 7d536e63e27..236241a8851 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py index 3b7d39cdc67..8d3b3771bdb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py @@ -39,7 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,7 +60,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -72,7 +72,7 @@ def with_url(self,raw_url: str) -> AccessPackagesWithUniqueNameRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesWithUniqueNameRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesWithUniqueNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py index 52cb6cc7a46..6058c940428 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py index 74ff28441fc..4bec8df7ad3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py @@ -39,7 +39,7 @@ def by_custom_access_package_workflow_extension_id(self,custom_access_package_wo param custom_access_package_workflow_extension_id: The unique identifier of customAccessPackageWorkflowExtension Returns: CustomAccessPackageWorkflowExtensionItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_access_package_workflow_extension_id is None: raise TypeError("custom_access_package_workflow_extension_id cannot be null.") from .item.custom_access_package_workflow_extension_item_request_builder import CustomAccessPackageWorkflowExtensionItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomAc Returns: Optional[CustomAccessPackageWorkflowExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-customaccesspackageworkflowextensions?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: CustomAccessPackageWorkflowExtension, request_configur Returns: Optional[CustomAccessPackageWorkflowExtension] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-post-customaccesspackageworkflowextensions?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: CustomAccessPackageWorkflowExtension, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> CustomAccessPackageWorkflowExtensionsRequestB param raw_url: The raw URL to use for the request builder. Returns: CustomAccessPackageWorkflowExtensionsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomAccessPackageWorkflowExtensionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 5f3ef898ea6..79a386dfa6e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomAc Returns: Optional[CustomAccessPackageWorkflowExtension] Find more info here: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-get?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: CustomAccessPackageWorkflowExtension, request_configu Returns: Optional[CustomAccessPackageWorkflowExtension] Find more info here: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-update?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: CustomAccessPackageWorkflowExtension param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> CustomAccessPackageWorkflowExtensionItemReque param raw_url: The raw URL to use for the request builder. Returns: CustomAccessPackageWorkflowExtensionItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomAccessPackageWorkflowExtensionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py index ca9d6a44dc7..e8f1b848504 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SearchRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SearchGetResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> SearchRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SearchRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SearchRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs_with_unique_name/access_package_catalogs_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs_with_unique_name/access_package_catalogs_with_unique_name_request_builder.py index c20092994ca..2cc3f224b52 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs_with_unique_name/access_package_catalogs_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs_with_unique_name/access_package_catalogs_with_unique_name_request_builder.py @@ -40,7 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-delete?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,7 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageCatalog] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-get?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,7 +83,7 @@ async def patch(self,body: AccessPackageCatalog, request_configuration: Optional Returns: Optional[AccessPackageCatalog] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-update?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,7 +106,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -118,7 +118,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -131,7 +131,7 @@ def to_patch_request_information(self,body: AccessPackageCatalog, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,7 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogsWithUniqueNameRequestBui param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogsWithUniqueNameRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogsWithUniqueNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py index d08526e692d..aaa1b4e5f28 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py @@ -39,7 +39,7 @@ def by_access_package_assignment_policy_id(self,access_package_assignment_policy param access_package_assignment_policy_id: The unique identifier of accessPackageAssignmentPolicy Returns: AccessPackageAssignmentPolicyItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_assignment_policy_id is None: raise TypeError("access_package_assignment_policy_id cannot be null.") from .item.access_package_assignment_policy_item_request_builder import AccessPackageAssignmentPolicyItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicyCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: AccessPackageAssignmentPolicy, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentPolicy, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPoliciesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPoliciesRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py index 2143f42f1c2..2219a9deb27 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py index 1fbc59537dc..08e7c13fa32 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py index b39ae3da371..a992a469db3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py @@ -40,7 +40,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: AccessPackageAssignmentPolicy, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentPolicy, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentPolicyItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentPolicyItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py index df6231edfad..404cddcd492 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py index 0343ac69a88..b2b300b7446 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py index c80ce1e1b27..1bd788124ff 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_handler_id(self,custom_extension_handler_id: str) -> Cus param custom_extension_handler_id: The unique identifier of customExtensionHandler Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_handler_id is None: raise TypeError("custom_extension_handler_id cannot be null.") from .item.custom_extension_handler_item_request_builder import CustomExtensionHandlerItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandlerCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionHandler, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionHandler, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlersRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index 4276d6a3d7a..05e30028b5e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 73e75115aef..8b878ae7420 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionHandler, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionHandler] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionHandler, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionHandlerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionHandlerItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionHandlerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 01cbb265284..9ecfc796f79 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index 615470fc88a..f4cdff7fac4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -39,7 +39,7 @@ def by_custom_extension_stage_setting_id(self,custom_extension_stage_setting_id: param custom_extension_stage_setting_id: The unique identifier of customExtensionStageSetting Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if custom_extension_stage_setting_id is None: raise TypeError("custom_extension_stage_setting_id cannot be null.") from .item.custom_extension_stage_setting_item_request_builder import CustomExtensionStageSettingItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSettingCollectionResponse] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CustomExtensionStageSetting, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CustomExtensionStageSetting, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index fa09ce2501c..4c718669081 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> CustomExtensionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index f62a459b3ee..379105edee2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomEx param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: CustomExtensionStageSetting, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomExtensionStageSetting] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: CustomExtensionStageSetting, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> CustomExtensionStageSettingItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: CustomExtensionStageSettingItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomExtensionStageSettingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py index 2fce2b2d527..6c5a5e340b9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageCatalogRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 77fd9ddf1e9..11a43b1f369 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -72,10 +72,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -128,7 +128,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -244,7 +244,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py index 870ae695cfb..4cd8c04b3d0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -174,7 +174,7 @@ class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConfiguration(Reque @dataclass class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.py index bfe97a25fc0..b64bb1cb55f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.py @@ -40,7 +40,7 @@ def by_access_package_assignment_request_id(self,access_package_assignment_reque param access_package_assignment_request_id: The unique identifier of accessPackageAssignmentRequest Returns: AccessPackageAssignmentRequestItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if access_package_assignment_request_id is None: raise TypeError("access_package_assignment_request_id cannot be null.") from .item.access_package_assignment_request_item_request_builder import AccessPackageAssignmentRequestItemRequestBuilder @@ -55,7 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme Returns: Optional[AccessPackageAssignmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-assignmentrequests?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -92,7 +92,7 @@ async def post(self,body: AccessPackageAssignmentRequest, request_configuration: Returns: Optional[AccessPackageAssignmentRequest] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-assignmentrequests?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -115,7 +115,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -128,7 +128,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentRequest, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> AssignmentRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AssignmentRequestsRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignmentRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py index ff18c968d1c..3a60988c2b0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 8bcddf04a78..9ca8ce39613 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,7 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,7 +61,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -73,7 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package/access_package_request_builder.py index 174698e0472..e67dbb2f728 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package/access_package_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py index d15b390fce8..b8eae822d2e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.py index 51795b4d838..5b7a3a33606 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.py @@ -42,7 +42,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,7 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,7 +83,7 @@ async def patch(self,body: AccessPackageAssignmentRequest, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,7 +106,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -118,7 +118,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -131,7 +131,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentRequest, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,7 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentRequestItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentRequestItemRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/cancel/cancel_request_builder.py index 25a98cc1874..f576b5fb9a3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/cancel/cancel_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/reprocess/reprocess_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/reprocess/reprocess_request_builder.py index 8bd1cad524f..671576f7697 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/reprocess/reprocess_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/reprocess/reprocess_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> ReprocessRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py index 6ec2e5d6534..e6a4ab8e081 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/requestor_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/requestor_request_builder.py index 2c9d7ab4145..4fe885eb1e2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/requestor_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/requestor/requestor_request_builder.py @@ -37,7 +37,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(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Requesto param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> RequestorRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RequestorRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RequestorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_request_builder.py index c0528025ed8..5cebf8d5225 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-beta """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> ResumeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResumeRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py index bb601d6ab4b..2b96305032c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py @@ -54,7 +54,7 @@ def access_package_catalogs_with_unique_name(self,unique_name: str) -> AccessPac param unique_name: Alternate key of accessPackageCatalog Returns: AccessPackageCatalogsWithUniqueNameRequestBuilder """ - warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) + warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if unique_name is None: raise TypeError("unique_name cannot be null.") from .access_package_catalogs_with_unique_name.access_package_catalogs_with_unique_name_request_builder import AccessPackageCatalogsWithUniqueNameRequestBuilder diff --git a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py index d1fb69c29e2..a8f690d99f1 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetection]: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetection] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class RiskDetectionItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class RiskDetectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py b/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py index d65838816aa..4d0170423f4 100644 --- a/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py +++ b/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Availabl Returns: Optional[AvailableProviderTypesGetResponse] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-list-availableprovidertypes?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> AvailableProviderTypesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AvailableProviderTypesRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AvailableProviderTypesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity_providers/count/count_request_builder.py index 602e4be0788..4849c46bb2c 100644 --- a/msgraph_beta/generated/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_providers/count/count_request_builder.py @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -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("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py index 960e175fcb0..12eb0e07a8b 100644 --- a/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py @@ -40,7 +40,7 @@ def by_identity_provider_id(self,identity_provider_id: str) -> IdentityProviderI param identity_provider_id: The unique identifier of identityProvider Returns: IdentityProviderItemRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if identity_provider_id is None: raise TypeError("identity_provider_id cannot be null.") from .item.identity_provider_item_request_builder import IdentityProviderItemRequestBuilder @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity Returns: Optional[IdentityProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-list?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def post(self,body: IdentityProvider, request_configuration: Optional[Requ Returns: Optional[IdentityProvider] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-post-identityproviders?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -115,7 +115,7 @@ def to_post_request_information(self,body: IdentityProvider, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -130,7 +130,7 @@ def with_url(self,raw_url: str) -> IdentityProvidersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityProvidersRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityProvidersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py b/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py index 370b062e433..bf9c93575c2 100644 --- a/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py +++ b/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/identityprovider-delete?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity Returns: Optional[IdentityProvider] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-get?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: IdentityProvider, request_configuration: Optional[Req Returns: Optional[IdentityProvider] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-update?view=graph-rest-beta """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: IdentityProvider, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> IdentityProviderItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityProviderItemRequestBuilder """ - warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning) + warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityProviderItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index 9671b98cadf..3fd4a752b7f 100644 --- a/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: DecryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferDecryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: DecryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> DecryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index a0a004a0c6a..29d00c1bf4b 100644 --- a/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: EncryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferEncryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: EncryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> EncryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EncryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EncryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py index 0c29524a737..9ed69d050ed 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index 5a551a8184f..e3bd62a34b7 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateApplicationPostRequestBody, request_configurat Returns: Optional[EvaluateApplicationPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateApplicationPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateApplicationRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index e6b436cdb9b..f04b5f0f26b 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateClassificationResultsPostRequestBody, request_ Returns: Optional[EvaluateClassificationResultsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateClassificationResultsPostRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateClassificationResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateClassificationResultsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateClassificationResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index 8de31eb52f8..adfd427c84d 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateRemovalPostRequestBody, request_configuration: Returns: Optional[EvaluateRemovalPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateRemovalPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateRemovalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateRemovalRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateRemovalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py index 661a8131a1b..8acdc4e3e9e 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: ExtractLabelPostRequestBody, request_configuration: Op Returns: Optional[InformationProtectionContentLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: ExtractLabelPostRequestBody, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> ExtractLabelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExtractLabelRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExtractLabelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index d8d4edcb556..f06c31d3df0 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -36,7 +36,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Informat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: InformationProtectionLabel, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: InformationProtectionLabel, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> InformationProtectionLabelItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InformationProtectionLabelItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py index c88bb6c6afc..3740b33038a 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py @@ -43,7 +43,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str param information_protection_label_id: The unique identifier of informationProtectionLabel Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if information_protection_label_id is None: raise TypeError("information_protection_label_id cannot be null.") from .item.information_protection_label_item_request_builder import InformationProtectionLabelItemRequestBuilder @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LabelsRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def post(self,body: InformationProtectionLabel, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -103,7 +103,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -116,7 +116,7 @@ def to_post_request_information(self,body: InformationProtectionLabel, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -131,7 +131,7 @@ def with_url(self,raw_url: str) -> LabelsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LabelsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LabelsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/information_protection/policy/policy_request_builder.py index 82a59a97551..6b48f5ac8d8 100644 --- a/msgraph_beta/generated/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/policy_request_builder.py @@ -37,7 +37,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: InformationProtectionPolicy, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: InformationProtectionPolicy, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py index 030a0c7d68a..dba23e7cfe5 100644 --- a/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SignDigestPostRequestBody, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SigningResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: SignDigestPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> SignDigestRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SignDigestRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SignDigestRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py index b2845645623..dbbe10f0945 100644 --- a/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: VerifySignaturePostRequestBody, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VerificationResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: VerifySignaturePostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> VerifySignatureRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VerifySignatureRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VerifySignatureRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index e09cf385716..5d694d1a1e1 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -56645,6 +56645,7 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBu msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_bulk_action_status_report:RetrieveBulkActionStatusReportRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_cloud_pc_tenant_metrics_report:RetrieveCloudPcTenantMetricsReportRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_cloud_pc_troubleshoot_reports:RetrieveCloudPcTroubleshootReportsRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_connection_quality_reports:RetrieveConnectionQualityReportsRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_cross_region_disaster_recovery_report:RetrieveCrossRegionDisasterRecoveryReportRequestBuilder @@ -56685,6 +56686,39 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActi msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|to_post_request_information(body:RetrieveBulkActionStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|with_url(raw_url:str):RetrieveBulkActionStatusReportRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|filter():str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|filter(value:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|group_by():list[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|group_by(value:list[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|order_by():list[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|order_by(value:list[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|report_name():CloudPCPerformanceReportName +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|report_name(value:CloudPCPerformanceReportName):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|search():str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|search(value:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|select():list[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|select(value:list[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|skip():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|skip(value:int):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|top():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|public|top(value:int):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveCloudPcTenantMetricsReportPostRequestBody +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder.RetrieveCloudPcTenantMetricsReportRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|post(body:RetrieveCloudPcTenantMetricsReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):bytes +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|to_post_request_information(body:RetrieveCloudPcTenantMetricsReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder::|public|with_url(raw_url:str):RetrieveCloudPcTenantMetricsReportRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.RetrieveCloudPcTroubleshootReportsPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.RetrieveCloudPcTroubleshootReportsPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.RetrieveCloudPcTroubleshootReportsPostRequestBody::|public|backing_store:BackingStore @@ -168744,6 +168778,8 @@ msgraph_beta.generated.models.CloudPcConnectionSettings::|public|serialize(write msgraph_beta.generated.models.CloudPcConnectionSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcConnectionSettings msgraph_beta.generated.models.CloudPcConnectionSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.CloudPcConnectionSetting~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.CloudPcConnectivityEvent::|public|activity_id():str +msgraph_beta.generated.models.CloudPcConnectivityEvent::|public|activity_id(value:str):None msgraph_beta.generated.models.CloudPcConnectivityEvent::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.CloudPcConnectivityEvent::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.CloudPcConnectivityEvent::|public|backing_store:BackingStore @@ -168898,6 +168934,8 @@ msgraph_beta.generated.models.CloudPcDeviceImageErrorCode::0006-VmAlreadyAzureAd msgraph_beta.generated.models.CloudPcDeviceImageErrorCode::0007-PaidSourceImageNotSupport msgraph_beta.generated.models.CloudPcDeviceImageErrorCode::0008-SourceImageNotSupportCustomizeVMName msgraph_beta.generated.models.CloudPcDeviceImageErrorCode::0009-SourceImageSizeExceedsLimitation +msgraph_beta.generated.models.CloudPcDeviceImageErrorCode::0010-SourceImageWithDataDiskNotSupported +msgraph_beta.generated.models.CloudPcDeviceImageErrorCode::0011-SourceImageWithDiskEncryptionSetNotSupported msgraph_beta.generated.models.CloudPcDeviceImageOsStatus::0000-Supported msgraph_beta.generated.models.CloudPcDeviceImageOsStatus::0001-SupportedWithWarning msgraph_beta.generated.models.CloudPcDeviceImageOsStatus::0002-Unknown @@ -168906,6 +168944,7 @@ msgraph_beta.generated.models.CloudPcDeviceImageStatus::0000-Pending msgraph_beta.generated.models.CloudPcDeviceImageStatus::0001-Ready msgraph_beta.generated.models.CloudPcDeviceImageStatus::0002-Failed msgraph_beta.generated.models.CloudPcDeviceImageStatus::0003-UnknownFutureValue +msgraph_beta.generated.models.CloudPcDeviceImageStatus::0004-Warning msgraph_beta.generated.models.CloudPcDeviceImageStatusDetails::0000-InternalServerError msgraph_beta.generated.models.CloudPcDeviceImageStatusDetails::0001-SourceImageNotFound msgraph_beta.generated.models.CloudPcDeviceImageStatusDetails::0002-OsVersionNotSupported @@ -169180,6 +169219,7 @@ msgraph_beta.generated.models.CloudPcHealthCheckItem~~>AdditionalDataHolder; Bac msgraph_beta.generated.models.CloudPCInaccessibleReportName::0000-InaccessibleCloudPcReports msgraph_beta.generated.models.CloudPCInaccessibleReportName::0001-InaccessibleCloudPcTrendReport msgraph_beta.generated.models.CloudPCInaccessibleReportName::0002-UnknownFutureValue +msgraph_beta.generated.models.CloudPCInaccessibleReportName::0003-RegionalInaccessibleCloudPcTrendReport msgraph_beta.generated.models.CloudPcLaunchInfo::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.CloudPcLaunchInfo::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.CloudPcLaunchInfo::|public|backing_store:BackingStore @@ -169498,6 +169538,7 @@ msgraph_beta.generated.models.CloudPcPartnerAgentName::0002-VMware msgraph_beta.generated.models.CloudPcPartnerAgentName::0003-Hp msgraph_beta.generated.models.CloudPCPerformanceReportName::0000-PerformanceTrendReport msgraph_beta.generated.models.CloudPCPerformanceReportName::0001-UnknownFutureValue +msgraph_beta.generated.models.CloudPCPerformanceReportName::0002-CloudPcInsightReport msgraph_beta.generated.models.CloudPcPolicyApplyActionResult-->Entity msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|constructor():None msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|finish_date_time():datetime.datetime @@ -169730,6 +169771,8 @@ msgraph_beta.generated.models.CloudPcReportName::0021-TroubleshootDetailsReport msgraph_beta.generated.models.CloudPcReportName::0022-TroubleshootTrendCountReport msgraph_beta.generated.models.CloudPcReportName::0023-TroubleshootRegionalReport msgraph_beta.generated.models.CloudPcReportName::0024-TroubleshootIssueCountReport +msgraph_beta.generated.models.CloudPcReportName::0025-CloudPcInsightReport +msgraph_beta.generated.models.CloudPcReportName::0026-RegionalInaccessibleCloudPcTrendReport msgraph_beta.generated.models.CloudPcReports-->Entity msgraph_beta.generated.models.CloudPcReports::|public|constructor():None msgraph_beta.generated.models.CloudPcReports::|public|export_jobs():list[CloudPcExportJob] @@ -170949,32 +170992,6 @@ msgraph_beta.generated.models.ConditionalAccessApplications::|public|odata_type( msgraph_beta.generated.models.ConditionalAccessApplications::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.ConditionalAccessApplications::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConditionalAccessApplications msgraph_beta.generated.models.ConditionalAccessApplications~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.ConditionalAccessAudience::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.ConditionalAccessAudience::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.ConditionalAccessAudience::|public|application_id():str -msgraph_beta.generated.models.ConditionalAccessAudience::|public|application_id(value:str):None -msgraph_beta.generated.models.ConditionalAccessAudience::|public|audience_reasons():ConditionalAccessAudienceReason -msgraph_beta.generated.models.ConditionalAccessAudience::|public|audience_reasons(value:ConditionalAccessAudienceReason):None -msgraph_beta.generated.models.ConditionalAccessAudience::|public|backing_store:BackingStore -msgraph_beta.generated.models.ConditionalAccessAudience::|public|constructor():None -msgraph_beta.generated.models.ConditionalAccessAudience::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.ConditionalAccessAudience::|public|odata_type():str -msgraph_beta.generated.models.ConditionalAccessAudience::|public|odata_type(value:str):None -msgraph_beta.generated.models.ConditionalAccessAudience::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.ConditionalAccessAudience::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConditionalAccessAudience -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0000-None_ -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0001-ResourcelessRequest -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0002-ConfidentialClientIdToken -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0003-ConfidentialClientNonIdToken -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0004-ResourceMapping -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0005-ResourceMappingDefault -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0006-ScopeMapping -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0007-ScopeMappingDefault -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0008-DelegatedScope -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0009-FirstPartyResourceDefault -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0010-ThirdPartyResourceDefault -msgraph_beta.generated.models.ConditionalAccessAudienceReason::0011-UnknownFutureValue -msgraph_beta.generated.models.ConditionalAccessAudience~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ConditionalAccessAuthenticationFlows::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.ConditionalAccessAuthenticationFlows::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.ConditionalAccessAuthenticationFlows::|public|backing_store:BackingStore @@ -186094,14 +186111,15 @@ msgraph_beta.generated.models.externalConnectors.RankingHint::|public|odata_type msgraph_beta.generated.models.externalConnectors.RankingHint::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.externalConnectors.RankingHint::|static|public|create_from_discriminator_value(parse_node:ParseNode):RankingHint msgraph_beta.generated.models.externalConnectors.RankingHint~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.externalConnectors.RuleOperation::0000-Equals -msgraph_beta.generated.models.externalConnectors.RuleOperation::0001-NotEquals -msgraph_beta.generated.models.externalConnectors.RuleOperation::0002-Contains -msgraph_beta.generated.models.externalConnectors.RuleOperation::0003-NotContains -msgraph_beta.generated.models.externalConnectors.RuleOperation::0004-LessThan -msgraph_beta.generated.models.externalConnectors.RuleOperation::0005-GreaterThan -msgraph_beta.generated.models.externalConnectors.RuleOperation::0006-StartsWith -msgraph_beta.generated.models.externalConnectors.RuleOperation::0007-UnknownFutureValue +msgraph_beta.generated.models.externalConnectors.RuleOperation::0000-Null +msgraph_beta.generated.models.externalConnectors.RuleOperation::0001-Equals +msgraph_beta.generated.models.externalConnectors.RuleOperation::0002-NotEquals +msgraph_beta.generated.models.externalConnectors.RuleOperation::0003-Contains +msgraph_beta.generated.models.externalConnectors.RuleOperation::0004-NotContains +msgraph_beta.generated.models.externalConnectors.RuleOperation::0005-LessThan +msgraph_beta.generated.models.externalConnectors.RuleOperation::0006-GreaterThan +msgraph_beta.generated.models.externalConnectors.RuleOperation::0007-StartsWith +msgraph_beta.generated.models.externalConnectors.RuleOperation::0008-UnknownFutureValue msgraph_beta.generated.models.externalConnectors.Schema-->Entity msgraph_beta.generated.models.externalConnectors.Schema::|public|base_type():str msgraph_beta.generated.models.externalConnectors.Schema::|public|base_type(value:str):None @@ -186748,6 +186766,8 @@ msgraph_beta.generated.models.FileStorage::|public|odata_type:str msgraph_beta.generated.models.FileStorage::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.FileStorage::|static|public|create_from_discriminator_value(parse_node:ParseNode):FileStorage msgraph_beta.generated.models.FileStorageContainer-->Entity +msgraph_beta.generated.models.FileStorageContainer::|public|archival_details():SiteArchivalDetails +msgraph_beta.generated.models.FileStorageContainer::|public|archival_details(value:SiteArchivalDetails):None msgraph_beta.generated.models.FileStorageContainer::|public|assigned_sensitivity_label():AssignedLabel msgraph_beta.generated.models.FileStorageContainer::|public|assigned_sensitivity_label(value:AssignedLabel):None msgraph_beta.generated.models.FileStorageContainer::|public|columns():list[ColumnDefinition] @@ -230225,8 +230245,8 @@ msgraph_beta.generated.models.SignIn::|public|client_app_used():str msgraph_beta.generated.models.SignIn::|public|client_app_used(value:str):None msgraph_beta.generated.models.SignIn::|public|client_credential_type():ClientCredentialType msgraph_beta.generated.models.SignIn::|public|client_credential_type(value:ClientCredentialType):None -msgraph_beta.generated.models.SignIn::|public|conditional_access_audiences():list[ConditionalAccessAudience] -msgraph_beta.generated.models.SignIn::|public|conditional_access_audiences(value:list[ConditionalAccessAudience]):None +msgraph_beta.generated.models.SignIn::|public|conditional_access_audiences():list[str] +msgraph_beta.generated.models.SignIn::|public|conditional_access_audiences(value:list[str]):None msgraph_beta.generated.models.SignIn::|public|conditional_access_status():ConditionalAccessStatus msgraph_beta.generated.models.SignIn::|public|conditional_access_status(value:ConditionalAccessStatus):None msgraph_beta.generated.models.SignIn::|public|constructor():None @@ -230871,6 +230891,10 @@ msgraph_beta.generated.models.SiteAccessType::0001-Full msgraph_beta.generated.models.SiteAccessType::0002-Limited msgraph_beta.generated.models.SiteArchivalDetails::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.SiteArchivalDetails::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.SiteArchivalDetails::|public|archived_by():IdentitySet +msgraph_beta.generated.models.SiteArchivalDetails::|public|archived_by(value:IdentitySet):None +msgraph_beta.generated.models.SiteArchivalDetails::|public|archived_date_time():datetime.datetime +msgraph_beta.generated.models.SiteArchivalDetails::|public|archived_date_time(value:datetime.datetime):None msgraph_beta.generated.models.SiteArchivalDetails::|public|archive_status():SiteArchiveStatus msgraph_beta.generated.models.SiteArchivalDetails::|public|archive_status(value:SiteArchiveStatus):None msgraph_beta.generated.models.SiteArchivalDetails::|public|backing_store:BackingStore diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index d1bb9df3bb2..34b7bc6cace 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "91C39E725AD2906390795CBD6E50D64BB861CE9382FF3EA67F30384D5129D0D660768272F0784069F95BB8D2934C5423BD796A8221FCFEB798CE1596E95136C0", + "descriptionHash": "1C703FD52AAF2A2393C4648F790656EDBE35300BD6137A7BAC746134B7197E04C6B5B3D1D6A3DCC0262B9A6FF3D8511B746B97424AA52026FF9D57DAC6CD61F7", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.24.0", diff --git a/msgraph_beta/generated/models/android_device_owner_certificate_access_type.py b/msgraph_beta/generated/models/android_device_owner_certificate_access_type.py index 393a2d9c405..113c4e66edf 100644 --- a/msgraph_beta/generated/models/android_device_owner_certificate_access_type.py +++ b/msgraph_beta/generated/models/android_device_owner_certificate_access_type.py @@ -5,6 +5,6 @@ class AndroidDeviceOwnerCertificateAccessType(str, Enum): UserApproval = "userApproval", # Pre-grant certificate access for specific apps (require user approval for other apps). SpecificApps = "specificApps", - # Unknown future value for evolvable enum patterns. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/android_device_owner_delegated_app_scope_type.py b/msgraph_beta/generated/models/android_device_owner_delegated_app_scope_type.py index ca76f04e47f..9c2bfbeb61b 100644 --- a/msgraph_beta/generated/models/android_device_owner_delegated_app_scope_type.py +++ b/msgraph_beta/generated/models/android_device_owner_delegated_app_scope_type.py @@ -9,6 +9,6 @@ class AndroidDeviceOwnerDelegatedAppScopeType(str, Enum): CaptureNetworkActivityLog = "captureNetworkActivityLog", # Specified that the admin has given permission to capture security logs on device. More info on Security logs: https://developer.android.com/work/dpc/security#log_enterprise_device_activity CaptureSecurityLog = "captureSecurityLog", - # Unknown future value (reserved, not used right now) + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/android_device_owner_location_mode.py b/msgraph_beta/generated/models/android_device_owner_location_mode.py index cac20e89cc9..77e7f28d159 100644 --- a/msgraph_beta/generated/models/android_device_owner_location_mode.py +++ b/msgraph_beta/generated/models/android_device_owner_location_mode.py @@ -5,6 +5,6 @@ class AndroidDeviceOwnerLocationMode(str, Enum): NotConfigured = "notConfigured", # Location setting is disabled on the device Disabled = "disabled", - # Evolvable enumeration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/android_managed_store_auto_update_mode.py b/msgraph_beta/generated/models/android_managed_store_auto_update_mode.py index 42dda850db7..83e563ff0d3 100644 --- a/msgraph_beta/generated/models/android_managed_store_auto_update_mode.py +++ b/msgraph_beta/generated/models/android_managed_store_auto_update_mode.py @@ -7,6 +7,6 @@ class AndroidManagedStoreAutoUpdateMode(str, Enum): Postponed = "postponed", # The app is updated as soon as possible by the developer. If device is online, it will be updated within minutes. Priority = "priority", - # Unknown future mode (reserved, not used right now). + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/android_work_profile_account_use.py b/msgraph_beta/generated/models/android_work_profile_account_use.py index e39f5dfbcd3..1a8dd59a877 100644 --- a/msgraph_beta/generated/models/android_work_profile_account_use.py +++ b/msgraph_beta/generated/models/android_work_profile_account_use.py @@ -7,6 +7,6 @@ class AndroidWorkProfileAccountUse(str, Enum): BlockAll = "blockAll", # Allow addition of all accounts (including Google accounts) in Android Work Profile. AllowAll = "allowAll", - # Unknown future value for evolvable enum patterns. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/app_management_level.py b/msgraph_beta/generated/models/app_management_level.py index 179347a1131..840b068ab38 100644 --- a/msgraph_beta/generated/models/app_management_level.py +++ b/msgraph_beta/generated/models/app_management_level.py @@ -15,6 +15,6 @@ class AppManagementLevel(str, Enum): AndroidOpenSourceProjectUserAssociated = "androidOpenSourceProjectUserAssociated", # Android Open Source Project (AOSP) userless devices AndroidOpenSourceProjectUserless = "androidOpenSourceProjectUserless", - # Place holder for evolvable enum + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/assignment_filter_operator.py b/msgraph_beta/generated/models/assignment_filter_operator.py index dd2e21df715..cf1f107089b 100644 --- a/msgraph_beta/generated/models/assignment_filter_operator.py +++ b/msgraph_beta/generated/models/assignment_filter_operator.py @@ -25,7 +25,7 @@ class AssignmentFilterOperator(str, Enum): NotEndsWith = "notEndsWith", # Indicates the devices whose property value is greater than the configured input in Assignment Filters. GreaterThan = "greaterThan", - # Indicates the devices whose property value is greater than or equal to the configured input in Assignment Filters. + # `Indicates the devices whose property value is greater than or equal to the configured input in Assignment Filters. GreaterThanOrEquals = "greaterThanOrEquals", # Indicates the devices whose property value is less than the configured input in Assignment Filters. LessThan = "lessThan", diff --git a/msgraph_beta/generated/models/auto_restart_notification_dismissal_method.py b/msgraph_beta/generated/models/auto_restart_notification_dismissal_method.py index 46d9c5e5c98..939a78519ae 100644 --- a/msgraph_beta/generated/models/auto_restart_notification_dismissal_method.py +++ b/msgraph_beta/generated/models/auto_restart_notification_dismissal_method.py @@ -7,6 +7,6 @@ class AutoRestartNotificationDismissalMethod(str, Enum): Automatic = "automatic", # User dismissal. Allows the user to dismiss the notification User = "user", - # Evolvable enum member + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/chrome_o_s_onboarding_status.py b/msgraph_beta/generated/models/chrome_o_s_onboarding_status.py index 4138e03730d..5ddb59c3429 100644 --- a/msgraph_beta/generated/models/chrome_o_s_onboarding_status.py +++ b/msgraph_beta/generated/models/chrome_o_s_onboarding_status.py @@ -11,6 +11,6 @@ class chromeOSOnboardingStatus(str, Enum): Failed = "failed", # Offboarding Offboarding = "offboarding", - # UnknownFutureValue + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py b/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py index 5be317193b3..32b4d702101 100644 --- a/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py +++ b/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py @@ -4,4 +4,5 @@ class CloudPCInaccessibleReportName(str, Enum): InaccessibleCloudPcReports = "inaccessibleCloudPcReports", InaccessibleCloudPcTrendReport = "inaccessibleCloudPcTrendReport", UnknownFutureValue = "unknownFutureValue", + RegionalInaccessibleCloudPcTrendReport = "regionalInaccessibleCloudPcTrendReport", diff --git a/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py b/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py index f31136286dd..3de99ed23ac 100644 --- a/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py +++ b/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py @@ -3,4 +3,5 @@ class CloudPCPerformanceReportName(str, Enum): PerformanceTrendReport = "performanceTrendReport", UnknownFutureValue = "unknownFutureValue", + CloudPcInsightReport = "cloudPcInsightReport", diff --git a/msgraph_beta/generated/models/cloud_pc_connectivity_event.py b/msgraph_beta/generated/models/cloud_pc_connectivity_event.py index 284370d8838..ace99eca2f6 100644 --- a/msgraph_beta/generated/models/cloud_pc_connectivity_event.py +++ b/msgraph_beta/generated/models/cloud_pc_connectivity_event.py @@ -17,6 +17,8 @@ class CloudPcConnectivityEvent(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 unique identifier (GUID) that represents the activity associated with this event. When the event type is userConnection, this value is the activity identifier for this event. For any other event types, this value is 00000000-0000-0000-0000-000000000000. + activity_id: Optional[str] = None # Indicates the date and time when this event was created. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z. event_date_time: Optional[datetime.datetime] = None # Name of the event. @@ -53,6 +55,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .cloud_pc_connectivity_event_type import CloudPcConnectivityEventType fields: dict[str, Callable[[Any], None]] = { + "activityId": lambda n : setattr(self, 'activity_id', n.get_str_value()), "eventDateTime": lambda n : setattr(self, 'event_date_time', n.get_datetime_value()), "eventName": lambda n : setattr(self, 'event_name', n.get_str_value()), "eventResult": lambda n : setattr(self, 'event_result', n.get_enum_value(CloudPcConnectivityEventResult)), @@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_str_value("activityId", self.activity_id) writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_str_value("eventName", self.event_name) writer.write_enum_value("eventResult", self.event_result) diff --git a/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py b/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py index 2e9b2a7bf07..5f4a4e0ca22 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py @@ -11,4 +11,6 @@ class CloudPcDeviceImageErrorCode(str, Enum): PaidSourceImageNotSupport = "paidSourceImageNotSupport", SourceImageNotSupportCustomizeVMName = "sourceImageNotSupportCustomizeVMName", SourceImageSizeExceedsLimitation = "sourceImageSizeExceedsLimitation", + SourceImageWithDataDiskNotSupported = "sourceImageWithDataDiskNotSupported", + SourceImageWithDiskEncryptionSetNotSupported = "sourceImageWithDiskEncryptionSetNotSupported", diff --git a/msgraph_beta/generated/models/cloud_pc_device_image_status.py b/msgraph_beta/generated/models/cloud_pc_device_image_status.py index 208363efae1..b4801c5dddc 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image_status.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image_status.py @@ -5,4 +5,5 @@ class CloudPcDeviceImageStatus(str, Enum): Ready = "ready", Failed = "failed", UnknownFutureValue = "unknownFutureValue", + Warning = "warning", diff --git a/msgraph_beta/generated/models/cloud_pc_export_job.py b/msgraph_beta/generated/models/cloud_pc_export_job.py index 89667f56f9f..ce1b1b4e01b 100644 --- a/msgraph_beta/generated/models/cloud_pc_export_job.py +++ b/msgraph_beta/generated/models/cloud_pc_export_job.py @@ -26,7 +26,7 @@ class CloudPcExportJob(Entity, Parsable): format: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport. + # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport,, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport. report_name: Optional[CloudPcReportName] = None # The date and time when the export job was requested. request_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/cloud_pc_report_name.py b/msgraph_beta/generated/models/cloud_pc_report_name.py index 70a68b42287..4d3b50b9ff6 100644 --- a/msgraph_beta/generated/models/cloud_pc_report_name.py +++ b/msgraph_beta/generated/models/cloud_pc_report_name.py @@ -26,4 +26,6 @@ class CloudPcReportName(str, Enum): TroubleshootTrendCountReport = "troubleshootTrendCountReport", TroubleshootRegionalReport = "troubleshootRegionalReport", TroubleshootIssueCountReport = "troubleshootIssueCountReport", + CloudPcInsightReport = "cloudPcInsightReport", + RegionalInaccessibleCloudPcTrendReport = "regionalInaccessibleCloudPcTrendReport", diff --git a/msgraph_beta/generated/models/conditional_access_audience.py b/msgraph_beta/generated/models/conditional_access_audience.py deleted file mode 100644 index 40f59c566ad..00000000000 --- a/msgraph_beta/generated/models/conditional_access_audience.py +++ /dev/null @@ -1,65 +0,0 @@ -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 .conditional_access_audience_reason import ConditionalAccessAudienceReason - -@dataclass -class ConditionalAccessAudience(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 ID of the application. - application_id: Optional[str] = None - # Indicates the reasons this audience was included for a sign-in request. - audience_reasons: Optional[ConditionalAccessAudienceReason] = None - # The OdataType property - odata_type: Optional[str] = None - - @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessAudience: - """ - 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: ConditionalAccessAudience - """ - if parse_node is None: - raise TypeError("parse_node cannot be null.") - return ConditionalAccessAudience() - - def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: - """ - The deserialization information for the current model - Returns: dict[str, Callable[[ParseNode], None]] - """ - from .conditional_access_audience_reason import ConditionalAccessAudienceReason - - from .conditional_access_audience_reason import ConditionalAccessAudienceReason - - fields: dict[str, Callable[[Any], None]] = { - "applicationId": lambda n : setattr(self, 'application_id', n.get_str_value()), - "audienceReasons": lambda n : setattr(self, 'audience_reasons', n.get_collection_of_enum_values(ConditionalAccessAudienceReason)), - "@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_str_value("applicationId", self.application_id) - writer.write_enum_value("audienceReasons", self.audience_reasons) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_additional_data_value(self.additional_data) - - diff --git a/msgraph_beta/generated/models/conditional_access_audience_reason.py b/msgraph_beta/generated/models/conditional_access_audience_reason.py deleted file mode 100644 index 4815d30c138..00000000000 --- a/msgraph_beta/generated/models/conditional_access_audience_reason.py +++ /dev/null @@ -1,16 +0,0 @@ -from enum import Enum - -class ConditionalAccessAudienceReason(str, Enum): - None_ = "none", - ResourcelessRequest = "resourcelessRequest", - ConfidentialClientIdToken = "confidentialClientIdToken", - ConfidentialClientNonIdToken = "confidentialClientNonIdToken", - ResourceMapping = "resourceMapping", - ResourceMappingDefault = "resourceMappingDefault", - ScopeMapping = "scopeMapping", - ScopeMappingDefault = "scopeMappingDefault", - DelegatedScope = "delegatedScope", - FirstPartyResourceDefault = "firstPartyResourceDefault", - ThirdPartyResourceDefault = "thirdPartyResourceDefault", - UnknownFutureValue = "unknownFutureValue", - diff --git a/msgraph_beta/generated/models/device_assignment_item_intent.py b/msgraph_beta/generated/models/device_assignment_item_intent.py index 6267fb1377e..0fc1a9a32ea 100644 --- a/msgraph_beta/generated/models/device_assignment_item_intent.py +++ b/msgraph_beta/generated/models/device_assignment_item_intent.py @@ -5,6 +5,6 @@ class DeviceAssignmentItemIntent(str, Enum): Remove = "remove", # Indicates that the application or configuration already under removal through previous actions and is now intended to be restored on the managed device Restore = "restore", - # Evolvable enumeration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_assignment_item_status.py b/msgraph_beta/generated/models/device_assignment_item_status.py index 79c9ff5e78e..5c287be122b 100644 --- a/msgraph_beta/generated/models/device_assignment_item_status.py +++ b/msgraph_beta/generated/models/device_assignment_item_status.py @@ -11,6 +11,6 @@ class DeviceAssignmentItemStatus(str, Enum): Error = "error", # Indicates that the application or configuration has been successfully restored on the managed device Succeeded = "succeeded", - # Evolvable enumeration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_assignment_item_type.py b/msgraph_beta/generated/models/device_assignment_item_type.py index 7d1dd50ea0a..204afb0183c 100644 --- a/msgraph_beta/generated/models/device_assignment_item_type.py +++ b/msgraph_beta/generated/models/device_assignment_item_type.py @@ -9,6 +9,6 @@ class DeviceAssignmentItemType(str, Enum): DeviceManagementConfigurationPolicy = "deviceManagementConfigurationPolicy", # Indicates that the device assignment item type for the action is `graph.managedDeviceMobileAppConfiguration`. MobileAppConfiguration associated settings are removed on removal and added back on restoration MobileAppConfiguration = "mobileAppConfiguration", - # Evolvable enumeration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_enrollment_configuration_type.py b/msgraph_beta/generated/models/device_enrollment_configuration_type.py index 38279a4f88d..4f0b8160346 100644 --- a/msgraph_beta/generated/models/device_enrollment_configuration_type.py +++ b/msgraph_beta/generated/models/device_enrollment_configuration_type.py @@ -23,7 +23,7 @@ class DeviceEnrollmentConfigurationType(str, Enum): DeviceComanagementAuthorityConfiguration = "deviceComanagementAuthorityConfiguration", # Indicates that configuration is of type single platform restriction which refers to types of devices a user is allowed to enroll. SinglePlatformRestriction = "singlePlatformRestriction", - # Unknown future value + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", # Indicates that configuration is of type Enrollment Notification which refers to types of notification a user receives during enrollment. EnrollmentNotificationsConfiguration = "enrollmentNotificationsConfiguration", diff --git a/msgraph_beta/generated/models/device_enrollment_type.py b/msgraph_beta/generated/models/device_enrollment_type.py index fe92ca18ce2..0a5104c1224 100644 --- a/msgraph_beta/generated/models/device_enrollment_type.py +++ b/msgraph_beta/generated/models/device_enrollment_type.py @@ -41,6 +41,6 @@ class DeviceEnrollmentType(str, Enum): AndroidAOSPUserlessDeviceEnrollment = "androidAOSPUserlessDeviceEnrollment", # Indicates the device is enrolled via Apple Account Driven User Enrollment, a form of enrollment where the user enrolls via iOS Settings without using the iOS Company Portal. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities. AppleAccountDrivenUserEnrollment = "appleAccountDrivenUserEnrollment", - # Evolvable enum member + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_event_level.py b/msgraph_beta/generated/models/device_event_level.py index 5d5e6dbaba3..fc07d736213 100644 --- a/msgraph_beta/generated/models/device_event_level.py +++ b/msgraph_beta/generated/models/device_event_level.py @@ -13,6 +13,6 @@ class DeviceEventLevel(str, Enum): Error = "error", # Indicates that the device event level is critical. Critical = "critical", - # Placeholder value for future expansion. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_licensing_status.py b/msgraph_beta/generated/models/device_licensing_status.py index b63602844e5..436355340c0 100644 --- a/msgraph_beta/generated/models/device_licensing_status.py +++ b/msgraph_beta/generated/models/device_licensing_status.py @@ -31,6 +31,6 @@ class DeviceLicensingStatus(str, Enum): DeviceLicenseRemoveSucceed = "deviceLicenseRemoveSucceed", # This status is set when the device license removing fails. DeviceLicenseRemoveFailed = "deviceLicenseRemoveFailed", - # This is put here as a place holder for future extension. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_management/device_management.py b/msgraph_beta/generated/models/device_management/device_management.py index fe826da1d97..c7dcd6b90cf 100644 --- a/msgraph_beta/generated/models/device_management/device_management.py +++ b/msgraph_beta/generated/models/device_management/device_management.py @@ -190,9 +190,6 @@ @dataclass class DeviceManagement(Entity, Parsable): - """ - Singleton that acts as container for a collection of Resource Access entities. - """ # The date & time when tenant data moved between scaleunits. account_move_completion_date_time: Optional[datetime.datetime] = None # Admin consent information. @@ -409,7 +406,7 @@ class DeviceManagement(Entity, Parsable): remote_assistance_partners: Optional[list[RemoteAssistancePartner]] = None # The remote assistance settings singleton remote_assistance_settings: Optional[RemoteAssistanceSettings] = None - # Reports singleton + # The reports property reports: Optional[DeviceManagementReports] = None # Collection of resource access settings associated with account. resource_access_profiles: Optional[list[DeviceManagementResourceAccessProfileBase]] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py index 8cabcae53a8..51e1f23e454 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py @@ -13,11 +13,11 @@ @dataclass class DeviceManagementConfigurationChoiceSettingDefinition(DeviceManagementConfigurationSettingDefinition, Parsable): - # Default option for choice setting + # Default option for the choice setting. default_option_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Options for the setting that can be selected + # Options for the setting that can be selected. options: Optional[list[DeviceManagementConfigurationOptionDefinition]] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py index f82b84785f3..87bf0f2aec5 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSettingGroupCollectionDefinition(DeviceManagementConfigurationSettingGroupDefinition, Parsable): - # Maximum number of setting group count in the collection. Valid values 1 to 100 + # Maximum number of setting group count in the collection maximum_count: Optional[int] = None - # Minimum number of setting group count in the collection. Valid values 1 to 100 + # Minimum number of setting group count in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py index 1d50b3b2cf9..770adb10406 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSimpleSettingCollectionDefinition(DeviceManagementConfigurationSimpleSettingDefinition, Parsable): - # Maximum number of simple settings in the collection + # Maximum number of simple settings in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of simple settings in the collection + # Minimum number of simple settings in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_string_format.py b/msgraph_beta/generated/models/device_management_configuration_string_format.py index e2f58fdeea9..478550c455c 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_format.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_format.py @@ -32,6 +32,6 @@ class DeviceManagementConfigurationStringFormat(str, Enum): SurfaceHub = "surfaceHub", # String whose value is a bash script BashScript = "bashScript", - # Sentinel member for cases where the client cannot handle the new enum values. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py index 3dbb5ddbd24..99e0d1ac5da 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py @@ -19,15 +19,15 @@ class DeviceManagementConfigurationStringSettingValueDefinition(DeviceManagement odata_type: Optional[str] = "#microsoft.graph.deviceManagementConfigurationStringSettingValueDefinition" # Supported file types for this setting. file_types: Optional[list[str]] = None - # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. + # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. format: Optional[DeviceManagementConfigurationStringFormat] = None # Regular expression or any xml or json schema that the input string should match input_validation_schema: Optional[str] = None # Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX. is_secret: Optional[bool] = None - # Maximum length of string. Valid values 0 to 87516 + # Maximum length of string maximum_length: Optional[int] = None - # Minimum length of string. Valid values 0 to 87516 + # Minimum length of string minimum_length: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_reports.py b/msgraph_beta/generated/models/device_management_reports.py index c7cd054549b..8be0cb7f900 100644 --- a/msgraph_beta/generated/models/device_management_reports.py +++ b/msgraph_beta/generated/models/device_management_reports.py @@ -13,9 +13,6 @@ @dataclass class DeviceManagementReports(Entity, Parsable): - """ - Singleton entity that acts as a container for all reports functionality. - """ # Entity representing the configuration of a cached report. cached_report_configurations: Optional[list[DeviceManagementCachedReportConfiguration]] = None # Entity representing a job to export a report. diff --git a/msgraph_beta/generated/models/device_platform_type.py b/msgraph_beta/generated/models/device_platform_type.py index 0b6b59048b8..d4dd1d03a06 100644 --- a/msgraph_beta/generated/models/device_platform_type.py +++ b/msgraph_beta/generated/models/device_platform_type.py @@ -25,7 +25,7 @@ class DevicePlatformType(str, Enum): AndroidMobileApplicationManagement = "androidMobileApplicationManagement", # Indicates Mobile Application Management (MAM) for iOS devices IOSMobileApplicationManagement = "iOSMobileApplicationManagement", - # Evolvable enumeration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", # Indicates Mobile Application Management (MAM) for Windows devices. WindowsMobileApplicationManagement = "windowsMobileApplicationManagement", diff --git a/msgraph_beta/generated/models/device_scope_action_status.py b/msgraph_beta/generated/models/device_scope_action_status.py index b3d2e52a1f5..5392a35ce12 100644 --- a/msgraph_beta/generated/models/device_scope_action_status.py +++ b/msgraph_beta/generated/models/device_scope_action_status.py @@ -5,6 +5,6 @@ class DeviceScopeActionStatus(str, Enum): Failed = "failed", # Indicates the device scope action was successfully triggered. Succeeded = "succeeded", - # Placeholder value for future expansion. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_scope_operator.py b/msgraph_beta/generated/models/device_scope_operator.py index 41208aa1818..9463e4da0de 100644 --- a/msgraph_beta/generated/models/device_scope_operator.py +++ b/msgraph_beta/generated/models/device_scope_operator.py @@ -5,6 +5,6 @@ class DeviceScopeOperator(str, Enum): None_ = "none", # Operator for the device configuration query to be used (Equals). Equals = "equals", - # Placeholder value for future expansion enums such as notEquals, contains, notContains, greaterThan, lessThan. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_scope_parameter.py b/msgraph_beta/generated/models/device_scope_parameter.py index 0a5b6e28d32..9fad5af9a60 100644 --- a/msgraph_beta/generated/models/device_scope_parameter.py +++ b/msgraph_beta/generated/models/device_scope_parameter.py @@ -5,6 +5,6 @@ class DeviceScopeParameter(str, Enum): None_ = "none", # use Scope Tag as parameter for the device scope configuration. ScopeTag = "scopeTag", - # Placeholder value for future expansion. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/device_scope_status.py b/msgraph_beta/generated/models/device_scope_status.py index db6344a5672..420a49b1ce1 100644 --- a/msgraph_beta/generated/models/device_scope_status.py +++ b/msgraph_beta/generated/models/device_scope_status.py @@ -9,6 +9,6 @@ class DeviceScopeStatus(str, Enum): InsufficientData = "insufficientData", # Device scope is enabled and finished recalculating the report metric. Device scope is now ready to be used. Completed = "completed", - # Placeholder value for future expansion. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/disk_type.py b/msgraph_beta/generated/models/disk_type.py index 1aec71bf02a..c7c9386be09 100644 --- a/msgraph_beta/generated/models/disk_type.py +++ b/msgraph_beta/generated/models/disk_type.py @@ -7,6 +7,6 @@ class DiskType(str, Enum): Hdd = "hdd", # Enum member for SSD devices. Ssd = "ssd", - # Evolvable enumeration sentinel value.Do not use. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/enrollment_notification_branding_options.py b/msgraph_beta/generated/models/enrollment_notification_branding_options.py index 92119a9dfcf..446c1427714 100644 --- a/msgraph_beta/generated/models/enrollment_notification_branding_options.py +++ b/msgraph_beta/generated/models/enrollment_notification_branding_options.py @@ -13,6 +13,6 @@ class EnrollmentNotificationBrandingOptions(str, Enum): IncludeCompanyPortalLink = "includeCompanyPortalLink", # Indicates that the DeviceDetails is included in the notification. IncludeDeviceDetails = "includeDeviceDetails", - # unknownFutureValue for evolvable enums pattern. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/enrollment_notification_template_type.py b/msgraph_beta/generated/models/enrollment_notification_template_type.py index 186f52f1f3c..ed704463c82 100644 --- a/msgraph_beta/generated/models/enrollment_notification_template_type.py +++ b/msgraph_beta/generated/models/enrollment_notification_template_type.py @@ -5,6 +5,6 @@ class EnrollmentNotificationTemplateType(str, Enum): Email = "email", # Push Notification Push = "push", - # Unknown Type + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/enrollment_restriction_platform_type.py b/msgraph_beta/generated/models/enrollment_restriction_platform_type.py index b48f47a13bf..5a8d5140bd4 100644 --- a/msgraph_beta/generated/models/enrollment_restriction_platform_type.py +++ b/msgraph_beta/generated/models/enrollment_restriction_platform_type.py @@ -17,6 +17,6 @@ class EnrollmentRestrictionPlatformType(str, Enum): Mac = "mac", # Indicates that the enrollment configuration applies only to Linux devices Linux = "linux", - # Evolvable enumeration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/external_connectors/rule_operation.py b/msgraph_beta/generated/models/external_connectors/rule_operation.py index 1e31b717621..c803d2906da 100644 --- a/msgraph_beta/generated/models/external_connectors/rule_operation.py +++ b/msgraph_beta/generated/models/external_connectors/rule_operation.py @@ -1,6 +1,7 @@ from enum import Enum class RuleOperation(str, Enum): + Null = "null", Equals = "equals", NotEquals = "notEquals", Contains = "contains", diff --git a/msgraph_beta/generated/models/file_encryption_info.py b/msgraph_beta/generated/models/file_encryption_info.py index 91004c6a48c..4b563fe4b8d 100644 --- a/msgraph_beta/generated/models/file_encryption_info.py +++ b/msgraph_beta/generated/models/file_encryption_info.py @@ -8,7 +8,7 @@ @dataclass class FileEncryptionInfo(AdditionalDataHolder, BackedModel, Parsable): """ - Contains properties for file encryption information for the content version of a line of business app. + Contains properties for file encryption information for the content version of a line-of-business app. """ # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) diff --git a/msgraph_beta/generated/models/file_storage_container.py b/msgraph_beta/generated/models/file_storage_container.py index 79abac20ae9..3e35d26b44a 100644 --- a/msgraph_beta/generated/models/file_storage_container.py +++ b/msgraph_beta/generated/models/file_storage_container.py @@ -18,6 +18,7 @@ from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission from .recycle_bin import RecycleBin + from .site_archival_details import SiteArchivalDetails from .site_lock_state import SiteLockState from .user_identity import UserIdentity @@ -25,6 +26,8 @@ @dataclass class FileStorageContainer(Entity, Parsable): + # The archivalDetails property + archival_details: Optional[SiteArchivalDetails] = None # Sensitivity label assigned to the fileStorageContainer. Read-write. assigned_sensitivity_label: Optional[AssignedLabel] = None # The set of custom structured metadata supported by the fileStorageContainer. Read-write. @@ -95,6 +98,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission from .recycle_bin import RecycleBin + from .site_archival_details import SiteArchivalDetails from .site_lock_state import SiteLockState from .user_identity import UserIdentity @@ -109,10 +113,12 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission from .recycle_bin import RecycleBin + from .site_archival_details import SiteArchivalDetails from .site_lock_state import SiteLockState from .user_identity import UserIdentity fields: dict[str, Callable[[Any], None]] = { + "archivalDetails": lambda n : setattr(self, 'archival_details', n.get_object_value(SiteArchivalDetails)), "assignedSensitivityLabel": lambda n : setattr(self, 'assigned_sensitivity_label', n.get_object_value(AssignedLabel)), "columns": lambda n : setattr(self, 'columns', n.get_collection_of_object_values(ColumnDefinition)), "containerTypeId": lambda n : setattr(self, 'container_type_id', n.get_uuid_value()), @@ -147,6 +153,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("archivalDetails", self.archival_details) writer.write_object_value("assignedSensitivityLabel", self.assigned_sensitivity_label) writer.write_collection_of_object_values("columns", self.columns) writer.write_uuid_value("containerTypeId", self.container_type_id) diff --git a/msgraph_beta/generated/models/group_policy_configuration_ingestion_type.py b/msgraph_beta/generated/models/group_policy_configuration_ingestion_type.py index 6477b05148b..fd3840a85d3 100644 --- a/msgraph_beta/generated/models/group_policy_configuration_ingestion_type.py +++ b/msgraph_beta/generated/models/group_policy_configuration_ingestion_type.py @@ -9,6 +9,6 @@ class GroupPolicyConfigurationIngestionType(str, Enum): BuiltIn = "builtIn", # Indicated atleast 1 tenant admin & system ingested definitions configured for this policy Mixed = "mixed", - # Unknown future enum value + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/ingestion_source.py b/msgraph_beta/generated/models/ingestion_source.py index f349729c6cc..cedb4bf6bef 100644 --- a/msgraph_beta/generated/models/ingestion_source.py +++ b/msgraph_beta/generated/models/ingestion_source.py @@ -7,6 +7,6 @@ class IngestionSource(str, Enum): Custom = "custom", # Indicates the category is ingested through system ingestion process BuiltIn = "builtIn", - # Unknown future enum value + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index a188a688d36..8e040b17c44 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -17,7 +17,7 @@ @dataclass class IosLobAppProvisioningConfiguration(Entity, Parsable): """ - This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS Lob App Provisioning Configuration resource. + This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS LOB App Provisioning Configuration resource. """ # The associated group assignments for IosLobAppProvisioningConfiguration. assignments: Optional[list[IosLobAppProvisioningConfigurationAssignment]] = None diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py index e68708c3eb2..cc88736ff98 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py @@ -12,7 +12,7 @@ @dataclass class IosLobAppProvisioningConfigurationPolicySetItem(PolicySetItem, Parsable): """ - A class containing the properties used for iOS lob app provisioning configuration PolicySetItem. + A class containing the properties used for iOS LOB app provisioning configuration PolicySetItem. """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.iosLobAppProvisioningConfigurationPolicySetItem" diff --git a/msgraph_beta/generated/models/ios_managed_app_protection.py b/msgraph_beta/generated/models/ios_managed_app_protection.py index 5f5dfe5291a..81f05886226 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection.py @@ -33,7 +33,7 @@ class IosManagedAppProtection(TargetedManagedAppProtection, Parsable): app_data_encryption_type: Optional[ManagedAppDataEncryptionType] = None # List of apps to which the policy is deployed. apps: Optional[list[ManagedMobileApp]] = None - # A custom browser protocol to open weblink on iOS. + # A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_protocol: Optional[str] = None # Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. custom_dialer_app_protocol: Optional[str] = None diff --git a/msgraph_beta/generated/models/key_credential_configuration.py b/msgraph_beta/generated/models/key_credential_configuration.py index 9aa8efb2b5f..017e335d3c3 100644 --- a/msgraph_beta/generated/models/key_credential_configuration.py +++ b/msgraph_beta/generated/models/key_credential_configuration.py @@ -25,7 +25,7 @@ class KeyCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): 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 - # A unique identifier key for keyCredentialConfiguration. This value also represents the type of restriction being applied. Possible values are asymmetricKeyLifetime, and unknownFutureValue. Each value of restrictionType can be used only once per policy. + # The restrictionType property restriction_type: Optional[AppKeyCredentialRestrictionType] = None # Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. state: Optional[AppManagementRestrictionState] = None diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index 740202b69b1..3317bba6f74 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -12,11 +12,11 @@ class KeyValue(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Contains the name of the field that a value is associated with. + # Key. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Contains the corresponding value for the specified key. + # Value. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mac_address_randomization_mode.py b/msgraph_beta/generated/models/mac_address_randomization_mode.py index a243b23001b..ca612ee8dd7 100644 --- a/msgraph_beta/generated/models/mac_address_randomization_mode.py +++ b/msgraph_beta/generated/models/mac_address_randomization_mode.py @@ -5,6 +5,6 @@ class MacAddressRandomizationMode(str, Enum): Automatic = "automatic", # Indicates MAC randomization is disabled and the factory MAC address is used when connecting to the internet. Hardware = "hardware", - # Indicates evolvable enumeration sentinel value. Do not use. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_delay_policy.py b/msgraph_beta/generated/models/mac_o_s_software_update_delay_policy.py index 9211476a65a..471cfda29a2 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_delay_policy.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_delay_policy.py @@ -7,7 +7,7 @@ class MacOSSoftwareUpdateDelayPolicy(str, Enum): DelayOSUpdateVisibility = "delayOSUpdateVisibility", # Force delays for app software updates. DelayAppUpdateVisibility = "delayAppUpdateVisibility", - # Sentinel member for cases where the client cannot handle the new enum values. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", # Force delays for major OS software updates. DelayMajorOsUpdateVisibility = "delayMajorOsUpdateVisibility", diff --git a/msgraph_beta/generated/models/managed_app_availability.py b/msgraph_beta/generated/models/managed_app_availability.py index 72f8ddae155..07080ee6538 100644 --- a/msgraph_beta/generated/models/managed_app_availability.py +++ b/msgraph_beta/generated/models/managed_app_availability.py @@ -3,6 +3,6 @@ class ManagedAppAvailability(str, Enum): # A globally available app to all tenants. Global_ = "global", - # A line of business apps private to an organization. + # A line-of-business apps private to an organization. LineOfBusiness = "lineOfBusiness", diff --git a/msgraph_beta/generated/models/managed_device_remote_action.py b/msgraph_beta/generated/models/managed_device_remote_action.py index 832540331b8..edddb8fe541 100644 --- a/msgraph_beta/generated/models/managed_device_remote_action.py +++ b/msgraph_beta/generated/models/managed_device_remote_action.py @@ -37,7 +37,7 @@ class ManagedDeviceRemoteAction(str, Enum): InitiateMobileDeviceManagementKeyRecovery = "initiateMobileDeviceManagementKeyRecovery", # Name of action to initiate On Demand Proactive Remediation InitiateOnDemandProactiveRemediation = "initiateOnDemandProactiveRemediation", - # Evolvable enum member + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", # Indicates remote device action to intiate Mobile Device Management (MDM) attestation if device is capable for it InitiateDeviceAttestation = "initiateDeviceAttestation", diff --git a/msgraph_beta/generated/models/managed_mobile_lob_app.py b/msgraph_beta/generated/models/managed_mobile_lob_app.py index 0e770af7f0d..b592803e8ea 100644 --- a/msgraph_beta/generated/models/managed_mobile_lob_app.py +++ b/msgraph_beta/generated/models/managed_mobile_lob_app.py @@ -15,7 +15,7 @@ @dataclass class ManagedMobileLobApp(ManagedApp, Parsable): """ - An abstract base class containing properties for all managed mobile line of business apps. + An abstract base class containing properties for all managed mobile line-of-business apps. """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.managedMobileLobApp" diff --git a/msgraph_beta/generated/models/microsoft_tunnel_log_collection_status.py b/msgraph_beta/generated/models/microsoft_tunnel_log_collection_status.py index b84d9498553..1a2548f4845 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_log_collection_status.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_log_collection_status.py @@ -7,6 +7,6 @@ class MicrosoftTunnelLogCollectionStatus(str, Enum): Completed = "completed", # Indicates that the log collection has failed Failed = "failed", - # Placeholder value for future expansion enums + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/microsoft_tunnel_server_health_status.py b/msgraph_beta/generated/models/microsoft_tunnel_server_health_status.py index 68162f41dc3..a98f3640260 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_server_health_status.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_server_health_status.py @@ -15,6 +15,6 @@ class MicrosoftTunnelServerHealthStatus(str, Enum): UpgradeInProgress = "upgradeInProgress", # Indicates the failure of the upgrade during the upgrade cycle of when Intune begins upgrading servers, one server at a time UpgradeFailed = "upgradeFailed", - # Evolvable enumeration sentinel value. Do not use enums. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py index ec9900ae5a7..cb895e3642b 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py @@ -16,7 +16,7 @@ class MobileAppTroubleshootingEvent(DeviceManagementTroubleshootingEvent, Parsab """ Event representing a users device application install status. """ - # Indicates collection of App Log Upload Request. + # The collection property of AppLogUploadRequest. app_log_collection_requests: Optional[list[AppLogCollectionRequest]] = None # Intune application identifier. application_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/mobile_lob_app.py b/msgraph_beta/generated/models/mobile_lob_app.py index 6b2164b2f50..9f31c5c9289 100644 --- a/msgraph_beta/generated/models/mobile_lob_app.py +++ b/msgraph_beta/generated/models/mobile_lob_app.py @@ -26,7 +26,7 @@ @dataclass class MobileLobApp(MobileApp, Parsable): """ - An abstract base class containing properties for all mobile line of business apps. + An abstract base class containing properties for all mobile line-of-business apps. """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mobileLobApp" diff --git a/msgraph_beta/generated/models/office_suite_default_file_format_type.py b/msgraph_beta/generated/models/office_suite_default_file_format_type.py index 01559af4d81..3c9d4946e79 100644 --- a/msgraph_beta/generated/models/office_suite_default_file_format_type.py +++ b/msgraph_beta/generated/models/office_suite_default_file_format_type.py @@ -7,6 +7,6 @@ class OfficeSuiteDefaultFileFormatType(str, Enum): OfficeOpenXMLFormat = "officeOpenXMLFormat", # Office Open Document Format selected OfficeOpenDocumentFormat = "officeOpenDocumentFormat", - # Placeholder for evolvable enum. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/onboarding_status.py b/msgraph_beta/generated/models/onboarding_status.py index 3254ba0d7d1..ec313dc2b4f 100644 --- a/msgraph_beta/generated/models/onboarding_status.py +++ b/msgraph_beta/generated/models/onboarding_status.py @@ -11,6 +11,6 @@ class OnboardingStatus(str, Enum): Failed = "failed", # Offboarding Offboarding = "offboarding", - # UnknownFutureValue + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/password_credential_configuration.py b/msgraph_beta/generated/models/password_credential_configuration.py index d66f68ea3f9..655b71ceeca 100644 --- a/msgraph_beta/generated/models/password_credential_configuration.py +++ b/msgraph_beta/generated/models/password_credential_configuration.py @@ -23,7 +23,7 @@ class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsabl 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 - # A unique identifier key for passwordCredentialConfiguration. This value also represents the type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime, customPasswordAddition, and unknownFutureValue. Each value of restrictionType can be used only once per policy. + # The restrictionType property restriction_type: Optional[AppCredentialRestrictionType] = None # Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. state: Optional[AppManagementRestrictionState] = None diff --git a/msgraph_beta/generated/models/privilege_management_end_user_type.py b/msgraph_beta/generated/models/privilege_management_end_user_type.py index 9b65fe4e8fd..971473bf56b 100644 --- a/msgraph_beta/generated/models/privilege_management_end_user_type.py +++ b/msgraph_beta/generated/models/privilege_management_end_user_type.py @@ -9,6 +9,6 @@ class PrivilegeManagementEndUserType(str, Enum): Hybrid = "hybrid", # The user who performed the elevation logged in using a Windows local account. Local = "local", - # Evolvable emuneration sentinel value. Do not use. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/privilege_management_process_type.py b/msgraph_beta/generated/models/privilege_management_process_type.py index b4a8bf55d26..0251de34ca3 100644 --- a/msgraph_beta/generated/models/privilege_management_process_type.py +++ b/msgraph_beta/generated/models/privilege_management_process_type.py @@ -7,6 +7,6 @@ class PrivilegeManagementProcessType(str, Enum): Parent = "parent", # The elevated process is a child process Child = "child", - # Evolvable emuneration sentinel value. Do not use + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/report.py b/msgraph_beta/generated/models/report.py index 4bca42797c2..241030e3fab 100644 --- a/msgraph_beta/generated/models/report.py +++ b/msgraph_beta/generated/models/report.py @@ -15,7 +15,7 @@ class Report(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Report content; details vary by report type. + # The http content that has the data content: Optional[bytes] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/ediscovery_case_member.py b/msgraph_beta/generated/models/security/ediscovery_case_member.py index 19bac35a03f..e87ca84a4c7 100644 --- a/msgraph_beta/generated/models/security/ediscovery_case_member.py +++ b/msgraph_beta/generated/models/security/ediscovery_case_member.py @@ -12,13 +12,13 @@ @dataclass class EdiscoveryCaseMember(Entity, Parsable): - # The displayName property + # The display name of the eDiscovery case member. Allowed only for case members of type roleGroup. display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The recipientType property + # Specifies the recipient type of the eDiscovery case member. The possible values are: user, roleGroup, unknownFutureValue. recipient_type: Optional[RecipientType] = None - # The smtpAddress property + # The smtp address of the eDiscovery case member. Allowed only for case members of type user. smtp_address: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/service_now_connection_status.py b/msgraph_beta/generated/models/service_now_connection_status.py index d66744c2099..0722ee99686 100644 --- a/msgraph_beta/generated/models/service_now_connection_status.py +++ b/msgraph_beta/generated/models/service_now_connection_status.py @@ -5,6 +5,6 @@ class ServiceNowConnectionStatus(str, Enum): Disabled = "disabled", # Tenant has enabled the connection Enabled = "enabled", - # Future authentication method to be added here. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/sign_in.py b/msgraph_beta/generated/models/sign_in.py index 3d97edd9c22..e1dca2a5671 100644 --- a/msgraph_beta/generated/models/sign_in.py +++ b/msgraph_beta/generated/models/sign_in.py @@ -14,7 +14,6 @@ from .authentication_detail import AuthenticationDetail from .authentication_requirement_policy import AuthenticationRequirementPolicy from .client_credential_type import ClientCredentialType - from .conditional_access_audience import ConditionalAccessAudience from .conditional_access_status import ConditionalAccessStatus from .device_detail import DeviceDetail from .entity import Entity @@ -82,7 +81,7 @@ class SignIn(Entity, Parsable): # Describes the credential type that a user client or service principal provided to Microsoft Entra ID to authenticate itself. You can review this property to track and eliminate less secure credential types or to watch for clients and service principals using anomalous credential types. The possible values are: none, clientSecret, clientAssertion, federatedIdentityCredential, managedIdentity, certificate, unknownFutureValue. client_credential_type: Optional[ClientCredentialType] = None # A list that indicates the audience that Conditional Access evaluated during a sign-in event. Supports $filter (eq). - conditional_access_audiences: Optional[list[ConditionalAccessAudience]] = None + conditional_access_audiences: Optional[list[str]] = None # The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). conditional_access_status: Optional[ConditionalAccessStatus] = None # The identifier the client sends when sign-in is initiated. This property is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). @@ -218,7 +217,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .authentication_detail import AuthenticationDetail from .authentication_requirement_policy import AuthenticationRequirementPolicy from .client_credential_type import ClientCredentialType - from .conditional_access_audience import ConditionalAccessAudience from .conditional_access_status import ConditionalAccessStatus from .device_detail import DeviceDetail from .entity import Entity @@ -251,7 +249,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .authentication_detail import AuthenticationDetail from .authentication_requirement_policy import AuthenticationRequirementPolicy from .client_credential_type import ClientCredentialType - from .conditional_access_audience import ConditionalAccessAudience from .conditional_access_status import ConditionalAccessStatus from .device_detail import DeviceDetail from .entity import Entity @@ -296,7 +293,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "azureResourceId": lambda n : setattr(self, 'azure_resource_id', n.get_str_value()), "clientAppUsed": lambda n : setattr(self, 'client_app_used', n.get_str_value()), "clientCredentialType": lambda n : setattr(self, 'client_credential_type', n.get_enum_value(ClientCredentialType)), - "conditionalAccessAudiences": lambda n : setattr(self, 'conditional_access_audiences', n.get_collection_of_object_values(ConditionalAccessAudience)), + "conditionalAccessAudiences": lambda n : setattr(self, 'conditional_access_audiences', n.get_collection_of_primitive_values(str)), "conditionalAccessStatus": lambda n : setattr(self, 'conditional_access_status', n.get_enum_value(ConditionalAccessStatus)), "correlationId": lambda n : setattr(self, 'correlation_id', n.get_str_value()), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), @@ -384,7 +381,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("azureResourceId", self.azure_resource_id) writer.write_str_value("clientAppUsed", self.client_app_used) writer.write_enum_value("clientCredentialType", self.client_credential_type) - writer.write_collection_of_object_values("conditionalAccessAudiences", self.conditional_access_audiences) + writer.write_collection_of_primitive_values("conditionalAccessAudiences", self.conditional_access_audiences) writer.write_enum_value("conditionalAccessStatus", self.conditional_access_status) writer.write_str_value("correlationId", self.correlation_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/site_archival_details.py b/msgraph_beta/generated/models/site_archival_details.py index b5c8fd9b4f0..6d52e55da4b 100644 --- a/msgraph_beta/generated/models/site_archival_details.py +++ b/msgraph_beta/generated/models/site_archival_details.py @@ -1,4 +1,5 @@ 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 @@ -6,6 +7,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .identity_set import IdentitySet from .site_archive_status import SiteArchiveStatus @dataclass @@ -17,6 +19,10 @@ class SiteArchivalDetails(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # Represents the current archive status of the site collection. Returned only on $select. archive_status: Optional[SiteArchiveStatus] = None + # The archivedBy property + archived_by: Optional[IdentitySet] = None + # The archivedDateTime property + archived_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None @@ -36,12 +42,16 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .identity_set import IdentitySet from .site_archive_status import SiteArchiveStatus + from .identity_set import IdentitySet from .site_archive_status import SiteArchiveStatus fields: dict[str, Callable[[Any], None]] = { "archiveStatus": lambda n : setattr(self, 'archive_status', n.get_enum_value(SiteArchiveStatus)), + "archivedBy": lambda n : setattr(self, 'archived_by', n.get_object_value(IdentitySet)), + "archivedDateTime": lambda n : setattr(self, 'archived_date_time', n.get_datetime_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -55,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_enum_value("archiveStatus", self.archive_status) + writer.write_object_value("archivedBy", self.archived_by) + writer.write_datetime_value("archivedDateTime", self.archived_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/vpn_traffic_direction.py b/msgraph_beta/generated/models/vpn_traffic_direction.py index 50b3db037d5..2cd5b480e56 100644 --- a/msgraph_beta/generated/models/vpn_traffic_direction.py +++ b/msgraph_beta/generated/models/vpn_traffic_direction.py @@ -5,6 +5,6 @@ class VpnTrafficDirection(str, Enum): Outbound = "outbound", # The rule applies to all inbound traffic. Inbound = "inbound", - # Evolvable enum member + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/win_get_app_notification.py b/msgraph_beta/generated/models/win_get_app_notification.py index e3a35dfd226..522ee0c7a3e 100644 --- a/msgraph_beta/generated/models/win_get_app_notification.py +++ b/msgraph_beta/generated/models/win_get_app_notification.py @@ -7,6 +7,6 @@ class WinGetAppNotification(str, Enum): ShowReboot = "showReboot", # Hide all notifications. HideAll = "hideAll", - # Unknown future value, reserved for future usage as expandable enum. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/windows10_vpn_connection_type.py b/msgraph_beta/generated/models/windows10_vpn_connection_type.py index 6925ad2202d..16c796dc2de 100644 --- a/msgraph_beta/generated/models/windows10_vpn_connection_type.py +++ b/msgraph_beta/generated/models/windows10_vpn_connection_type.py @@ -23,7 +23,7 @@ class Windows10VpnConnectionType(str, Enum): PaloAltoGlobalProtect = "paloAltoGlobalProtect", # Cisco AnyConnect CiscoAnyConnect = "ciscoAnyConnect", - # Sentinel member for cases where the client cannot handle the new enum values. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", # Microsoft Tunnel connection type MicrosoftTunnel = "microsoftTunnel", diff --git a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py index 6a1a8bcf120..c51121bd685 100644 --- a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py @@ -16,7 +16,7 @@ class WindowsAppXAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsAppXAppAssignmentSettings" - # Whether or not to use device execution context for Windows AppX mobile app. + # When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. use_device_context: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_autopilot_device_remediation_state.py b/msgraph_beta/generated/models/windows_autopilot_device_remediation_state.py index f2955bbeeea..3a303c77366 100644 --- a/msgraph_beta/generated/models/windows_autopilot_device_remediation_state.py +++ b/msgraph_beta/generated/models/windows_autopilot_device_remediation_state.py @@ -9,6 +9,6 @@ class WindowsAutopilotDeviceRemediationState(str, Enum): AutomaticRemediationRequired = "automaticRemediationRequired", # Hardware change detected on client that could not resolved automatically. Additional remediation is required. ManualRemediationRequired = "manualRemediationRequired", - # Marks the end of known enum values, and allows for additional values in the future. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/windows_autopilot_profile_assignment_detailed_status.py b/msgraph_beta/generated/models/windows_autopilot_profile_assignment_detailed_status.py index 445b62f5535..ddbbd845fed 100644 --- a/msgraph_beta/generated/models/windows_autopilot_profile_assignment_detailed_status.py +++ b/msgraph_beta/generated/models/windows_autopilot_profile_assignment_detailed_status.py @@ -13,6 +13,6 @@ class WindowsAutopilotProfileAssignmentDetailedStatus(str, Enum): WindowsPcProfileNotSupported = "windowsPcProfileNotSupported", # Indicates that a surface Hub 2S AutoPilot Profile is assigned to a device that is not surface Hub 2S. SurfaceHub2SProfileNotSupported = "surfaceHub2SProfileNotSupported", - # Placeholder for evolvable enum, but this enum is never returned to the caller, so it shouldn't be necessary. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/windows_package_information.py b/msgraph_beta/generated/models/windows_package_information.py index 72122b9954c..2d7537244b1 100644 --- a/msgraph_beta/generated/models/windows_package_information.py +++ b/msgraph_beta/generated/models/windows_package_information.py @@ -12,7 +12,7 @@ @dataclass class WindowsPackageInformation(AdditionalDataHolder, BackedModel, Parsable): """ - Contains properties for the package information for a Windows line of business app. Used as property within windowsPhone81AppXBundle object, which is also being deprecated. This complex type will be deprecated in February 2023. + Contains properties for the package information for a Windows line-of-business app. Used as property within windowsPhone81AppXBundle object, which is also being deprecated. This complex type will be deprecated in February 2023. """ # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) diff --git a/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py index c8440de5a9b..b31b2d58b2d 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py @@ -16,7 +16,7 @@ class WindowsUniversalAppXAppAssignmentSettings(MobileAppAssignmentSettings, Par """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsUniversalAppXAppAssignmentSettings" - # If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + # Whether or not to use device execution context for Windows Universal AppX mobile app. use_device_context: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_update_for_business_update_weeks.py b/msgraph_beta/generated/models/windows_update_for_business_update_weeks.py index 21f69ccba7f..35ab057b546 100644 --- a/msgraph_beta/generated/models/windows_update_for_business_update_weeks.py +++ b/msgraph_beta/generated/models/windows_update_for_business_update_weeks.py @@ -13,6 +13,6 @@ class WindowsUpdateForBusinessUpdateWeeks(str, Enum): FourthWeek = "fourthWeek", # Scheduled the update installation on every week of the month EveryWeek = "everyWeek", - # Evolvable enum member + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/windows_update_notification_display_option.py b/msgraph_beta/generated/models/windows_update_notification_display_option.py index 4e455a71e96..45089f23947 100644 --- a/msgraph_beta/generated/models/windows_update_notification_display_option.py +++ b/msgraph_beta/generated/models/windows_update_notification_display_option.py @@ -9,6 +9,6 @@ class WindowsUpdateNotificationDisplayOption(str, Enum): RestartWarningsOnly = "restartWarningsOnly", # Turn off all notifications, including restart warnings. DisableAllNotifications = "disableAllNotifications", - # Evolvable enum member + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/wired_network_authentication_method.py b/msgraph_beta/generated/models/wired_network_authentication_method.py index b343db779a7..c3d21bd21fb 100644 --- a/msgraph_beta/generated/models/wired_network_authentication_method.py +++ b/msgraph_beta/generated/models/wired_network_authentication_method.py @@ -7,6 +7,6 @@ class WiredNetworkAuthenticationMethod(str, Enum): UsernameAndPassword = "usernameAndPassword", # Use Derived Credential for authentication. DerivedCredential = "derivedCredential", - # Sentinel member for cases where the client cannot handle the new enum values. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/wired_network_authentication_type.py b/msgraph_beta/generated/models/wired_network_authentication_type.py index e28f3c8629e..e6a6b8e8336 100644 --- a/msgraph_beta/generated/models/wired_network_authentication_type.py +++ b/msgraph_beta/generated/models/wired_network_authentication_type.py @@ -11,6 +11,6 @@ class WiredNetworkAuthenticationType(str, Enum): MachineOrUser = "machineOrUser", # Guest Authentication Guest = "guest", - # Sentinel member for cases where the client cannot handle the new enum values. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/zebra_fota_connector_state.py b/msgraph_beta/generated/models/zebra_fota_connector_state.py index 4c1981311af..8c3591b57ec 100644 --- a/msgraph_beta/generated/models/zebra_fota_connector_state.py +++ b/msgraph_beta/generated/models/zebra_fota_connector_state.py @@ -7,6 +7,6 @@ class ZebraFotaConnectorState(str, Enum): Connected = "connected", # Disconnected state indicates that the account was connected in the past and later disconnected. Disconnected = "disconnected", - # Unknown future enum value. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/zebra_fota_deployment_state.py b/msgraph_beta/generated/models/zebra_fota_deployment_state.py index c32e908af64..362bda02b9c 100644 --- a/msgraph_beta/generated/models/zebra_fota_deployment_state.py +++ b/msgraph_beta/generated/models/zebra_fota_deployment_state.py @@ -15,6 +15,6 @@ class ZebraFotaDeploymentState(str, Enum): PendingCancel = "pendingCancel", # Deployment has been successfully canceled by Zebra. Canceled = "canceled", - # Unknown future enum value. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/zebra_fota_network_type.py b/msgraph_beta/generated/models/zebra_fota_network_type.py index ffcbec65187..156513fb122 100644 --- a/msgraph_beta/generated/models/zebra_fota_network_type.py +++ b/msgraph_beta/generated/models/zebra_fota_network_type.py @@ -9,6 +9,6 @@ class ZebraFotaNetworkType(str, Enum): Cellular = "cellular", # The device will install the update when connected both WiFi and Cellular. WifiAndCellular = "wifiAndCellular", - # Unknown future enum value. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/zebra_fota_schedule_mode.py b/msgraph_beta/generated/models/zebra_fota_schedule_mode.py index b73415d3621..df2461de0b7 100644 --- a/msgraph_beta/generated/models/zebra_fota_schedule_mode.py +++ b/msgraph_beta/generated/models/zebra_fota_schedule_mode.py @@ -5,6 +5,6 @@ class ZebraFotaScheduleMode(str, Enum): InstallNow = "installNow", # Schedule an update to be installed at a specified date and time. Scheduled = "scheduled", - # Unknown future enum value. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/zebra_fota_update_type.py b/msgraph_beta/generated/models/zebra_fota_update_type.py index 6bd3ee3bdbd..1e7ef033c82 100644 --- a/msgraph_beta/generated/models/zebra_fota_update_type.py +++ b/msgraph_beta/generated/models/zebra_fota_update_type.py @@ -7,6 +7,6 @@ class ZebraFotaUpdateType(str, Enum): Latest = "latest", # The device always looks for the latest package available in the repo and tries to update whenever a new package is available. This continues until the admin cancels the auto update. Auto = "auto", - # Unknown future enum value. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py b/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py index e34bbcfcc3b..81e9ad03ec3 100644 --- a/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/network_access/alerts/alerts_request_builder.py @@ -78,7 +78,7 @@ def microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_wit param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder """ - warn(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -94,7 +94,7 @@ def microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_t param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder """ - warn(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: diff --git a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time_request_builder.py index 9c66f1e14ed..5c39a37aee2 100644 --- a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time_request_builder.py @@ -42,7 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse] """ - warn(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -63,7 +63,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(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", 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") @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphNetworkaccessGetAlertFrequencie param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder """ - warn(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time_request_builder.py index fb377ebe3e2..14c82291c9d 100644 --- a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time_request_builder.py @@ -42,7 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse] """ - warn(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -63,7 +63,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(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", 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") @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphNetworkaccessGetAlertSeveritySu param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder """ - warn(" as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn(" as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py index 23043b210ef..6dcbfac1f00 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py @@ -39,7 +39,7 @@ def by_branch_site_id(self,branch_site_id: str) -> BranchSiteItemRequestBuilder: param branch_site_id: The unique identifier of branchSite Returns: BranchSiteItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if branch_site_id is None: raise TypeError("branch_site_id cannot be null.") from .item.branch_site_item_request_builder import BranchSiteItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Branches Returns: Optional[BranchSiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-connectivity-list-branches?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: BranchSite, request_configuration: Optional[RequestCon Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-connectivity-post-branches?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: BranchSite, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> BranchesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BranchesRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BranchesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py index 56d8ca5d779..2ff434a629b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py index c52ecc91c51..d00c15d9a82 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py @@ -40,7 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-delete?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,7 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BranchSi Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-get?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,7 +83,7 @@ async def patch(self,body: BranchSite, request_configuration: Optional[RequestCo Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-update?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -131,7 +131,7 @@ def to_patch_request_information(self,body: BranchSite, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,7 +146,7 @@ def with_url(self,raw_url: str) -> BranchSiteItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BranchSiteItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BranchSiteItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py index c9c63f64e76..e892784e241 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py @@ -37,7 +37,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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecti Returns: Optional[BranchConnectivityConfiguration] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchconnectivityconfiguration-get?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: BranchConnectivityConfiguration, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchConnectivityConfiguration] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: BranchConnectivityConfiguration, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> ConnectivityConfigurationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectivityConfigurationRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectivityConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py index 9eccb12ca48..131e69bb319 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py index e705e24335d..e576201d923 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py @@ -36,7 +36,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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: ConnectivityConfigurationLink, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: ConnectivityConfigurationLink, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> ConnectivityConfigurationLinkItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: ConnectivityConfigurationLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectivityConfigurationLinkItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py index 0811df02142..2fadab152de 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py @@ -39,7 +39,7 @@ def by_connectivity_configuration_link_id(self,connectivity_configuration_link_i param connectivity_configuration_link_id: The unique identifier of connectivityConfigurationLink Returns: ConnectivityConfigurationLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if connectivity_configuration_link_id is None: raise TypeError("connectivity_configuration_link_id cannot be null.") from .item.connectivity_configuration_link_item_request_builder import ConnectivityConfigurationLinkItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LinksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLinkCollectionResponse] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: ConnectivityConfigurationLink, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: ConnectivityConfigurationLink, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> LinksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LinksRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LinksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py index 4ca2683474c..39d0f9d5ba0 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py index b96eb7b15c7..608272c18f6 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py @@ -39,7 +39,7 @@ def by_device_link_id(self,device_link_id: str) -> DeviceLinkItemRequestBuilder: param device_link_id: The unique identifier of deviceLink Returns: DeviceLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if device_link_id is None: raise TypeError("device_link_id cannot be null.") from .item.device_link_item_request_builder import DeviceLinkItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceLi Returns: Optional[DeviceLinkCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-devicelinks?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: DeviceLink, request_configuration: Optional[RequestCon Returns: Optional[DeviceLink] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-post-devicelinks?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: DeviceLink, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> DeviceLinksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeviceLinksRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeviceLinksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py index 06e2dcabcc5..ad41e8fc047 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-delete-devicelinks?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceLi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: DeviceLink, request_configuration: Optional[RequestCo Returns: Optional[DeviceLink] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-devicelink-update?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: DeviceLink, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> DeviceLinkItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeviceLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeviceLinkItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py index 124044bf685..d5b79f923e6 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py index 699dc8e4473..de2bc496cd3 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_forwarding_profile_id(self,forwarding_profile_id: str) -> ForwardingProfi param forwarding_profile_id: The unique identifier of forwardingProfile Returns: ForwardingProfileItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if forwarding_profile_id is None: raise TypeError("forwarding_profile_id cannot be null.") from .item.forwarding_profile_item_request_builder import ForwardingProfileItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Forwardi Returns: Optional[ForwardingProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-forwardingprofiles?view=graph-rest-beta """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: ForwardingProfile, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: ForwardingProfile, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> ForwardingProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ForwardingProfilesRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ForwardingProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py index d969716968c..4c84e922d44 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Forwardi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: ForwardingProfile, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: ForwardingProfile, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> ForwardingProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ForwardingProfileItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ForwardingProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py index 9054f709ae7..73105e08eb9 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py index f14818264e8..b1c23a6617b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Policy] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py index 4c8c72930cb..255699e747a 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py @@ -37,7 +37,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("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyLi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: PolicyLink, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: PolicyLink, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> PolicyLinkItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyLinkItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py index 2e1a70701a8..7ab783aab93 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py @@ -39,7 +39,7 @@ def by_policy_link_id(self,policy_link_id: str) -> PolicyLinkItemRequestBuilder: param policy_link_id: The unique identifier of policyLink Returns: PolicyLinkItemRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if policy_link_id is None: raise TypeError("policy_link_id cannot be null.") from .item.policy_link_item_request_builder import PolicyLinkItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Policies param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLinkCollectionResponse] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PolicyLink, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PolicyLink] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PolicyLink, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> PoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PoliciesRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py index 360ce53b321..29b8d70ecba 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/service_principal/service_principal_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServicePrincipalRequestBuilder """ - warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess", DeprecationWarning) + warn("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py b/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py index f7b67843c7d..730f794c4c2 100644 --- a/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py +++ b/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py @@ -36,7 +36,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("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ItemInsi Returns: Optional[InsightsSettings] Find more info here: https://learn.microsoft.com/graph/api/organizationsettings-list-iteminsights?view=graph-rest-beta """ - warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: InsightsSettings, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] """ - warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: InsightsSettings, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> ItemInsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ItemInsightsRequestBuilder """ - warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings", DeprecationWarning) + warn("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ItemInsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py index 99362cb14ad..5d1e88195dd 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py @@ -54,7 +54,7 @@ def find_by_method_mode_with_authentication_method_modes(self,authentication_met param authentication_method_modes: Usage: authenticationMethodModes={authenticationMethodModes} Returns: FindByMethodModeWithAuthenticationMethodModesRequestBuilder """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if authentication_method_modes is None: raise TypeError("authentication_method_modes cannot be null.") from .find_by_method_mode_with_authentication_method_modes.find_by_method_mode_with_authentication_method_modes_request_builder import FindByMethodModeWithAuthenticationMethodModesRequestBuilder diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py index 401ffed3667..d41fb49126c 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py @@ -40,7 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FindByMe Returns: Optional[FindByMethodModeWithAuthenticationMethodModesGetResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", 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") @@ -73,7 +73,7 @@ def with_url(self,raw_url: str) -> FindByMethodModeWithAuthenticationMethodModes param raw_url: The raw URL to use for the request builder. Returns: FindByMethodModeWithAuthenticationMethodModesRequestBuilder """ - warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove", DeprecationWarning) + warn("The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindByMethodModeWithAuthenticationMethodModesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py index d207ee507f4..9760a56d587 100644 --- a/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py index 3800439679d..36438945a9b 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AllowedG param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> AllowedGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AllowedGroupsRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AllowedGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py index dd06abbf36e..7c44f5b853a 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py index 5ec4f39aab7..4ee4c950557 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py @@ -35,7 +35,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,7 +54,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py index a1c21ebd441..f4106c552d0 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 5d53395bf08..6453733033e 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py index a72f41690fe..b582d0be28d 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/print/printerShares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,7 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, '{+baseurl}/print/printerShares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,7 +124,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/print/printerShares/{printerShare%2Did}/allowedGroups/$ref', self.path_parameters) @@ -139,7 +139,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py index a3ea6d8c093..8ae76ab202c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AllowedU param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> AllowedUsersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AllowedUsersRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AllowedUsersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py index 38b21fd11d2..9997de80c38 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py index b003bfae689..947e8f8ae6e 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -94,7 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -109,7 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py index 89f9b2b90a3..133f86d54f8 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-beta """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py index 1d54b4d0ace..fc63a59ac4f 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 7351a3916fa..3ab8fc0e6f2 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py index 505e71b1211..20d28e279b0 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py @@ -38,7 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-beta """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/print/printerShares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, '{+baseurl}/print/printerShares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, '{+baseurl}/print/printerShares/{printerShare%2Did}/allowedUsers/$ref', self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py index 49b8f6fc2f1..3e60eecf628 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py index feba4e1240b..ec34522e056 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: AbortPostRequestBody, request_configuration: Optional[ Returns: None Find more info here: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-beta """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: AbortPostRequestBody, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> AbortRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AbortRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AbortRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py index a909b257b9b..13fc4f96eaf 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-beta """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py index 4752c770d8d..ea75ffaf4d9 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CancelPrintJobRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelPrintJobRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelPrintJobRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py index 2268725b8a8..474de940791 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py index 95300e23078..3a39e602edc 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py @@ -39,7 +39,7 @@ def by_print_document_id(self,print_document_id: str) -> PrintDocumentItemReques param print_document_id: The unique identifier of printDocument Returns: PrintDocumentItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_document_id is None: raise TypeError("print_document_id cannot be null.") from .item.print_document_item_request_builder import PrintDocumentItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Document param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintDocumentCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintDocument, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintDocument] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintDocument, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> DocumentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DocumentsRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DocumentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py index f0a238685cd..0fb790e7558 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: CreateUploadSessionPostRequestBody, request_configurat Returns: Optional[UploadSession] Find more info here: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-beta """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: CreateUploadSessionPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> CreateUploadSessionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreateUploadSessionRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreateUploadSessionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py index f7e5e3c9c06..109c4f7793c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintDoc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintDocument] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: PrintDocument, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintDocument] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: PrintDocument, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> PrintDocumentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintDocumentItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintDocumentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py index 7e7de6c9b29..ed5c3b9e56a 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py @@ -35,7 +35,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -95,7 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -120,7 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -135,7 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py index c907266c01e..5500f90e294 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py @@ -44,7 +44,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintJob param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -85,7 +85,7 @@ async def patch(self,body: PrintJob, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -133,7 +133,7 @@ def to_patch_request_information(self,body: PrintJob, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -148,7 +148,7 @@ def with_url(self,raw_url: str) -> PrintJobItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintJobItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py index 9ee2fc43867..1aaf865cecd 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: RedirectPostRequestBody, request_configuration: Option Returns: Optional[PrintJob] Find more info here: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-beta """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: RedirectPostRequestBody, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> RedirectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RedirectRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RedirectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py index 23cd1de600a..2fba34c941c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJobStatus] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,7 +57,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> StartRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StartRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StartRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py index 68773754aeb..adc52eecf65 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJobStatus] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,7 +57,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> StartPrintJobRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StartPrintJobRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StartPrintJobRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py index 20f70d9cf34..134f36c01a4 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py index be01c2b8103..94da989721a 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskDefinition] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> DefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py index 5941c78fbae..3f53bd8b03b 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintTas param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTask] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: PrintTask, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTask] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: PrintTask, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> PrintTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintTaskItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py index a04f6fc1f37..2e5e51c6249 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TriggerR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskTrigger] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> TriggerRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TriggerRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TriggerRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py index b6017176434..0e5710f0add 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py @@ -39,7 +39,7 @@ def by_print_task_id(self,print_task_id: str) -> PrintTaskItemRequestBuilder: param print_task_id: The unique identifier of printTask Returns: PrintTaskItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_task_id is None: raise TypeError("print_task_id cannot be null.") from .item.print_task_item_request_builder import PrintTaskItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintTask, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTask] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintTask, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py index 461139f386e..e54563e80d3 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py @@ -39,7 +39,7 @@ def by_print_job_id(self,print_job_id: str) -> PrintJobItemRequestBuilder: param print_job_id: The unique identifier of printJob Returns: PrintJobItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_job_id is None: raise TypeError("print_job_id cannot be null.") from .item.print_job_item_request_builder import PrintJobItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[JobsRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJobCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintJob, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintJob, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> JobsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: JobsRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return JobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py index 6e61941137e..bafac69d311 100644 --- a/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrinterR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Printer] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> PrinterRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrinterRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrinterRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py index f69ad648426..f74c8fd253b 100644 --- a/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py @@ -40,7 +40,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("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrinterS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,7 +81,7 @@ async def patch(self,body: PrinterShare, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,7 +129,7 @@ def to_patch_request_information(self,body: PrinterShare, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> PrinterShareItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrinterShareItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrinterShareItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py b/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py index 87f3cf28e1d..12efe39455d 100644 --- a/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py @@ -39,7 +39,7 @@ def by_printer_share_id(self,printer_share_id: str) -> PrinterShareItemRequestBu param printer_share_id: The unique identifier of printerShare Returns: PrinterShareItemRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if printer_share_id is None: raise TypeError("printer_share_id cannot be null.") from .item.printer_share_item_request_builder import PrinterShareItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrinterS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShareCollectionResponse] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrinterShare, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrinterShare, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> PrinterSharesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrinterSharesRequestBuilder """ - warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrinterSharesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py b/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py index aafaa66d932..3f083ac3cb3 100644 --- a/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[PrinterCapabilities] Find more info here: https://learn.microsoft.com/graph/api/printer-getcapabilities?view=graph-rest-beta """ - warn("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCapabilitiesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCapabilitiesRequestBuilder """ - warn("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCapabilitiesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py index fed30a0af0c..d155df7f71d 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CancelPrintJobRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelPrintJobRequestBuilder """ - warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelPrintJobRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py index 75d17c2fa6c..effda24db8d 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJobStatus] """ - warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,7 +57,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("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> StartPrintJobRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StartPrintJobRequestBuilder """ - warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StartPrintJobRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py b/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py index 1be73d8144d..749b67c46ce 100644 --- a/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> ResetDefaultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResetDefaultsRequestBuilder """ - warn("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResetDefaultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/printers/item/share/share_request_builder.py b/msgraph_beta/generated/print/printers/item/share/share_request_builder.py index dc8e430079b..ddf4626c1c2 100644 --- a/msgraph_beta/generated/print/printers/item/share/share_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/share/share_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ShareReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] """ - warn("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> ShareRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ShareRequestBuilder """ - warn("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ShareRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py index 0d2581d0fde..eb6b0c3a873 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py @@ -35,7 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,7 +54,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("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CancelPrintJobRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelPrintJobRequestBuilder """ - warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelPrintJobRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py index 9d057734a05..e04edf4afce 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJobStatus] """ - warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,7 +57,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("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> StartPrintJobRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StartPrintJobRequestBuilder """ - warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StartPrintJobRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py index e66303cd382..390134048fa 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py index cafc8170b66..a0785c16bf3 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py @@ -38,7 +38,7 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: param user_id: The unique identifier of user Returns: UserItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .item.user_item_request_builder import UserItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approver param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> ApproversRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApproversRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApproversRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py index c7ef6091e9c..a8bc645837f 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py index f7f2546216d..57274d47185 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -94,7 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -109,7 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py index 1d2c0438911..a1bfc67dd62 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 10221631d91..36aa570e87c 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py index e6ec1e1470e..0890e37e171 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py @@ -38,7 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserItem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,7 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -71,7 +71,7 @@ def with_url(self,raw_url: str) -> UserItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py index 8fd583e8d0b..d10066c4178 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py @@ -39,7 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approver param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -72,7 +72,7 @@ def with_url(self,raw_url: str) -> ApproversWithUserPrincipalNameRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApproversWithUserPrincipalNameRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApproversWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py index cbce295d281..55336a093d2 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py @@ -38,7 +38,7 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: param user_id: The unique identifier of user Returns: UserItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .item.user_item_request_builder import UserItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Collabor param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> CollaboratorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CollaboratorsRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CollaboratorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py index d344f1c1fb1..55a8268fedd 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py index 8f5037ddf08..ea2ffe2423c 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -94,7 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -109,7 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py index b46c9756cb0..bff9a88d364 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index c8377f6da4e..4cc04349f2e 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py index 1354e67613a..53fc36d8986 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py @@ -38,7 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserItem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,7 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -71,7 +71,7 @@ def with_url(self,raw_url: str) -> UserItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py index a6627abab69..d6c4f995eac 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py @@ -39,7 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Collabor param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -72,7 +72,7 @@ def with_url(self,raw_url: str) -> CollaboratorsWithUserPrincipalNameRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CollaboratorsWithUserPrincipalNameRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CollaboratorsWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py index f2c44b126fc..4a0d0daa7d8 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: bytes Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-getfinalattachment?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -55,7 +55,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> GetFinalAttachmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetFinalAttachmentRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetFinalAttachmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py index e8d78dcf6d4..2790afb4466 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: bytes Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-getfinalreport?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -55,7 +55,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> GetFinalReportRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetFinalReportRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetFinalReportRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py index c6aaa72e3ef..434b69bc276 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py index 9eb4c1cb4e0..b0122f892e0 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py @@ -36,7 +36,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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authored param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthoredNote] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: AuthoredNote, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthoredNote] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: AuthoredNote, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> AuthoredNoteItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthoredNoteItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthoredNoteItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py index c2facc3d45f..0341c8eec1e 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py @@ -39,7 +39,7 @@ def by_authored_note_id(self,authored_note_id: str) -> AuthoredNoteItemRequestBu param authored_note_id: The unique identifier of authoredNote Returns: AuthoredNoteItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if authored_note_id is None: raise TypeError("authored_note_id cannot be null.") from .item.authored_note_item_request_builder import AuthoredNoteItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[NotesReq Returns: Optional[AuthoredNoteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: AuthoredNote, request_configuration: Optional[RequestC Returns: Optional[AuthoredNote] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-post-notes?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: AuthoredNote, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> NotesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NotesRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NotesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py index c3fe8759289..26288c98347 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py @@ -44,7 +44,7 @@ def approvers_with_user_principal_name(self,user_principal_name: str) -> Approve param user_principal_name: Alternate key of user Returns: ApproversWithUserPrincipalNameRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if user_principal_name is None: raise TypeError("user_principal_name cannot be null.") from .approvers_with_user_principal_name.approvers_with_user_principal_name_request_builder import ApproversWithUserPrincipalNameRequestBuilder @@ -57,7 +57,7 @@ def collaborators_with_user_principal_name(self,user_principal_name: str) -> Col param user_principal_name: Alternate key of user Returns: CollaboratorsWithUserPrincipalNameRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if user_principal_name is None: raise TypeError("user_principal_name cannot be null.") from .collaborators_with_user_principal_name.collaborators_with_user_principal_name_request_builder import CollaboratorsWithUserPrincipalNameRequestBuilder @@ -70,7 +70,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("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -90,7 +90,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR Returns: Optional[SubjectRightsRequest] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-get?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -113,7 +113,7 @@ async def patch(self,body: SubjectRightsRequest, request_configuration: Optional Returns: Optional[SubjectRightsRequest] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-update?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -136,7 +136,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -148,7 +148,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -161,7 +161,7 @@ def to_patch_request_information(self,body: SubjectRightsRequest, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -176,7 +176,7 @@ def with_url(self,raw_url: str) -> SubjectRightsRequestItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRightsRequestItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRightsRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py index 53a4eb4fadd..dd00fa46d1e 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TeamRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> TeamRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TeamRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TeamRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py index 2e8a68a03f5..2f87520ef87 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py @@ -39,7 +39,7 @@ def by_subject_rights_request_id(self,subject_rights_request_id: str) -> Subject param subject_rights_request_id: The unique identifier of subjectRightsRequest Returns: SubjectRightsRequestItemRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if subject_rights_request_id is None: raise TypeError("subject_rights_request_id cannot be null.") from .item.subject_rights_request_item_request_builder import SubjectRightsRequestItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR Returns: Optional[SubjectRightsRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: SubjectRightsRequest, request_configuration: Optional[ Returns: Optional[SubjectRightsRequest] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-post?view=graph-rest-beta """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: SubjectRightsRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> SubjectRightsRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRightsRequestsRequestBuilder """ - warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRightsRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py b/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py index ce961b08cd4..c32bb0a41b5 100644 --- a/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py @@ -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("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", 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") @@ -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("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py b/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py index 59dfa7a70e3..8891d7483ea 100644 --- a/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py +++ b/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py @@ -39,7 +39,7 @@ def by_credential_user_registration_details_id(self,credential_user_registration param credential_user_registration_details_id: The unique identifier of credentialUserRegistrationDetails Returns: CredentialUserRegistrationDetailsItemRequestBuilder """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) if credential_user_registration_details_id is None: raise TypeError("credential_user_registration_details_id cannot be null.") from .item.credential_user_registration_details_item_request_builder import CredentialUserRegistrationDetailsItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Credenti Returns: Optional[CredentialUserRegistrationDetailsCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-credentialuserregistrationdetails?view=graph-rest-beta """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: CredentialUserRegistrationDetails, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationDetails] """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 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( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: CredentialUserRegistrationDetails, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 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) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> CredentialUserRegistrationDetailsRequestBuild param raw_url: The raw URL to use for the request builder. Returns: CredentialUserRegistrationDetailsRequestBuilder """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CredentialUserRegistrationDetailsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py b/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py index 2ae7e4f48df..534003b8614 100644 --- a/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py +++ b/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py @@ -36,7 +36,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("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Credenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationDetails] """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: CredentialUserRegistrationDetails, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationDetails] """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: CredentialUserRegistrationDetails, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> CredentialUserRegistrationDetailsItemRequestB param raw_url: The raw URL to use for the request builder. Returns: CredentialUserRegistrationDetailsItemRequestBuilder """ - warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails", DeprecationWarning) + warn("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CredentialUserRegistrationDetailsItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py index fcd4ef5ccb9..8f8f4b33ff1 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py @@ -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("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py index a9cd3bb9358..d8fda8cf38f 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py @@ -39,7 +39,7 @@ def by_print_usage_by_printer_id(self,print_usage_by_printer_id: str) -> PrintUs param print_usage_by_printer_id: The unique identifier of printUsageByPrinter Returns: PrintUsageByPrinterItemRequestBuilder """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_usage_by_printer_id is None: raise TypeError("print_usage_by_printer_id cannot be null.") from .item.print_usage_by_printer_item_request_builder import PrintUsageByPrinterItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DailyPri param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinterCollectionResponse] """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintUsageByPrinter, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintUsageByPrinter, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> DailyPrintUsageSummariesByPrinterRequestBuild param raw_url: The raw URL to use for the request builder. Returns: DailyPrintUsageSummariesByPrinterRequestBuilder """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DailyPrintUsageSummariesByPrinterRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py index d98d69b0681..5e79a9673d4 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py @@ -36,7 +36,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("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintUsa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: PrintUsageByPrinter, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: PrintUsageByPrinter, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> PrintUsageByPrinterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintUsageByPrinterItemRequestBuilder """ - warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintUsageByPrinterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py index 58503a7db88..01368a2a12f 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py @@ -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("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py index 4cd2245134a..ebc2c9f38de 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py @@ -39,7 +39,7 @@ def by_print_usage_by_user_id(self,print_usage_by_user_id: str) -> PrintUsageByU param print_usage_by_user_id: The unique identifier of printUsageByUser Returns: PrintUsageByUserItemRequestBuilder """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_usage_by_user_id is None: raise TypeError("print_usage_by_user_id cannot be null.") from .item.print_usage_by_user_item_request_builder import PrintUsageByUserItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DailyPri param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUserCollectionResponse] """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintUsageByUser, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintUsageByUser, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> DailyPrintUsageSummariesByUserRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DailyPrintUsageSummariesByUserRequestBuilder """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DailyPrintUsageSummariesByUserRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py index 37d64ade452..43b1257c915 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py @@ -36,7 +36,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("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintUsa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: PrintUsageByUser, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: PrintUsageByUser, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> PrintUsageByUserItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintUsageByUserItemRequestBuilder """ - warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintUsageByUserItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py b/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py index 41cfd8da0c7..233c12c7aef 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetAttac Returns: Optional[GetAttackSimulationRepeatOffendersGetResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationrepeatoffenders?view=graph-rest-beta """ - warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetAttackSimulationRepeatOffendersRequestBuil param raw_url: The raw URL to use for the request builder. Returns: GetAttackSimulationRepeatOffendersRequestBuilder """ - warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetAttackSimulationRepeatOffendersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py b/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py index 1f695562c70..40bccd209b9 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetAttac Returns: Optional[GetAttackSimulationSimulationUserCoverageGetResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationsimulationusercoverage?view=graph-rest-beta """ - warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetAttackSimulationSimulationUserCoverageRequ param raw_url: The raw URL to use for the request builder. Returns: GetAttackSimulationSimulationUserCoverageRequestBuilder """ - warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetAttackSimulationSimulationUserCoverageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py b/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py index 018ddb48d55..37c32227f98 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetAttac Returns: Optional[GetAttackSimulationTrainingUserCoverageGetResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationtrainingusercoverage?view=graph-rest-beta """ - warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetAttackSimulationTrainingUserCoverageReques param raw_url: The raw URL to use for the request builder. Returns: GetAttackSimulationTrainingUserCoverageRequestBuilder """ - warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans", DeprecationWarning) + warn("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetAttackSimulationTrainingUserCoverageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py index 39c47a996d4..1eeda39a914 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py @@ -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("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py index f0a4b67205c..1f4a0fd116e 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py @@ -36,7 +36,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("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintUsa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: PrintUsageByPrinter, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: PrintUsageByPrinter, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> PrintUsageByPrinterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintUsageByPrinterItemRequestBuilder """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintUsageByPrinterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py index e637123e0c3..9731ba4c2ef 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py @@ -39,7 +39,7 @@ def by_print_usage_by_printer_id(self,print_usage_by_printer_id: str) -> PrintUs param print_usage_by_printer_id: The unique identifier of printUsageByPrinter Returns: PrintUsageByPrinterItemRequestBuilder """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_usage_by_printer_id is None: raise TypeError("print_usage_by_printer_id cannot be null.") from .item.print_usage_by_printer_item_request_builder import PrintUsageByPrinterItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MonthlyP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinterCollectionResponse] """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintUsageByPrinter, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintUsageByPrinter, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> MonthlyPrintUsageSummariesByPrinterRequestBui param raw_url: The raw URL to use for the request builder. Returns: MonthlyPrintUsageSummariesByPrinterRequestBuilder """ - warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MonthlyPrintUsageSummariesByPrinterRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py index de7e41ff5d0..1c7b0b1e002 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py @@ -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("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", 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") @@ -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("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py index c751ef289e8..42db8b47217 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py @@ -36,7 +36,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("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PrintUsa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: PrintUsageByUser, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: PrintUsageByUser, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> PrintUsageByUserItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrintUsageByUserItemRequestBuilder """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrintUsageByUserItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py index 5ef80ff0e91..b878b44c10c 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py @@ -39,7 +39,7 @@ def by_print_usage_by_user_id(self,print_usage_by_user_id: str) -> PrintUsageByU param print_usage_by_user_id: The unique identifier of printUsageByUser Returns: PrintUsageByUserItemRequestBuilder """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if print_usage_by_user_id is None: raise TypeError("print_usage_by_user_id cannot be null.") from .item.print_usage_by_user_item_request_builder import PrintUsageByUserItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MonthlyP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUserCollectionResponse] """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: PrintUsageByUser, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: PrintUsageByUser, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> MonthlyPrintUsageSummariesByUserRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: MonthlyPrintUsageSummariesByUserRequestBuilder """ - warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans", DeprecationWarning) + warn("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MonthlyPrintUsageSummariesByUserRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py index 75c43f46404..0b48edfbceb 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py @@ -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("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", 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") @@ -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("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py index 8298c0cae9a..80940dd2cce 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py @@ -38,7 +38,7 @@ def by_daily_inactive_users_by_application_metric_id(self,daily_inactive_users_b param daily_inactive_users_by_application_metric_id: The unique identifier of dailyInactiveUsersByApplicationMetric Returns: DailyInactiveUsersByApplicationMetricItemRequestBuilder """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if daily_inactive_users_by_application_metric_id is None: raise TypeError("daily_inactive_users_by_application_metric_id cannot be null.") from .item.daily_inactive_users_by_application_metric_item_request_builder import DailyInactiveUsersByApplicationMetricItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inactive param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DailyInactiveUsersByApplicationMetricCollectionResponse] """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> InactiveUsersByApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InactiveUsersByApplicationRequestBuilder """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InactiveUsersByApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py index e47dadfb3d1..108d38d9cd5 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DailyIna param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DailyInactiveUsersByApplicationMetric] """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> DailyInactiveUsersByApplicationMetricItemRequ param raw_url: The raw URL to use for the request builder. Returns: DailyInactiveUsersByApplicationMetricItemRequestBuilder """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DailyInactiveUsersByApplicationMetricItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py index d229f6da03c..c8d92f33572 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py @@ -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("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", 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") @@ -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("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py index 8c19f7f47ac..fd72e2a0152 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py @@ -38,7 +38,7 @@ def by_monthly_inactive_users_by_application_metric_id(self,monthly_inactive_use param monthly_inactive_users_by_application_metric_id: The unique identifier of monthlyInactiveUsersByApplicationMetric Returns: MonthlyInactiveUsersByApplicationMetricItemRequestBuilder """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if monthly_inactive_users_by_application_metric_id is None: raise TypeError("monthly_inactive_users_by_application_metric_id cannot be null.") from .item.monthly_inactive_users_by_application_metric_item_request_builder import MonthlyInactiveUsersByApplicationMetricItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inactive param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MonthlyInactiveUsersByApplicationMetricCollectionResponse] """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> InactiveUsersByApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InactiveUsersByApplicationRequestBuilder """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InactiveUsersByApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py index b9ea52b24fb..d8ccebdab7e 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MonthlyI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MonthlyInactiveUsersByApplicationMetric] """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> MonthlyInactiveUsersByApplicationMetricItemRe param raw_url: The raw URL to use for the request builder. Returns: MonthlyInactiveUsersByApplicationMetricItemRequestBuilder """ - warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs", DeprecationWarning) + warn("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MonthlyInactiveUsersByApplicationMetricItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py index 293e5a16a6e..8b3c3c4214a 100644 --- a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py +++ b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py @@ -48,10 +48,10 @@ def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemReques async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetectionCollectionResponse]: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetectionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: RiskDetection, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> RiskDetectionsRequestBuilder: @dataclass class RiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index ad2eb8b0913..ab8be829575 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -49,10 +49,10 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleAssignmentMultipleCollectionResponse]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/security/alerts/alerts_request_builder.py b/msgraph_beta/generated/security/alerts/alerts_request_builder.py index d14cd28da3b..f108955d488 100644 --- a/msgraph_beta/generated/security/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/security/alerts/alerts_request_builder.py @@ -40,7 +40,7 @@ def by_alert_id(self,alert_id: str) -> AlertItemRequestBuilder: param alert_id: The unique identifier of alert Returns: AlertItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if alert_id is None: raise TypeError("alert_id cannot be null.") from .item.alert_item_request_builder import AlertItemRequestBuilder @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertsRe Returns: Optional[AlertCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/alert-list?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: Alert, request_configuration: Optional[RequestConfigur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Alert] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: Alert, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> AlertsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/alerts/count/count_request_builder.py b/msgraph_beta/generated/security/alerts/count/count_request_builder.py index feb0b33351e..1b9a6c5b199 100644 --- a/msgraph_beta/generated/security/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/security/alerts/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py b/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py index 890dbc70079..c0789dff0b4 100644 --- a/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py +++ b/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertIte Returns: Optional[Alert] Find more info here: https://learn.microsoft.com/graph/api/alert-get?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,7 +60,7 @@ async def patch(self,body: Alert, request_configuration: Optional[RequestConfigu Returns: Optional[Alert] Find more info here: https://learn.microsoft.com/graph/api/alert-update?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -96,7 +96,7 @@ def to_patch_request_information(self,body: Alert, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -111,7 +111,7 @@ def with_url(self,raw_url: str) -> AlertItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py index cebbc25ff35..df5cb6db9f0 100644 --- a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py +++ b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: UpdateAlertsPostRequestBody, request_configuration: Op Returns: Optional[UpdateAlertsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/alert-updatealerts?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: UpdateAlertsPostRequestBody, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> UpdateAlertsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UpdateAlertsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UpdateAlertsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py b/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py index 59b06087585..9f2a601186e 100644 --- a/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_cloud_app_security_profile_id(self,cloud_app_security_profile_id: str) -> param cloud_app_security_profile_id: The unique identifier of cloudAppSecurityProfile Returns: CloudAppSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if cloud_app_security_profile_id is None: raise TypeError("cloud_app_security_profile_id cannot be null.") from .item.cloud_app_security_profile_item_request_builder import CloudAppSecurityProfileItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CloudApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudAppSecurityProfileCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: CloudAppSecurityProfile, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudAppSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: CloudAppSecurityProfile, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CloudAppSecurityProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CloudAppSecurityProfilesRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CloudAppSecurityProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py index 0b19e0622d4..8124a50d318 100644 --- a/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py b/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py index 5b7171d83cd..68f5266cec4 100644 --- a/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CloudApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudAppSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: CloudAppSecurityProfile, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudAppSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: CloudAppSecurityProfile, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> CloudAppSecurityProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CloudAppSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CloudAppSecurityProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py index faee636716a..0b7c44e7a0d 100644 --- a/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py b/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py index 4c8636f60ac..a7bf650d260 100644 --- a/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_domain_security_profile_id(self,domain_security_profile_id: str) -> Domai param domain_security_profile_id: The unique identifier of domainSecurityProfile Returns: DomainSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if domain_security_profile_id is None: raise TypeError("domain_security_profile_id cannot be null.") from .item.domain_security_profile_item_request_builder import DomainSecurityProfileItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DomainSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainSecurityProfileCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: DomainSecurityProfile, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: DomainSecurityProfile, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> DomainSecurityProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DomainSecurityProfilesRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DomainSecurityProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py b/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py index 3a02c2de650..39c5ae70358 100644 --- a/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DomainSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: DomainSecurityProfile, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: DomainSecurityProfile, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> DomainSecurityProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DomainSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DomainSecurityProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py index 1ab7ef6fd3e..764644169ea 100644 --- a/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py b/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py index 2e9c769ec9e..73a9df378b1 100644 --- a/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_file_security_profile_id(self,file_security_profile_id: str) -> FileSecur param file_security_profile_id: The unique identifier of fileSecurityProfile Returns: FileSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if file_security_profile_id is None: raise TypeError("file_security_profile_id cannot be null.") from .item.file_security_profile_item_request_builder import FileSecurityProfileItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FileSecu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileSecurityProfileCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: FileSecurityProfile, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: FileSecurityProfile, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> FileSecurityProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FileSecurityProfilesRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FileSecurityProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py b/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py index 3131b72cbfa..7ba6016c759 100644 --- a/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FileSecu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: FileSecurityProfile, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: FileSecurityProfile, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> FileSecurityProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FileSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FileSecurityProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py index 88a4c62bfa5..37bbc084cf3 100644 --- a/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py b/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py index 14e752f67cf..3c40e10d7a7 100644 --- a/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_host_security_profile_id(self,host_security_profile_id: str) -> HostSecur param host_security_profile_id: The unique identifier of hostSecurityProfile Returns: HostSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if host_security_profile_id is None: raise TypeError("host_security_profile_id cannot be null.") from .item.host_security_profile_item_request_builder import HostSecurityProfileItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[HostSecu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSecurityProfileCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: HostSecurityProfile, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: HostSecurityProfile, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> HostSecurityProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: HostSecurityProfilesRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return HostSecurityProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py b/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py index ca635c88fc0..82829b24ed7 100644 --- a/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[HostSecu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: HostSecurityProfile, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: HostSecurityProfile, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> HostSecurityProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: HostSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return HostSecurityProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py index 347820f3808..19965e46a94 100644 --- a/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py b/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py index 8a8474f967b..bd72f0c72bd 100644 --- a/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_ip_security_profile_id(self,ip_security_profile_id: str) -> IpSecurityPro param ip_security_profile_id: The unique identifier of ipSecurityProfile Returns: IpSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if ip_security_profile_id is None: raise TypeError("ip_security_profile_id cannot be null.") from .item.ip_security_profile_item_request_builder import IpSecurityProfileItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[IpSecuri param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IpSecurityProfileCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: IpSecurityProfile, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IpSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: IpSecurityProfile, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> IpSecurityProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IpSecurityProfilesRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IpSecurityProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py b/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py index 29fa650bb3d..4bbe01ea28e 100644 --- a/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[IpSecuri param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IpSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: IpSecurityProfile, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IpSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: IpSecurityProfile, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> IpSecurityProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IpSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IpSecurityProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py b/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py index 6d5f6c2b460..cbec6c4a266 100644 --- a/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py b/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py index 5632c915d85..d0950b049b7 100644 --- a/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py +++ b/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Provider param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProviderTenantSetting] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: ProviderTenantSetting, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProviderTenantSetting] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: ProviderTenantSetting, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> ProviderTenantSettingItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProviderTenantSettingItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProviderTenantSettingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py b/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py index 5d6328aa7d1..c20b5a7294e 100644 --- a/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py +++ b/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py @@ -39,7 +39,7 @@ def by_provider_tenant_setting_id(self,provider_tenant_setting_id: str) -> Provi param provider_tenant_setting_id: The unique identifier of providerTenantSetting Returns: ProviderTenantSettingItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if provider_tenant_setting_id is None: raise TypeError("provider_tenant_setting_id cannot be null.") from .item.provider_tenant_setting_item_request_builder import ProviderTenantSettingItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Provider param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProviderTenantSettingCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: ProviderTenantSetting, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProviderTenantSetting] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: ProviderTenantSetting, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> ProviderTenantSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProviderTenantSettingsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProviderTenantSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/security_actions/count/count_request_builder.py b/msgraph_beta/generated/security/security_actions/count/count_request_builder.py index 125897a6892..50d3eac0653 100644 --- a/msgraph_beta/generated/security/security_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py b/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py index 5ef305105e6..a8438d294bd 100644 --- a/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/securityaction-cancelsecurityaction?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> CancelSecurityActionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelSecurityActionRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelSecurityActionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py b/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py index 6ef90a83bbb..0218ade91a3 100644 --- a/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py @@ -37,7 +37,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security Returns: Optional[SecurityAction] Find more info here: https://learn.microsoft.com/graph/api/securityaction-get?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: SecurityAction, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityAction] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: SecurityAction, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> SecurityActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityActionItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py b/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py index e6edde75c9f..b7ae3e309b1 100644 --- a/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py @@ -39,7 +39,7 @@ def by_security_action_id(self,security_action_id: str) -> SecurityActionItemReq param security_action_id: The unique identifier of securityAction Returns: SecurityActionItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if security_action_id is None: raise TypeError("security_action_id cannot be null.") from .item.security_action_item_request_builder import SecurityActionItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security Returns: Optional[SecurityActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/securityactions-list?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: SecurityAction, request_configuration: Optional[Reques Returns: Optional[SecurityAction] Find more info here: https://learn.microsoft.com/graph/api/securityactions-post?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: SecurityAction, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> SecurityActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityActionsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py b/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py index 0f44d51c779..da984b4996b 100644 --- a/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py index 365b492440e..81866d7fdfe 100644 --- a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: DeleteTiIndicatorsPostRequestBody, request_configurati Returns: Optional[DeleteTiIndicatorsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicators?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: DeleteTiIndicatorsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> DeleteTiIndicatorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeleteTiIndicatorsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeleteTiIndicatorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py index f2b4fc59b22..188682b4e79 100644 --- a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: DeleteTiIndicatorsByExternalIdPostRequestBody, request Returns: Optional[DeleteTiIndicatorsByExternalIdPostResponse] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicatorsbyexternalid?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: DeleteTiIndicatorsByExternalIdPostReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> DeleteTiIndicatorsByExternalIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeleteTiIndicatorsByExternalIdRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeleteTiIndicatorsByExternalIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py b/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py index 2b08e1b4605..bade06fb9b6 100644 --- a/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/tiindicator-delete?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TiIndica Returns: Optional[TiIndicator] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-get?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: TiIndicator, request_configuration: Optional[RequestC Returns: Optional[TiIndicator] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-update?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: TiIndicator, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> TiIndicatorItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TiIndicatorItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TiIndicatorItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py index 66c4417e718..ec78f891d79 100644 --- a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: SubmitTiIndicatorsPostRequestBody, request_configurati Returns: Optional[SubmitTiIndicatorsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-submittiindicators?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: SubmitTiIndicatorsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> SubmitTiIndicatorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubmitTiIndicatorsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubmitTiIndicatorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py index 18fe874ed67..7ea8ef2980a 100644 --- a/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py @@ -43,7 +43,7 @@ def by_ti_indicator_id(self,ti_indicator_id: str) -> TiIndicatorItemRequestBuild param ti_indicator_id: The unique identifier of tiIndicator Returns: TiIndicatorItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if ti_indicator_id is None: raise TypeError("ti_indicator_id cannot be null.") from .item.ti_indicator_item_request_builder import TiIndicatorItemRequestBuilder @@ -59,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TiIndica Returns: Optional[TiIndicatorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tiindicators-list?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,7 +82,7 @@ async def post(self,body: TiIndicator, request_configuration: Optional[RequestCo Returns: Optional[TiIndicator] Find more info here: https://learn.microsoft.com/graph/api/tiindicators-post?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -118,7 +118,7 @@ def to_post_request_information(self,body: TiIndicator, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -133,7 +133,7 @@ def with_url(self,raw_url: str) -> TiIndicatorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TiIndicatorsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TiIndicatorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py index 0d45697ac1a..c6a4e34a4c8 100644 --- a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: UpdateTiIndicatorsPostRequestBody, request_configurati Returns: Optional[UpdateTiIndicatorsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-updatetiindicators?view=graph-rest-beta """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: UpdateTiIndicatorsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> UpdateTiIndicatorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UpdateTiIndicatorsRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UpdateTiIndicatorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py index 6b54120fdf7..9ba504c4e93 100644 --- a/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", 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") @@ -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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py b/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py index 64455b07819..5d8a8395748 100644 --- a/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py @@ -36,7 +36,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("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserSecu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: UserSecurityProfile, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: UserSecurityProfile, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> UserSecurityProfileItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserSecurityProfileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py b/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py index cf18d840fa5..f4f4a71fa2f 100644 --- a/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py @@ -39,7 +39,7 @@ def by_user_security_profile_id(self,user_security_profile_id: str) -> UserSecur param user_security_profile_id: The unique identifier of userSecurityProfile Returns: UserSecurityProfileItemRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if user_security_profile_id is None: raise TypeError("user_security_profile_id cannot be null.") from .item.user_security_profile_item_request_builder import UserSecurityProfileItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserSecu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSecurityProfileCollectionResponse] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: UserSecurityProfile, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSecurityProfile] """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: UserSecurityProfile, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> UserSecurityProfilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserSecurityProfilesRequestBuilder """ - warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning) + warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserSecurityProfilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py index eb201be90cd..8b416b30c6a 100644 --- a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py @@ -53,11 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ClaimsPo async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -77,11 +77,11 @@ async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[R async def put(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: CustomClaimsPolicy, request_configur def to_put_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index 9c74762db48..1d3afab029b 100644 --- a/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: DecryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferDecryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: DecryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> DecryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index e77cc2ff513..f7dad153a91 100644 --- a/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: EncryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferEncryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: EncryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> EncryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EncryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EncryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py index ded983993b6..5e7af291ea1 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index b7d4c1a8d4d..a03ebaa2ec5 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateApplicationPostRequestBody, request_configurat Returns: Optional[EvaluateApplicationPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateApplicationPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateApplicationRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 0edbdfb09d9..16e662b497d 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateClassificationResultsPostRequestBody, request_ Returns: Optional[EvaluateClassificationResultsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateClassificationResultsPostRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateClassificationResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateClassificationResultsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateClassificationResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index e0d5a66c4d9..8fd397058bb 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateRemovalPostRequestBody, request_configuration: Returns: Optional[EvaluateRemovalPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateRemovalPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateRemovalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateRemovalRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateRemovalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py index d64713e5701..d361a3915f5 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: ExtractLabelPostRequestBody, request_configuration: Op Returns: Optional[InformationProtectionContentLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: ExtractLabelPostRequestBody, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> ExtractLabelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExtractLabelRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExtractLabelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index e090cefd764..f25b752506b 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -36,7 +36,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Informat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: InformationProtectionLabel, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: InformationProtectionLabel, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> InformationProtectionLabelItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InformationProtectionLabelItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py index 71d276b024f..1951b84a246 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py @@ -43,7 +43,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str param information_protection_label_id: The unique identifier of informationProtectionLabel Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if information_protection_label_id is None: raise TypeError("information_protection_label_id cannot be null.") from .item.information_protection_label_item_request_builder import InformationProtectionLabelItemRequestBuilder @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LabelsRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def post(self,body: InformationProtectionLabel, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -103,7 +103,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -116,7 +116,7 @@ def to_post_request_information(self,body: InformationProtectionLabel, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -131,7 +131,7 @@ def with_url(self,raw_url: str) -> LabelsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LabelsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LabelsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py index 279d72eb06e..9a23cded67e 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py @@ -37,7 +37,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: InformationProtectionPolicy, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: InformationProtectionPolicy, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py index 247900aef93..eafb7b44a6f 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SignDigestPostRequestBody, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SigningResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: SignDigestPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> SignDigestRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SignDigestRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SignDigestRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py index 29c998d37aa..44077a3e9bc 100644 --- a/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: VerifySignaturePostRequestBody, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VerificationResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: VerifySignaturePostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> VerifySignatureRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VerifySignatureRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VerifySignatureRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py index 2b20eebbb8e..e36603dc329 100644 --- a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PagesReq async def post(self,body: BaseSitePage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[BaseSitePage]: """ - Create a new sitePage in the site pages list in a site. + Create a new newsLinkPage in the site pages list of a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] - Find more info here: https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/newslinkpage-create?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: BaseSitePage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new sitePage in the site pages list in a site. + Create a new newsLinkPage in the site pages list of a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/sites_request_builder.py b/msgraph_beta/generated/sites/sites_request_builder.py index 0d4c93e32f4..757b49cdd25 100644 --- a/msgraph_beta/generated/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/sites_request_builder.py @@ -52,10 +52,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py index fe5c08281cc..71261c6b4d6 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_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: """ - Cancel the approval item. The owner of the approval can trigger this endpoint. + Cancel the approval item. The owner of the approval is the only user who can trigger this endpoint. 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/approvalitem-cancel?view=graph-rest-beta @@ -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: """ - Cancel the approval item. The owner of the approval can trigger this endpoint. + Cancel the approval item. The owner of the approval is the only user who can trigger this endpoint. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py index 3e7f6d1c302..423a7780e03 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxR async def post(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequest]: """ - Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The initial status upon creation of the restore session is active. When all the mailboxes are added to the corresponding Exchange restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The initial status upon creation of the restore session is active. When all the mailboxes are added to the corresponding Exchange restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py index 1963bca1b02..36f5b4d9383 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveRes async def post(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequest]: """ - Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The initial status upon creation of the restore session is active. When all the drives are added to the corresponding OneDrive restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The initial status upon creation of the restore session is active. When all the drives are added to the corresponding OneDrive restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py index ac82990daef..eabbc6e10d3 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRest async def post(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequest]: """ - Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The initial status upon creation of the restore session is active. When all the sites are added to the corresponding SharePoint restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The following steps describe how to create and manage a sharePointRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The initial status upon creation of the restore session is active. When all the sites are added to the corresponding SharePoint restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The following steps describe how to create and manage a sharePointRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index 4160a4c76b2..358575ecf77 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -55,11 +55,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + Update the properties of a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + Update the properties of a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py index 868b0349ffc..b644cf835f2 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkResizePostRequestBody, request_configuration: Opti Returns: Optional[BulkResizePostResponse] Find more info here: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-beta """ - warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize", DeprecationWarning) + warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkResizePostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize", DeprecationWarning) + warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkResizeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkResizeRequestBuilder """ - warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize", DeprecationWarning) + warn("The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkResizeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index b033dac0b58..43bf711e3ed 100644 --- a/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: DecryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferDecryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: DecryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> DecryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index fa4f4f67e8e..af26e5607fb 100644 --- a/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: EncryptBufferPostRequestBody, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BufferEncryptionResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: EncryptBufferPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> EncryptBufferRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EncryptBufferRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EncryptBufferRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py index 0b4a55b31e7..e18b3b7916c 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index 7a0f9e16f72..ee6d9498a50 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateApplicationPostRequestBody, request_configurat Returns: Optional[EvaluateApplicationPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateApplicationPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateApplicationRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 74fddfc63d6..74b909c73a2 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateClassificationResultsPostRequestBody, request_ Returns: Optional[EvaluateClassificationResultsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateClassificationResultsPostRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateClassificationResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateClassificationResultsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateClassificationResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index 75b4c026146..9946ee6d573 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: EvaluateRemovalPostRequestBody, request_configuration: Returns: Optional[EvaluateRemovalPostResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: EvaluateRemovalPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> EvaluateRemovalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EvaluateRemovalRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EvaluateRemovalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py index 3fc67b916cf..b098947dd24 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: ExtractLabelPostRequestBody, request_configuration: Op Returns: Optional[InformationProtectionContentLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: ExtractLabelPostRequestBody, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> ExtractLabelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExtractLabelRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExtractLabelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index 4a452dcd8d1..4316f0ebb61 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -36,7 +36,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Informat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: InformationProtectionLabel, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: InformationProtectionLabel, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> InformationProtectionLabelItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InformationProtectionLabelItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py index 31bc99de212..d890ddb593b 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py @@ -43,7 +43,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str param information_protection_label_id: The unique identifier of informationProtectionLabel Returns: InformationProtectionLabelItemRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if information_protection_label_id is None: raise TypeError("information_protection_label_id cannot be null.") from .item.information_protection_label_item_request_builder import InformationProtectionLabelItemRequestBuilder @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LabelsRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def post(self,body: InformationProtectionLabel, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -103,7 +103,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -116,7 +116,7 @@ def to_post_request_information(self,body: InformationProtectionLabel, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -131,7 +131,7 @@ def with_url(self,raw_url: str) -> LabelsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LabelsRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LabelsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py index de5a8091595..ecb7fd90b4f 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py @@ -37,7 +37,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("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: InformationProtectionPolicy, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicy] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-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") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: InformationProtectionPolicy, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py index 58cc924ffe1..dcdcaa3a3d4 100644 --- a/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SignDigestPostRequestBody, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SigningResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: SignDigestPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> SignDigestRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SignDigestRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SignDigestRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py index 470c502e3db..b3ed376ea79 100644 --- a/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: VerifySignaturePostRequestBody, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VerificationResult] """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,7 +62,7 @@ def to_post_request_information(self,body: VerifySignaturePostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -77,7 +77,7 @@ def with_url(self,raw_url: str) -> VerifySignatureRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VerifySignatureRequestBuilder """ - warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels", DeprecationWarning) + warn("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VerifySignatureRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/count/count_request_builder.py index d58b6acf01b..bc48b59a819 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/count/count_request_builder.py @@ -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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", 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") @@ -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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/item/mail_folder_operation_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/item/mail_folder_operation_item_request_builder.py index 2d27c9edbd2..f26dc65d9d0 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/item/mail_folder_operation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/item/mail_folder_operation_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailFold param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolderOperation] """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> MailFolderOperationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailFolderOperationItemRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailFolderOperationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/operations_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/operations_request_builder.py index 763d8e40a94..82974f5a3f5 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/operations/operations_request_builder.py @@ -38,7 +38,7 @@ def by_mail_folder_operation_id(self,mail_folder_operation_id: str) -> MailFolde param mail_folder_operation_id: The unique identifier of mailFolderOperation Returns: MailFolderOperationItemRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if mail_folder_operation_id is None: raise TypeError("mail_folder_operation_id cannot be null.") from .item.mail_folder_operation_item_request_builder import MailFolderOperationItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Operatio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolderOperationCollectionResponse] """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> OperationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OperationsRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OperationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py index e33b0c00ba6..cd7a2667e8f 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py @@ -37,7 +37,7 @@ async def post(self,body: UpdateAllMessagesReadStatePostRequestBody, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 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( @@ -59,7 +59,7 @@ def to_post_request_information(self,body: UpdateAllMessagesReadStatePostRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 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) @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> UpdateAllMessagesReadStateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UpdateAllMessagesReadStateRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UpdateAllMessagesReadStateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/operations/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/operations/count/count_request_builder.py index ec1a7626b12..f2ef864d79f 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/operations/count/count_request_builder.py @@ -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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", 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") @@ -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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/operations/item/mail_folder_operation_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/operations/item/mail_folder_operation_item_request_builder.py index c64cf9978c5..8af4c1b5269 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/operations/item/mail_folder_operation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/operations/item/mail_folder_operation_item_request_builder.py @@ -36,7 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailFold param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolderOperation] """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,7 +57,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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", 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") @@ -69,7 +69,7 @@ def with_url(self,raw_url: str) -> MailFolderOperationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailFolderOperationItemRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailFolderOperationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/operations/operations_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/operations/operations_request_builder.py index 9cb807f5b41..72298c28eed 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/operations/operations_request_builder.py @@ -38,7 +38,7 @@ def by_mail_folder_operation_id(self,mail_folder_operation_id: str) -> MailFolde param mail_folder_operation_id: The unique identifier of mailFolderOperation Returns: MailFolderOperationItemRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if mail_folder_operation_id is None: raise TypeError("mail_folder_operation_id cannot be null.") from .item.mail_folder_operation_item_request_builder import MailFolderOperationItemRequestBuilder @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Operatio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolderOperationCollectionResponse] """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,7 +74,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(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", 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") @@ -86,7 +86,7 @@ def with_url(self,raw_url: str) -> OperationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OperationsRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OperationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py index c121636b130..d0b7e6bdc0c 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/update_all_messages_read_state/update_all_messages_read_state_request_builder.py @@ -37,7 +37,7 @@ async def post(self,body: UpdateAllMessagesReadStatePostRequestBody, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 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( @@ -59,7 +59,7 @@ def to_post_request_information(self,body: UpdateAllMessagesReadStatePostRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 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) @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> UpdateAllMessagesReadStateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UpdateAllMessagesReadStateRequestBuilder """ - warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI", DeprecationWarning) + warn(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UpdateAllMessagesReadStateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py index 149dc474587..d408a3ecc55 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkReprovisionCloudPcPostRequestBody, request_configu Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-beta """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkReprovisionCloudPcPostRequestBody param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkReprovisionCloudPcRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkReprovisionCloudPcRequestBuilder """ - warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc", DeprecationWarning) + warn("The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkReprovisionCloudPcRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py index 69bdd7873e0..722ec91a439 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkRestoreCloudPcPostRequestBody, request_configurati Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-beta """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkRestoreCloudPcPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkRestoreCloudPcRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkRestoreCloudPcRequestBuilder """ - warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc", DeprecationWarning) + warn("The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkRestoreCloudPcRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py index 2a99da52a3b..f550ace09b0 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: BulkSetCloudPcReviewStatusPostRequestBody, request_con Returns: Optional[CloudPcBulkRemoteActionResult] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-beta """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: BulkSetCloudPcReviewStatusPostRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> BulkSetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkSetCloudPcReviewStatusRequestBuilder """ - warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus", DeprecationWarning) + warn("The BulkSetCloudPcReviewStatus action is deprecated and will stop supporting on September 30, 2024. Please use bulk action entity api. as of 2024-05/BulkSetCloudPcReviewStatus on 2024-05-15 and will be removed 2024-09-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkSetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py index 1f635e86c55..3530c9382d9 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetCloud Returns: Optional[GetCloudPcRemoteActionResultsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta """ - warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCloudPcRemoteActionResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcRemoteActionResultsRequestBuilder """ - warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults", DeprecationWarning) + warn("Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults on 2024-05-08 and will be removed 2024-09-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcRemoteActionResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py index 445040894cc..b29723be5ab 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[CloudPcReviewStatus] Find more info here: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcreviewstatus?view=graph-rest-beta """ - warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> GetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetCloudPcReviewStatusRequestBuilder """ - warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus", DeprecationWarning) + warn("The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py index df743f3b3ba..5b8f9f71b2f 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py @@ -38,7 +38,7 @@ async def post(self,body: SetCloudPcReviewStatusPostRequestBody, request_configu Returns: None Find more info here: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-beta """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -60,7 +60,7 @@ def to_post_request_information(self,body: SetCloudPcReviewStatusPostRequestBody param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,7 +75,7 @@ def with_url(self,raw_url: str) -> SetCloudPcReviewStatusRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SetCloudPcReviewStatusRequestBuilder """ - warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus", DeprecationWarning) + warn("The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus on 2024-01-03 and will be removed 2023-04-30", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SetCloudPcReviewStatusRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index 7917c7e7e6a..abf05deefdb 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -49,7 +49,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 22feb8c1262..8bbc46dcf39 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py b/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py index 3bd8f01e040..10193ed7ebd 100644 --- a/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py @@ -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("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", 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") @@ -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("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py b/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py index 33efc013283..b37e63697ca 100644 --- a/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py +++ b/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py @@ -36,7 +36,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("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Notifica param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notification] """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: Notification, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notification] """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: Notification, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> NotificationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NotificationItemRequestBuilder """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NotificationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py b/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py index ef8c2f64500..5b156c4f824 100644 --- a/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py +++ b/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py @@ -39,7 +39,7 @@ def by_notification_id(self,notification_id: str) -> NotificationItemRequestBuil param notification_id: The unique identifier of notification Returns: NotificationItemRequestBuilder """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if notification_id is None: raise TypeError("notification_id cannot be null.") from .item.notification_item_request_builder import NotificationItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Notifica param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NotificationCollectionResponse] """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: Notification, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notification] """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: Notification, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> NotificationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: NotificationsRequestBuilder """ - warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation", DeprecationWarning) + warn("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return NotificationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py index 6833435988a..98e53631e5f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index a82c1a8a70e..73d0c8a8859 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -39,7 +39,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion Returns: MeetingRegistrationQuestionItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if meeting_registration_question_id is None: raise TypeError("meeting_registration_question_id cannot be null.") from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: MeetingRegistrationQuestion, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: MeetingRegistrationQuestion, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index 3e9016451b7..bdcfc76e33b 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -36,7 +36,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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def patch(self,body: MeetingRegistrationQuestion, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,7 +125,7 @@ def to_patch_request_information(self,body: MeetingRegistrationQuestion, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,7 +140,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrationQuestionItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrationQuestionItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py index adc53f91e1a..5a4ab77af60 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index b97aa34a12c..3396c42daea 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/meetingregistrant-delete?view=graph-rest-beta """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: MeetingRegistrantBase, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: MeetingRegistrantBase, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrantBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrantBaseItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py index 84c4ec9c30c..d76cd00d3fc 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -39,7 +39,7 @@ def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> Meeti param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase Returns: MeetingRegistrantBaseItemRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if meeting_registrant_base_id is None: raise TypeError("meeting_registrant_base_id cannot be null.") from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBaseCollectionResponse] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: MeetingRegistrantBase, request_configuration: Optional Returns: Optional[MeetingRegistrantBase] Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-post-registrants?view=graph-rest-beta """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: MeetingRegistrantBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> RegistrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrantsRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py index 8f7a6461f81..8839fc544ce 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: MeetingRegistration, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -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("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: MeetingRegistration, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> RegistrationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationRequestBuilder """ - warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py index 4c7f5788baf..2212833d736 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py index b7e06c30e76..53af5c2eb93 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OutlookT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: OutlookTaskFolder, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: OutlookTaskFolder, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> OutlookTaskFolderItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OutlookTaskFolderItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OutlookTaskFolderItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/permanent_delete/permanent_delete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/permanent_delete/permanent_delete_request_builder.py index b10e9b1c8fd..764c54e47b6 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/permanent_delete/permanent_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/permanent_delete/permanent_delete_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/outlooktaskfolder-permanentdelete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> PermanentDeleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermanentDeleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermanentDeleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py index 636fbcd4eef..dc2528e761f 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py index eb6174c0838..8d3c0208066 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py @@ -40,7 +40,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: param attachment_id: The unique identifier of attachment Returns: AttachmentItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if attachment_id is None: raise TypeError("attachment_id cannot be null.") from .item.attachment_item_request_builder import AttachmentItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: Attachment, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: Attachment, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> AttachmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttachmentsRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttachmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py index 7fb81ad635b..3a6a2b2d405 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index 599d9c12235..d954432ae95 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: CreateUploadSessionPostRequestBody, request_configurat Returns: Optional[UploadSession] Find more info here: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: CreateUploadSessionPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> CreateUploadSessionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreateUploadSessionRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreateUploadSessionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py index 1bb72a4a83b..f0dd2c6cf99 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py @@ -36,7 +36,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -100,7 +100,7 @@ def with_url(self,raw_url: str) -> AttachmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttachmentItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttachmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py index 4dea9b2a0ea..a35fc7be828 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CompletePostResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CompleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CompleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CompleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py index 8f3b93a8446..9907d5ec42a 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py @@ -39,7 +39,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OutlookT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: OutlookTask, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: OutlookTask, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> OutlookTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OutlookTaskItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OutlookTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py index d6a19cacaa1..2351d6aa550 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/outlooktask-permanentdelete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> PermanentDeleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermanentDeleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermanentDeleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py index 281ad416376..9d6aca1ede3 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py @@ -39,7 +39,7 @@ def by_outlook_task_id(self,outlook_task_id: str) -> OutlookTaskItemRequestBuild param outlook_task_id: The unique identifier of outlookTask Returns: OutlookTaskItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if outlook_task_id is None: raise TypeError("outlook_task_id cannot be null.") from .item.outlook_task_item_request_builder import OutlookTaskItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: OutlookTask, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: OutlookTask, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py index fe628a15406..ee6bcf0f8e9 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py @@ -39,7 +39,7 @@ def by_outlook_task_folder_id(self,outlook_task_folder_id: str) -> OutlookTaskFo param outlook_task_folder_id: The unique identifier of outlookTaskFolder Returns: OutlookTaskFolderItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if outlook_task_folder_id is None: raise TypeError("outlook_task_folder_id cannot be null.") from .item.outlook_task_folder_item_request_builder import OutlookTaskFolderItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskFold param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolderCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: OutlookTaskFolder, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: OutlookTaskFolder, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TaskFoldersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskFoldersRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskFoldersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py index a837a13da69..785e628480d 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py index 36369dc4f6c..5ed322d9232 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py @@ -37,7 +37,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OutlookT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroup] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def patch(self,body: OutlookTaskGroup, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroup] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,7 +126,7 @@ def to_patch_request_information(self,body: OutlookTaskGroup, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,7 +141,7 @@ def with_url(self,raw_url: str) -> OutlookTaskGroupItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OutlookTaskGroupItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OutlookTaskGroupItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py index fab9e4e1282..01abb456484 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py index 2b558a0cfd8..bd7f974b9a3 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OutlookT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: OutlookTaskFolder, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: OutlookTaskFolder, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> OutlookTaskFolderItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OutlookTaskFolderItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OutlookTaskFolderItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/permanent_delete/permanent_delete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/permanent_delete/permanent_delete_request_builder.py index 2409158bea1..4c81cb376c5 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/permanent_delete/permanent_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/permanent_delete/permanent_delete_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/outlooktaskfolder-permanentdelete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> PermanentDeleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermanentDeleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermanentDeleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py index c5d1a451bb4..8f06ae68300 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py index 6af79d75afa..2985dfb8b2a 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py @@ -40,7 +40,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: param attachment_id: The unique identifier of attachment Returns: AttachmentItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if attachment_id is None: raise TypeError("attachment_id cannot be null.") from .item.attachment_item_request_builder import AttachmentItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: Attachment, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: Attachment, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> AttachmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttachmentsRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttachmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py index 723e1b260cc..75c626d5e5d 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index 4012c8d6056..0ed67273131 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: CreateUploadSessionPostRequestBody, request_configurat Returns: Optional[UploadSession] Find more info here: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: CreateUploadSessionPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> CreateUploadSessionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreateUploadSessionRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreateUploadSessionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py index 34f37b1d78b..b1a9114e739 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py @@ -36,7 +36,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -100,7 +100,7 @@ def with_url(self,raw_url: str) -> AttachmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttachmentItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttachmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py index 610ce57d5fb..3f66f9c2778 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CompletePostResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CompleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CompleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CompleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py index e5c927e02f6..7f8eadd36cf 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py @@ -39,7 +39,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OutlookT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: OutlookTask, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: OutlookTask, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> OutlookTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OutlookTaskItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OutlookTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py index fe6cdefeb3c..3efcccc4e2c 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/permanent_delete/permanent_delete_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/outlooktask-permanentdelete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> PermanentDeleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermanentDeleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermanentDeleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py index 08722471e23..d4696bf23e0 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py @@ -39,7 +39,7 @@ def by_outlook_task_id(self,outlook_task_id: str) -> OutlookTaskItemRequestBuild param outlook_task_id: The unique identifier of outlookTask Returns: OutlookTaskItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if outlook_task_id is None: raise TypeError("outlook_task_id cannot be null.") from .item.outlook_task_item_request_builder import OutlookTaskItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: OutlookTask, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: OutlookTask, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py index dffa3ec2c31..12eccaa55d4 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py @@ -39,7 +39,7 @@ def by_outlook_task_folder_id(self,outlook_task_folder_id: str) -> OutlookTaskFo param outlook_task_folder_id: The unique identifier of outlookTaskFolder Returns: OutlookTaskFolderItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if outlook_task_folder_id is None: raise TypeError("outlook_task_folder_id cannot be null.") from .item.outlook_task_folder_item_request_builder import OutlookTaskFolderItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskFold param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolderCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: OutlookTaskFolder, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: OutlookTaskFolder, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TaskFoldersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskFoldersRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskFoldersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py index 123843029c7..4e9af252c0a 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py @@ -39,7 +39,7 @@ def by_outlook_task_group_id(self,outlook_task_group_id: str) -> OutlookTaskGrou param outlook_task_group_id: The unique identifier of outlookTaskGroup Returns: OutlookTaskGroupItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if outlook_task_group_id is None: raise TypeError("outlook_task_group_id cannot be null.") from .item.outlook_task_group_item_request_builder import OutlookTaskGroupItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskGrou param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroupCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: OutlookTaskGroup, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroup] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: OutlookTaskGroup, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TaskGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskGroupsRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py index b13f9c2e557..2d3af7c9e76 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py index 701dfd99e00..a000f4a981d 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py @@ -40,7 +40,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: param attachment_id: The unique identifier of attachment Returns: AttachmentItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if attachment_id is None: raise TypeError("attachment_id cannot be null.") from .item.attachment_item_request_builder import AttachmentItemRequestBuilder @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: Attachment, request_configuration: Optional[RequestCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: Attachment, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> AttachmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttachmentsRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttachmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py index eab6404b5f4..161d870822b 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index 01f333c6a68..56e1086ee61 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -39,7 +39,7 @@ async def post(self,body: CreateUploadSessionPostRequestBody, request_configurat Returns: Optional[UploadSession] Find more info here: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -63,7 +63,7 @@ def to_post_request_information(self,body: CreateUploadSessionPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -78,7 +78,7 @@ def with_url(self,raw_url: str) -> CreateUploadSessionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreateUploadSessionRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreateUploadSessionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py index c9e3bbe21e1..dfc9afce4d5 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py @@ -36,7 +36,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -100,7 +100,7 @@ def with_url(self,raw_url: str) -> AttachmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttachmentItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttachmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py index ee8ff8a54e3..101e1836904 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CompletePostResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CompleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CompleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CompleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py index f07cf742302..ce2f5d44a32 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py @@ -39,7 +39,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,7 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OutlookT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,7 +80,7 @@ async def patch(self,body: OutlookTask, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -128,7 +128,7 @@ def to_patch_request_information(self,body: OutlookTask, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,7 +143,7 @@ def with_url(self,raw_url: str) -> OutlookTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OutlookTaskItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OutlookTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/permanent_delete/permanent_delete_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/permanent_delete/permanent_delete_request_builder.py index fe6a08bfdfe..bedb3420b5f 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/permanent_delete/permanent_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/permanent_delete/permanent_delete_request_builder.py @@ -36,7 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/outlooktask-permanentdelete?view=graph-rest-beta """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -55,7 +55,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("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", 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") @@ -67,7 +67,7 @@ def with_url(self,raw_url: str) -> PermanentDeleteRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermanentDeleteRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermanentDeleteRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py index fb19fdbdc76..182a91e17a6 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py @@ -39,7 +39,7 @@ def by_outlook_task_id(self,outlook_task_id: str) -> OutlookTaskItemRequestBuild param outlook_task_id: The unique identifier of outlookTask Returns: OutlookTaskItemRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if outlook_task_id is None: raise TypeError("outlook_task_id cannot be null.") from .item.outlook_task_item_request_builder import OutlookTaskItemRequestBuilder @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskCollectionResponse] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,7 +76,7 @@ async def post(self,body: OutlookTask, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,7 +112,7 @@ def to_post_request_information(self,body: OutlookTask, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -127,7 +127,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ - warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks", DeprecationWarning) + warn("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/presence/presence_request_builder.py b/msgraph_beta/generated/users/item/presence/presence_request_builder.py index f02e782972f..5af371049ff 100644 --- a/msgraph_beta/generated/users/item/presence/presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/presence_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -199,7 +199,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/exchange/exchange_request_builder.py b/msgraph_beta/generated/users/item/settings/exchange/exchange_request_builder.py index 1c8d83f0f9e..23d06454fde 100644 --- a/msgraph_beta/generated/users/item/settings/exchange/exchange_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/exchange/exchange_request_builder.py @@ -37,7 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange Returns: Optional[ExchangeSettings] Find more info here: https://learn.microsoft.com/graph/api/usersettings-list-exchange?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 ) @@ -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") @@ -70,7 +70,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)